Class: Shoes::Swt::ShoesLayout
- Inherits:
-
Swt::Widgets::Layout
- Object
- Swt::Widgets::Layout
- Shoes::Swt::ShoesLayout
- Defined in:
- shoes-swt/lib/shoes/swt/shoes_layout.rb
Instance Attribute Summary collapse
-
#gui_app ⇒ Object
Returns the value of attribute gui_app.
Instance Method Summary collapse
Instance Attribute Details
#gui_app ⇒ Object
Returns the value of attribute gui_app.
6 7 8 |
# File 'shoes-swt/lib/shoes/swt/shoes_layout.rb', line 6 def gui_app @gui_app end |
Instance Method Details
#layout(*_dontcare) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'shoes-swt/lib/shoes/swt/shoes_layout.rb', line 8 def layout(*_dontcare) height, scroll_height, is_scrolling = gather_height_info(@gui_app.dsl) set_heights(@gui_app.dsl, @gui_app.real, height, scroll_height) if is_scrolling (, height, scroll_height) else (, @gui_app.real) end end |