Ori::Select
Inherits Ori::Node < Reference < Object
Constants
ARROW = "▾"
Constructors
new(options : Array(String) = [] of String, selected : Int32 = 0, highlighted : Int32 = -1, open : Bool = false, on_change : Proc(Int32, Nil) | Nil = nil, on_toggle : Proc(Bool, Nil) | Nil = nil, on_highlight : Proc(Int32, Nil) | Nil = nil, max_visible : Int32 = 8, highlight_fg : String | Nil = nil, highlight_bg : String | Nil = nil, style : Ori::S = Ori::S.none)
SourceInstance methods
blur
Sourcecontent_height
Sourcecontent_width
Sourcefocusable?
Sourcehighlighted
Sourceopen
Sourceoptions
Sourcerender(io : IO) : Nil
Sourceselected
Sourceselected=(idx : Int32) : Nil
Sourceselected_value
Source