class TabControl

Defined in:

wif/controls.cr

Constructors

Instance Method Summary

Instance methods inherited from class FocusableControl

need_frame need_frame, on_key : OnKey | Nil on_key, process_key(key : Key) : Bool process_key

Instance methods inherited from class Control

clickable clickable, color : ColorPair color, color=(color : ColorPair) color=, draw draw, frontend frontend, have_focus : Bool have_focus, have_focus=(have_focus : Bool) have_focus=, height : Int32 height, height=(height : Int32) height=, includes?(x, y) includes?, name : String | Symbol name, need_frame : Bool need_frame, need_frame=(need_frame : Bool) need_frame=, owner : Window | Nil owner, process_mouse(event : MouseEvent, x : Int32, y : Int32) process_mouse, visible : Bool visible, visible=(visible : Bool) visible=, width : Int32 width, width=(width : Int32) width=, x : Int32 x, x2 x2, x=(x : Int32) x=, y : Int32 y, y2 y2, y=(y : Int32) y=

Constructor methods inherited from class Control

new(owner : Window | Nil, name : String | Symbol, x : Int32, y : Int32, width : Int32, height : Int32) new

Constructor Detail

def self.new(owner, name, x, y, width, height, classes) #

[View source]

Instance Method Detail

def cur_page #

[View source]
def draw(*args, **options) #

[View source]
def draw(*args, **options, &) #

[View source]
def pages : Array(Window) #

[View source]
def process_key(*args, **options) #

[View source]
def process_key(*args, **options, &) #

[View source]
def process_mouse(*args, **options) #

[View source]
def process_mouse(*args, **options, &) #

[View source]
def select(page) #

[View source]
def selected : Int32 #

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

[View source]