class

CRT::Ncurses::MultiEntry

Inherits 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, field_width : Int32, field_rows : Int32, logical_rows : Int32, title : String = "", label : String = "", field_attr : Int32 = 0, filler : Char = ' ', disp_type : CRT::Ncurses::DisplayType = CRT::Ncurses::DisplayType::MIXED, min : Int32 = 0, box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : String
Source
background=(attrib : Int32)
Source
clean
Source
current_col
Source
current_row
Source
cursor_pos
Source
destroy
Source
disp_type
Source
disp_type=(disp_type : CRT::Ncurses::DisplayType)
Source
draw(box : Bool = @box)
Source
draw_field
Source
erase
Source
field_width
Source
filler_char
Source
filler_char=(filler : Char)
Source
focus
Source
handle_key_left(moved : Bool, redraw : Bool) : Tuple(Bool, Bool, Bool)
Source
hidden_char
Source
hidden_char=(character : Char)
Source
info
Source
info=(info : String)
Source
inject(input : Int32) : String
Source
min=(min : Int32)
Source
newline_on_enter
Source
newline_on_enter=(newline_on_enter : Bool)
Source
object_type
Source
rows
Source
set_cur_pos(row : Int32, col : Int32) : Bool
Source
set_top_row(row : Int32) : Bool
Source
top_row
Source
unfocus
Source
value
Source
value=(new_value : String)
Source