class

UIng::Window

Inherits UIng::Control < UIng::BlockConstructor < Reference < Object

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source
new(title, width, height, menubar = false, margined : Bool = false)
Source
new(ref_ptr : Pointer(LibUI::Window), borrowed : Bool = true)
Source

Instance methods

borderless=(borderless : Bool) : Nil
Source
borderless?
Source
child=(control : UIng::Control | Nil) : Nil
Source
content_size
Source
delete(child : Control)

Raises: Not supported for this container.

Source
destroy
Source
focused?
Source
fullscreen=(fullscreen : Bool) : Nil
Source
fullscreen?
Source
margined=(margined : Bool) : Nil
Source
margined?
Source
msg_box(title : String, description : String) : Nil
Source
msg_box_error(title : String, description : String) : Nil
Source
on_closing
Source
on_content_size_changed
Source
on_focus_changed
Source
on_position_changed
Source
open_file
Source
open_folder
Source
position
Source
resizable=(resizable : Bool) : Nil
Source
resizable?

libui spells this "resizeable"; provide the standard spelling as an alias.

Source
resizeable=(resizeable : Bool) : Nil
Source
resizeable?
Source
save_file
Source
set_child(control : Control) : Nil

alias for child=

Source
set_child

For DSL style

Source
set_content_size(width : Int32, height : Int32) : Nil
Source
set_position(x : Int32, y : Int32) : Nil
Source
title
Source
title=(title : String) : Nil
Source
to_unsafe
Source