Kaba class Panel ed
...
Syntax ed
class Panel extends Control
# constructors
func mut __init__(id: string)
# functions
func mut activate(id: string)
func mut virtual add_child(c: shared![Control], x: i32, y: i32)
func mut add_control(type: string, title: string, x: i32, y: i32, id: string)
func mut add_string(id: string, s: string)
func mut check(id: string, checked: bool)
func mut embed(target: string, x: i32, y: i32, panel: shared[Panel])
func mut enable(id: string, enabled: bool)
func mut event(id: string, f: void->void) -> i32
func mut event_x(id: string, msg: string, f: Painter->void) -> i32
func mut event_x(id: string, msg: string, f: void->void) -> i32
func mut from_source(source: string)
func virtual get_children(f: i32) -> Control&[]
func get_color(id: string) -> Color
func virtual get_content_min_size() -> vec2
func selfref get_control(id: string) -> Control*
func get_float(id: string) -> f32
func virtual get_greed_factor() -> vec2
func get_int(id: string) -> i32
func get_string(id: string) -> string
func is_checked(id: string) -> bool
func mut virtual negotiate_area(available: Rect)
func mut open_dialog(dlg: shared![Dialog]) -> future[void]
func mut remove_event_handler(uid: i32)
func mut reset(id: string)
func mut set_color(id: string, c: Color)
func mut set_float(id: string, f: f32)
func mut set_int(id: string, i: i32)
func mut virtual set_option(key: string, value: string)
func mut set_options(id: string, options: string)
func mut set_string(id: string, s: string)
func mut unembed(panel: Panel*)
Functions ed
- func mut activate(id: string)
- ...
- func mut virtual add_child(c: shared![Control], x: i32, y: i32)
- ...
- func mut add_control(type: string, title: string, x: i32, y: i32, id: string)
- ...
- func mut add_string(id: string, s: string)
- ...
- func mut check(id: string, checked: bool)
- ...
- func mut embed(target: string, x: i32, y: i32, panel: shared[Panel])
- ...
- func mut enable(id: string, enabled: bool)
- ...
- func mut event(id: string, f: void->void) -> i32
- ...
- func mut event_x(id: string, msg: string, f: Painter->void) -> i32
- ...
- func mut event_x(id: string, msg: string, f: void->void) -> i32
- ...
- func mut from_source(source: string)
- ...
- func virtual get_children(f: i32) -> Control&[]
- ...
- func get_color(id: string) -> Color
- ...
- func virtual get_content_min_size() -> vec2
- ...
- func selfref get_control(id: string) -> Control*
- ...
- func get_float(id: string) -> f32
- ...
- func virtual get_greed_factor() -> vec2
- ...
- func get_int(id: string) -> i32
- ...
- func get_string(id: string) -> string
- ...
- func is_checked(id: string) -> bool
- ...
- func mut virtual negotiate_area(available: Rect)
- ...
- func mut open_dialog(dlg: shared![Dialog]) -> future[void]
- ...
- func mut remove_event_handler(uid: i32)
- ...
- func mut reset(id: string)
- ...
- func mut set_color(id: string, c: Color)
- ...
- func mut set_float(id: string, f: f32)
- ...
- func mut set_int(id: string, i: i32)
- ...
- func mut virtual set_option(key: string, value: string)
- ...
- func mut set_options(id: string, options: string)
- ...
- func mut set_string(id: string, s: string)
- ...
- func mut unembed(panel: Panel*)
- ...