Ori::List
Inherits Ori::Node < Reference < Object
Constructors
new(items : Array(Item) = [] of Item, selected : Int32 = 0, checked : Array(Bool) = [] of Bool, on_select : Proc(Int32, Nil) | Nil = nil, on_change : Proc(Int32, Nil) | Nil = nil, selected_fg : String | Nil = nil, selected_bg : String | Nil = nil, selected_prefix : String = "▌ ", normal_prefix : String = " ", truncate : Int32 = 0, checkable : Bool = false, style : Ori::S = Ori::S.none)
SourceInstance methods
checked
Sourcechecked=(idx : Int32) : Nil
Sourcechecked?(idx : Int32) : Bool
Sourcecontent_height
Sourcecontent_width
Sourcecursor
Sourcefocusable?
Sourceindex
Sourceitems
Sourceitems=(items : Array(Item)) : Nil
Sourcerender(io : IO) : Nil
Sourceselect(idx : Int32) : Nil
Sourceselected
Source