class TUI::Layout::Menu

Defined in:

tui/layout/menu.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 <<(item : Widget::MenuItem) #

[View source]
def <<(item : Widget) #
Description copied from class TUI::Layout

Add a widget with default values at least


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

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

Used to build draw tree


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

[View source]