Sha256: 30b2482dd62d711f37f3ae25fbc420e6283ba9df5d3fdf916fedaff4ec908eae

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 Bytes

Contents

class AppDelegate
  def applicationDidFinishLaunching(notification)
    buildMenu
    buildWindow
  end

  def buildWindow
    @mainWindow = NSWindow.alloc.initWithContentRect([[240, 180], [480, 360]],
      styleMask: NSTitledWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask,
      backing: NSBackingStoreBuffered,
      defer: false)
    @mainWindow.title = NSBundle.mainBundle.infoDictionary['CFBundleName']
    @mainWindow.orderFrontRegardless
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
motion-sparkle-sandbox-2.2 sample-app/app/app_delegate.rb
motion-sparkle-sandbox-2.1.1 sample-app/app/app_delegate.rb
motion-sparkle-sandbox-2.1.0 sample-app/app/app_delegate.rb
motion-sparkle-sandbox-2.0.1 sample-app/app/app_delegate.rb