abstract class TUI::Layout
- TUI::Layout
- Reference
- Object
Direct Known Subclasses
- TUI::Layout::Horizontal
- TUI::Layout::MainWindow
- TUI::Layout::Menu
- TUI::Layout::MessageBox
- TUI::Layout::Modal
- TUI::Layout::Stacked
- TUI::Layout::Vertical
Defined in:
tui/layout.crConstructors
Instance Method Summary
-
#<<(win : Widget)
Add a widget with default values at least
- #delete(win : Widget)
-
#each_widget(&block : Widget -> Nil)
Used to build draw tree
-
#each_widget_mouse(&block : Widget -> Nil)
Yield each widget that is mouse accessible
-
#set(event, rect : Rect)
Define to set the actual layout
- #widget : Widget
- #widget=(widget : TUI::Widget | Nil)
- #widget? : Widget | Nil
Constructor Detail
Instance Method Detail
Yield each widget that is mouse accessible
Overriden to stop mouse presses for modals