Class: NSWindow
- Inherits:
-
Object
- Object
- NSWindow
- Includes:
- PurplishFrame::CocoaView
- Defined in:
- lib/purplish-frame/ui/osx/ns_window.rb
Instance Method Summary collapse
Methods included from PurplishFrame::CocoaView
#bottom, #bottom=, #center, #center=, #height=, #top, #top=, #view_frame
Methods included from PurplishFrame::View
#center_x, #center_x=, #center_y, #center_y=, #height, #inset!, #left, #left=, #right, #right=, #size_height_to_fit, #size_height_to_fit_align_bottom, #size_height_to_fit_max, #size_height_to_fit_min, #size_width_to_fit, #size_width_to_fit_align_right, #size_width_to_fit_max, #size_width_to_fit_min, #width, #width=
Instance Method Details
#bounds ⇒ Object
4 5 6 |
# File 'lib/purplish-frame/ui/osx/ns_window.rb', line 4 def bounds NSMakeRect(0, 0, width, height) end |
#frame=(rect) ⇒ Object
8 9 10 |
# File 'lib/purplish-frame/ui/osx/ns_window.rb', line 8 def frame=(rect) setFrame(rect, display:true) end |