Class: Drx::TkGUI::VBox
Overview
Arranges widgets one below the other.
Direct Known Subclasses
Instance Method Summary collapse
- #default_layout ⇒ Object
-
#initialize(parent, widgets) ⇒ VBox
constructor
A new instance of VBox.
- #raise ⇒ Object
Constructor Details
#initialize(parent, widgets) ⇒ VBox
Returns a new instance of VBox.
577 578 579 580 581 582 583 584 |
# File 'lib/drx/tk/app.rb', line 577 def initialize(parent, ) super(parent) .each { |w, layout| layout = default_layout.merge(layout || {}) w.raise w.pack(layout) } end |