class

CRT::Ncurses::AlphaList

Inherits CRT::Ncurses::ListSupport < CRT::Ncurses::CRTObjs < CRT::Ncurses::Formattable < CRT::Ncurses::CommonControls < CRT::Ncurses::WindowHooks < CRT::Ncurses::WindowInput < CRT::Ncurses::HasTitle < CRT::Ncurses::HasScreen < CRT::Ncurses::ExitConditions < CRT::Ncurses::Bindings < CRT::Ncurses::Focusable < CRT::Ncurses::Borders < CRT::Ncurses::Movement < CRT::Ncurses::Converters < CRT::Ncurses::Justifications < CRT::Ncurses::Alignments < Reference < Object

Constructors

new(screen : CRT::Ncurses::Screen, *, x : Int32, y : Int32, height : Int32, width : Int32, list : Array(String), title : String = "", label : String = "", filler_char : Char = '.', highlight : Int32 = LibNCurses::Attribute::Reverse.value.to_i32, box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : String | Int32
Source
background=(attrib : Int32)
Source
contents=(list : Array(String))
Source
current_item
Source
current_item=(item : Int32)
Source
destroy
Source
draw(box : Bool = @box)
Source
entry_field
Source
erase
Source
filler_char=(filler : Char)
Source
focus
Source
highlight=(highlight : Int32)
Source
inject(input : Int32) : String | Int32
Source
list
Source
object_type
Source
scroll_field
Source
unfocus
Source