Class: NSWindowController

Inherits:
Object
  • Object
show all
Includes:
Teacup::Controller, Teacup::Layout
Defined in:
lib/teacup-osx/core_extensions/ns_window_controller.rb

Direct Known Subclasses

TeacupWindowController

Instance Method Summary collapse

Methods included from Teacup::Controller

included, #layoutDidLoad, #root, #stylesheet=, #teacupDidLoad

Methods included from Teacup::Layout

#auto, included, #layout, #stylesheet, #stylesheet=, #subview

Instance Method Details

#top_level_viewObject



9
10
11
# File 'lib/teacup-osx/core_extensions/ns_window_controller.rb', line 9

def top_level_view
  window.contentView
end

#windowDidLoadObject



5
6
7
# File 'lib/teacup-osx/core_extensions/ns_window_controller.rb', line 5

def windowDidLoad
  teacupDidLoad
end