class TeacupWindowController
Public Class Methods
new()
click to toggle source
# File lib/teacup-osx/core_extensions/ns_window_controller.rb, line 18 def self.new alloc.initWithWindowNibName(self.class.name) end
Public Instance Methods
loadWindow()
click to toggle source
# File lib/teacup-osx/core_extensions/ns_window_controller.rb, line 22 def loadWindow self.window = NSWindow.alloc.initWithContentRect([[240, 180], [480, 360]], styleMask: NSTitledWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask, backing: NSBackingStoreBuffered, defer: false) end