Ori::Table
Inherits Ori::Node < Reference < Object
Constructors
new(headers : Array(String) = [] of String, rows : Array(Array(String)) = [] of Array(String), selected_row : Int32 = 0, on_change : Proc(Int32, Nil) | Nil = nil, on_select : Proc(Int32, Nil) | Nil = nil, header_fg : String | Nil = nil, selected_fg : String | Nil = nil, selected_bg : String | Nil = nil, style : Ori::S = Ori::S.none)
SourceInstance methods
content_height
Sourcecontent_width
Sourcefocusable?
Sourceheaders
Sourceheaders=(headers : Array(String)) : Nil
Sourcemove_bottom
Sourcemove_down
Sourcemove_top
Sourcemove_up
Sourcerender(io : IO) : Nil
Sourcerow_count
Sourcerows
Sourcerows=(rows : Array(Array(String))) : Nil
Sourceselected_row
Sourceselected_row=(row : Int32) : Nil
Sourceselected_row_data
Source