def from_top_left(from_window=nil, f=nil)
      if from_window.is_a?(Hash)
        f = from_window
        from_window = nil
      end
      f ||= {}
      from_window ||= target.screen || NSScreen.mainScreen
      _calculate_frame(f, from: from_window, relative_to: { x: :min, y: :max })
    end
def from_top_left(from_window=nil, f=nil)
      if from_window.is_a?(Hash)
        f = from_window
        from_window = nil
      end
      f ||= {}
      from_window ||= target.screen || NSScreen.mainScreen
      _calculate_frame(f, from: from_window, relative_to: { x: :min, y: :max })
    end
The first arg can be a window or a frame
 @example
   frame from_top_left(width: 80, height: 22)
   frame from_top_left(another_view, width: 80, height: 22)