class

NCurses::Window

Inherits Reference / Object

Constants

ATTRIBUTES = [:normal, :attributes, :chartext, :color, :standout, :underline, :reverse, :blink, :dim, :bold, :altcharset, :invis, :protect, :horizontal, :left, :low, :right, :top, :vertical, :italic]

Constructors

new(window : LibNCurses::Window)
Source
new(height = nil, width = nil, y = 0, x = 0)
Source

Instance methods

add_char(chr, position = nil)
Source
attr_off(attributes : Array(Symbol | Nil))
Source
attr_off(*attributes)
Source
attr_on(attributes : Array(Symbol | Nil))
Source
attr_on(*attributes)
Source
clear
Source
current_background
Source
current_color
Source
get_char
Source
max_dimensions
Source
max_x
Source
max_y
Source
move(x, y)
Source
no_delay
Source
no_timeout
Source
on_input
Source
refresh
Source
set_background(color_pair : Int32)
Source
set_color(slot : Int32 | Nil)
Source
timeout=(value)
Source
to_unsafe
Source
with_attr(attributes : Array(Symbol | Nil), &)
Source
with_attr(*attributes, &block)
Source
with_color(slot, &)
Source