class TUI::Layout::Horizontal
- TUI::Layout::Horizontal
- TUI::Layout
- Reference
- Object
Defined in:
tui/layout/horizontal.crInstance Method Summary
-
#<<(win : Widget)
Add a widget with default values at least
- #delete(win : Widget)
-
#each_widget(&)
Used to build draw tree
-
#set(event, rect)
Very basic, lays out each Widget with width/no.
Instance methods inherited from class TUI::Layout
<<(win : Widget)
<<,
delete(win : Widget)
delete,
each_widget(&block : Widget -> Nil)
each_widget,
each_widget_mouse(&block : Widget -> Nil)
each_widget_mouse,
set(event, rect : Rect)
set,
widget : Widget
widget,
widget=(widget : TUI::Widget | Nil)
widget=,
widget? : Widget | Nil
widget?
Constructor methods inherited from class TUI::Layout
new(widget : TUI::Widget | Nil)
new
Instance Method Detail
Description copied from class TUI::Layout
Add a widget with default values at least
def set(event, rect)
#
Very basic, lays out each Widget with width/no. of widget as the width and full height