class

CRT::Ncurses::Entry

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, title : String = "", label : String = "", field_attr : Int32 = 0, filler : Char = ' ', disp_type : CRT::Ncurses::DisplayType = CRT::Ncurses::DisplayType::MIXED, min : Int32 = 0, max : Int32 = 512, 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
callback=(callback : Proc(CRT::Ncurses::Entry, Int32, Nil))
Source
clean
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_attr
Source
field_width
Source
filler
Source
filler=(filler : Char)
Source
filler_char=(filler_char : Char)
Source
focus
Source
hidden
Source
hidden=(hidden : Char)
Source
hidden_char=(hidden_character : Char)
Source
info
Source
info=(info : String)
Source
inject(input : Int32) : String | Int32
Source
left_char
Source
left_char=(left_char : Int32)
Source
max=(max : Int32)
Source
min=(min : Int32)
Source
move_to_end
Source
object_type
Source
parent
Source
screen_col
Source
screen_col=(screen_col : Int32)
Source
unfocus
Source
value
Source
value=(new_value : String | Nil)
Source