class

CRT::Ncurses::Template

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, plate : String, overlay : String, title : String = "", label : String = "", box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Class methods

is_plate_char?(c : Char) : Bool
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : String
Source
adjust_cursor(direction : Int32)
Source
background=(attrib : Int32)
Source
clean
Source
destroy
Source
draw(box : Bool = @box)
Source
draw_field
Source
erase
Source
field_width
Source
focus
Source
handle_input(input : Int32)
Source
info
Source
info=(info : String)
Source
info_pos
Source
inject(input : Int32) : String
Source
min=(min : Int32)
Source
object_type
Source
parent
Source
plate
Source
plate=(plate : String)
Source
plate_pos
Source
screen_pos
Source
unfocus
Source
unmix(info : String) : String
Source
valid_template?(input : String) : Bool
Source
value
Source
value=(new_value : String)
Source