Class: Shoes::Stack

Inherits:
Qt::VBoxLayout
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/blue_shoes/stack.rb

Instance Method Summary collapse

Constructor Details

#initializeStack

: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