class OptionSelectWindow

Direct Known Subclasses

Defined in:

option_select_window.cr

Constant Summary

HEIGHT = 15
WIDTH = 25

Constructors

Instance Method Summary

Instance methods inherited from class Window

activate! activate!, activate_child!(option) activate_child!, activate_parent! activate_parent!, active : Bool active, active=(active : Bool) active=, active? : Bool active?, border : Bool border, border=(border : Bool) border=, height : Int32 height, height=(height : Int32) height=, link_child(child : Window) link_child, link_parent(parent : Window) link_parent, refresh refresh, resize resize, title : String title, title=(title : String) title=, visible : Bool visible, visible=(visible : Bool) visible=, width : Int32 width, width=(width : Int32) width=, win : NCurses::Window win, x : Int32 x, y : Int32 y

Constructor methods inherited from class Window

new(x : Int32, y : Int32, height : Int32, width : Int32, border : Bool = false) new

Instance methods inherited from module Wrap

wrap(text : String, width : Int32) wrap

Constructor Detail

def self.new(x : Int32, y : Int32, height : Int32, width : Int32) #

[View source]
def self.new(x : Int32, y : Int32, height : Int32, width : Int32, &) #

[View source]

Instance Method Detail

def activate! #

[View source]
def active : Bool #

[View source]
def active=(active : Bool) #

[View source]
def add_helps(win) #

[View source]
def board_id=(board_id : String) #

[View source]
def child : Window? #

[View source]
def fetch #

[View source]
def handle_key(key) #

[View source]
def handle_select_next(selected) #

[View source]
def handle_select_previous #

[View source]
def height : Int32 #

[View source]
def json #

[View source]
def options=(options : Array(OptionSelectOption)) #

[View source]
def params=(params : String) #

[View source]
def parent : Window? #

[View source]
def path=(path : String) #

[View source]
def refresh #

[View source]
def render_option_value(json : JSON::Any) #

[View source]
def render_row(option) #

[View source]
def row_offset : Int32 #

[View source]
def row_offset=(row_offset : Int32) #

[View source]
def selected : Int8 #

[View source]
def selected=(selected : Int8) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def width : Int32 #

[View source]
def win : NCurses::Window #

[View source]