GSDL::TabContainer
Inherits GSDL::Tweenable < Reference < Object
Constructors
new(tabs : Array(String) = [] of String, x : Float32 | Int32 = 0, y : Float32 | Int32 = 0, width : Float32 | Int32 = 400, height : Float32 | Int32 = 300, tab_height : Float32 | Int32 = 40, active_index : Int32 = 0, origin : Tuple(Float32, Float32) = {0_f32, 0_f32}, scale : Tuple(Float32 | Int32, Float32 | Int32) = {1_f32, 1_f32}, on_tab_changed : Nil | Int32 -> _ = nil, z_index : Int32 = 0)
SourceInstance methods
active_index
Sourceactive_tab_color
Sourceactive_tab_color=(active_tab_color : Color)
Sourcebackground_color
Sourcebackground_color=(background_color : Color)
Sourceborder_color
Sourceborder_color=(border_color : Color)
Sourcechanged?
Sourcedraw(draw : GSDL::Draw)
Sourceheight
Sourceheight=(height : Num)
Sourceon_tab_changed
Sourceon_tab_changed=(on_tab_changed : TabChangedCallback | Nil)
Sourceorigin
Sourceorigin_x
Sourceorigin_y
Sourcerender_height
Sourcerender_width
Sourcerender_x
Sourcerender_y
Sourcescale
Sourcescale_x
Sourcescale_x=(scale_x : Num)
Sourcescale_y
Sourcescale_y=(scale_y : Num)
Sourcetab_color
Sourcetab_color=(tab_color : Color)
Sourcetab_height
Sourcetab_height=(tab_height : Num)
Sourcetext_color
Sourcetext_color=(text_color : Color)
Sourcetweens
Sourcewidth
Sourcewidth=(width : Num)
Sourcex=(x : Num)
Sourcey=(y : Num)
Sourcez_index
Source