class NCurses::Window

Defined in:

ncurses.cr
ncurses/window.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(window : LibNCurses::Window) #

[View source]
def self.new(height = nil, width = nil, y = 0, x = 0) #

[View source]

Instance Method Detail

def attr_off(*attributes) #

[View source]
def attr_on(*attributes) #

[View source]
def beginning_dimensions #

[View source]
def border(ls = '|', rs = '|', ts = '-', bs = '_', tl = '+', tr = '+', bl = '+', br = '+') #

[View source]
def box(x : Int32, y : Int32) : Int32 #

[View source]
def clear #

[View source]
def current_color #

[View source]
def get_char #

[View source]
def max_dimensions #

[View source]
def move(x, y) #

[View source]
def no_delay #

[View source]
def no_timeout #

[View source]
def on_input(&) #

[View source]
def print(message, position = nil) #

[View source]
def refresh #

[View source]
def set_color(slot : Int32 | Nil) #

[View source]
def timeout=(value) #

[View source]
def to_unsafe : LibNCurses::Window #

[View source]
def with_attr(*attributes, &) #

[View source]
def with_color(slot, &) #

[View source]