class

CRT::Ncurses::ScrollWindow

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, height : Int32, width : Int32, save_lines : Int32, title : String = "", box : Bool | CRT::Ncurses::Framing | Nil = nil, shadow : Bool = false)
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : Int32
Source
add(list : String, insert_pos : Int32, fmt : Bool = false)
Source
background=(attrib : Int32)
Source
clean
Source
contents=(list : Array(String))
Source
destroy
Source
draw(box : Bool = @box)
Source
draw_list(box : Bool)
Source
erase
Source
focus
Source
inject(input : Int32) : Int32
Source
jump_to_line(line : Int32)
Source
object_type
Source
set_contents(list : Array(String), fmt : Bool = false)
Source
setup_line(list : String, x : Int32, fmt : Bool = false)
Source
trim(begin_line : Int32, end_line : Int32)
Source
unfocus
Source