class TUI::Layout::Stacked

Defined in:

tui/layout/stacked.cr

Instance Method Summary

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

def <<(win : Widget) #
Description copied from class TUI::Layout

Add a widget with default values at least


[View source]
def delete(win : Widget) #

[View source]
def each_widget(&) #
Description copied from class TUI::Layout

Used to build draw tree


[View source]
def index : Int32 #

[View source]
def index=(i : Int32) #

[View source]
def set(event, rect) #

Sets selected widget to full screen


[View source]
def top : Widget #

[View source]
def top? : Widget | Nil #

[View source]