class

UIng::Window

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

Constructors

new(*args, &)
Source
new(*args, **kwargs, &)
Source
new(title, width, height, menubar = false, margined : Bool = false)
Source

Instance methods

borderless=(borderless : Bool) : Nil
Source
borderless?
Source
child
Source
child
Source
child=(control : Control) : Nil
Source
child=(control : Nil) : Nil
Source
clear_on_closing

Clears the callback; equivalent to on_closing(nil).

Source
clear_on_content_size_changed

Clears the callback; equivalent to on_content_size_changed(nil).

Source
clear_on_focus_changed

Clears the callback; equivalent to on_focus_changed(nil).

Source
clear_on_position_changed

Clears the callback; equivalent to on_position_changed(nil).

Source
content_size
Source
delete(child : Control)
Source
destroy
Source
focused?

Reports whether this control owns keyboard focus, including its internal widgets. Window#focused? separately reports window activation.

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_closing(callback : Nil) : Nil
Source
on_content_size_changed
Source
on_content_size_changed(callback : Nil) : Nil
Source
on_focus_changed
Source
on_focus_changed(callback : Nil) : Nil
Source
on_position_changed
Source
on_position_changed(callback : Nil) : Nil
Source
open_file
Source
open_files

Returns selected file paths, or nil when canceled or the dialog fails.

Source
open_folder
Source
open_folders

Returns selected folder paths, or nil when canceled or the dialog fails.

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

Aliases for child= and child { ... }.

Source
set_child
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
toolbar
Source
toolbar

Builds a Toolbar before attaching it; the block keeps its outer receiver.

Source
toolbar=(toolbar : Toolbar) : Nil
Source
toolbar=(toolbar : Nil) : Nil
Source