Module: Cosmos::LayoutWidget
- Included in:
- CanvasWidget, HorizontalWidget, HorizontalboxWidget, MatrixbycolumnsWidget, ScrollwindowWidget, TabbookWidget, TabitemWidget, VerticalWidget, VerticalboxWidget
- Defined in:
- lib/cosmos/tools/tlm_viewer/widgets/layout_widget.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#complete ⇒ Object
This gets called when the layout gets closed by the END keyword Subclasses can implement this to do things once all their child widgets have been created.
Class Method Details
.included(base) ⇒ Object
21 22 23 |
# File 'lib/cosmos/tools/tlm_viewer/widgets/layout_widget.rb', line 21 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#complete ⇒ Object
This gets called when the layout gets closed by the END keyword Subclasses can implement this to do things once all their child widgets have been created.
28 29 30 |
# File 'lib/cosmos/tools/tlm_viewer/widgets/layout_widget.rb', line 28 def complete # Normally do nothing end |