TextUi::List
Inherits TextUi::Widget / Reference / Object
Constructors
new(parent, x, y, items : Array(String) = [] of String)
Sourcenew(parent, items : Array(String) = [] of String)
SourceInstance methods
cursor
Sourcecursor=(cursor : Int32) : Nil
Sourcefocused_format
Sourcefocused_format=(focused_format : Format)
Sourceitems
Sourceitems=(items : Array(String))
Sourceon_select=(on_select : Proc(String, Nil) | Nil)
Sourcerender
Sourceselect(item : String) : Nil
Sourceselect(item_idx : Int32) : Nil
Sourceselected_index
Sourceselected_item
Source