class

CRT::Ncurses::Slider(T)

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, *, low : T, high : T, step : T, page : T, x : Int32, y : Int32, title : String = "", label : String = "", start : T = low, filler : Int32 = '#'.ord | LibNCurses::Attribute::Reverse.value.to_i32, field_width : Int32 = 0, digits : Int32 = 0, box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : T
Source
background=(attrib : Int32)
Source
current
Source
current=(value : T)
Source
destroy
Source
digits
Source
digits=(digits : Int32)
Source
draw(box : Bool = @box)
Source
draw_field
Source
erase
Source
field_width
Source
filler
Source
filler=(filler : Int32)
Source
focus
Source
high
Source
inject(input : Int32) : T
Source
limit_current_value
Source
object_type
Source
page
Source
page=(page : T)
Source
parent
Source
set_range(low : T, high : T)
Source
step
Source
step=(step : T)
Source
unfocus
Source