Class: NSViewController
Instance Method Summary
collapse
included, #layoutDidLoad, #root, #stylesheet=, #teacupDidLoad
#auto, included, #layout, #stylesheet, #stylesheet=, #subview
Instance Method Details
#_teacup_loadview ⇒ Object
5
|
# File 'lib/teacup-osx/core_extensions/ns_view_controller.rb', line 5
alias _teacup_loadview loadView
|
#loadView ⇒ Object
6
7
8
9
10
11
12
13
14
15
|
# File 'lib/teacup-osx/core_extensions/ns_view_controller.rb', line 6
def loadView
if nibName and nibBundle
_teacup_loadview
else
self.view = NSView.new
self.view.autoresizingMask = NSViewWidthSizable|NSViewHeightSizable
end
teacupDidLoad
end
|
#top_level_view ⇒ Object
17
18
19
|
# File 'lib/teacup-osx/core_extensions/ns_view_controller.rb', line 17
def top_level_view
view
end
|