class
UIng::Window
- UIng::Window
- UIng::Control
- Reference
- Object
Defined in:
uing/window.crConstructors
- .new(*args, &)
- .new(*args, **kwargs, &)
- .new(title, width, height, menubar = false, margined : Bool = false)
- .new(ref_ptr : Pointer(LibUI::Window), borrowed : Bool = true)
Instance Method Summary
- #borderless=(borderless : Bool) : Nil
- #borderless? : Bool
- #child : Control | Nil
- #child(&block : -> Control)
- #child=(control : Control) : Nil
- #child=(control : Nil) : Nil
- #content_size : Tuple(Int32, Int32)
- #delete(child : Control)
- #destroy : Nil
- #focused? : Bool
- #fullscreen=(fullscreen : Bool) : Nil
- #fullscreen? : Bool
- #margined=(margined : Bool) : Nil
- #margined? : Bool
- #msg_box(title : String, description : String) : Nil
- #msg_box_error(title : String, description : String) : Nil
- #on_closing(&block : -> Bool)
- #on_content_size_changed(&block : Int32, Int32 -> Nil)
- #on_focus_changed(&block : Bool -> Nil)
- #on_position_changed(&block : Int32, Int32 -> Nil)
- #open_file : String | Nil
- #open_folder : String | Nil
- #position : Tuple(Int32, Int32)
- #resizable=(resizable : Bool) : Nil
-
#resizable? : Bool
libui spells this "resizeable"; provide the standard spelling as an alias.
- #resizeable=(resizeable : Bool) : Nil
- #resizeable? : Bool
- #save_file : String | Nil
-
#set_child(control : Control) : Nil
Aliases for
#child=and `child { ... - #set_child(&block : -> Control)
- #set_content_size(width : Int32, height : Int32) : Nil
- #set_position(x : Int32, y : Int32) : Nil
- #title : String | Nil
- #title=(title : String) : Nil
- #to_unsafe
- #toolbar : Toolbar | Nil
- #toolbar=(toolbar : Toolbar) : Nil
- #toolbar=(toolbar : Nil) : Nil
Instance methods inherited from class UIng::Control
__parent__
__parent__,
__set_parent__(parent) : Nil
__set_parent__,
delete(child : Control)
delete,
destroy : Nil
destroy,
detach : self
detach,
disable : Nil
disable,
enable : Nil
enable,
enabled? : Bool
enabled?,
enabled_to_user? : Bool
enabled_to_user?,
handle : Pointer(Void)
handle,
hide : Nil
hide,
parent : Control | Nil
parent,
released? : Bool
released?,
set_minimum_size(width : Int32, height : Int32) : Nil
set_minimum_size,
show : Nil
show,
to_unsafe
to_unsafe,
tooltip=(tooltip : String) : Niltooltip=(tooltip : Nil) : Nil tooltip=, toplevel? : Bool toplevel?, verify_set_parent(parent) : Nil verify_set_parent, visible? : Bool visible?