Class: Shoes::Stack
- Inherits:
-
Qt::VBoxLayout
- Object
- Qt::VBoxLayout
- Shoes::Stack
- Extended by:
- Forwardable
- Defined in:
- lib/blue_shoes/stack.rb
Instance Method Summary collapse
- #draw(painter) ⇒ Object
-
#initialize ⇒ Stack
constructor
:remove_widget, :remove_layout, :count.
Constructor Details
#initialize ⇒ Stack
:remove_widget, :remove_layout, :count
8 9 10 11 12 13 |
# File 'lib/blue_shoes/stack.rb', line 8 def initialize super @layout = Qt::VBoxLayout.new add_layout(@layout, 0) add_stretch(1) end |
Instance Method Details
#draw(painter) ⇒ Object
15 16 |
# File 'lib/blue_shoes/stack.rb', line 15 def draw painter end |