class

CRT::Ncurses::Label

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, mesg : Array(String), box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Instance methods

activate(actions : String = "")
Source
background=(attrib : Int32)

Set the background attribute of the widget

Source
destroy

Destroy the label widget

Source
draw(box : Bool = @box)

Draw the label widget

Source
erase

Erase the label widget

Source
message
Source
message=(info : Array(String))

Set the information within the label

Source
object_type
Source
parent
Source
rows
Source
set(mesg : Array(String), lines : Int32, box : Bool)

Set multiple attributes

Source
wait(key : Int32 = 0) : Int32

Pause until a user hits a key

Source
xpos
Source
ypos
Source