Sha256: d23e3bf9dd1238a0a3b087a77bb64704e2dd7b13e3fe7c22e73dacf5aa00e64f
Contents?: true
Size: 577 Bytes
Versions: 28
Compression:
Stored size: 577 Bytes
Contents
class NSWindowController include Teacup::Layout include Teacup::Controller def windowDidLoad teacupDidLoad end def top_level_view window.contentView end end class TeacupWindowController < NSWindowController def self.new alloc.initWithWindowNibName(self.class.name) end def loadWindow self.window = NSWindow.alloc.initWithContentRect([[240, 180], [480, 360]], styleMask: NSTitledWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask, backing: NSBackingStoreBuffered, defer: false) end end
Version data entries
28 entries across 28 versions & 1 rubygems