Sha256: 6fca147b55c3a47c69c917c74305a32f4d31236cc2353e7a78e72986607baa24

Contents?: true

Size: 289 Bytes

Versions: 20

Compression:

Stored size: 289 Bytes

Contents

class MainWindowController < TeacupWindowController

  layout do |view|
    @table_view_controller = MainTableController.new

    subview(@table_view_controller.view,
      frame: [[10, 10], [460, 340]],
      autoresizingMask: NSViewWidthSizable | NSViewHeightSizable,
      )
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
teacup-2.1.13 samples/osx/simple/app/window.rb
teacup-2.1.12 samples/osx/simple/app/window.rb
teacup-2.1.11 samples/osx/simple/app/window.rb
teacup-2.1.10 samples/osx/simple/app/window.rb
teacup-2.1.9 samples/osx/simple/app/window.rb
teacup-2.1.8 samples/osx/simple/app/window.rb
teacup-2.1.7 samples/osx/simple/app/window.rb
teacup-2.1.6 samples/osx/simple/app/window.rb
teacup-2.1.5 samples/osx/simple/app/window.rb
teacup-2.1.4 samples/osx/simple/app/window.rb
teacup-2.1.3 samples/osx/simple/app/window.rb
teacup-2.1.2 samples/osx/simple/app/window.rb
teacup-2.1.1 samples/osx/simple/app/window.rb
teacup-2.1.0 samples/osx/simple/app/window.rb
teacup-2.0.6 samples/osx/simple/app/window.rb
teacup-2.0.5 samples/osx/simple/app/window.rb
teacup-2.0.4 samples/osx/simple/app/window.rb
teacup-2.0.3 samples/osx/simple/app/window.rb
teacup-2.0.2 samples/teacup-osx/app/window.rb
teacup-2.0.0 samples/teacup-osx/app/window.rb