UIng
Constants
SOURCE = "https://github.com/kojix2/uing"
VERSION = {{ (`shards version /tmp/tmp.GDBpIG/src/src/uing`).chomp.stringify }}
Class methods
free_init_error(err) : Nil
Sourcefree_text(text) : Nil
Sourcehandle_callback_error(ex : Exception, ctx : String = "callback")
Handle callback errors by printing the error message and backtrace
init(init_options : Pointer(LibUI::InitOptions)) : Nil
Sourceinit
Sourceinit
Sourcemain
Sourcemain_step(wait) : Bool
Sourcemain_steps
Sourcemsg_box(title : String, description : String) : Nil
Passing NULL is technically valid and handled by all platforms, but it's considered better practice to provide a parent window
msg_box_error(parent, title, description) : Nil
DEPRECATED Use .msg_box_error on Window instead
msg_box_error(title : String, description : String) : Nil
Passing NULL is technically valid and handled by all platforms, but it's considered better practice to provide a parent window
on_should_quit
Sourcequeue_main
Sourcequit
Sourcestring_from_pointer(str_ptr) : String | Nil
Convert string pointer to Crystal string and free the pointer
timer(sender, &callback : -> LibC::Int) : Nil
Sourceto_control(control)
Sourceuninit
SourceNested types
- UIng::Align
- UIng::Area
- UIng::Box
- UIng::Button
- UIng::Checkbox
- UIng::ColorButton
- UIng::Combobox
- UIng::Control
- UIng::DateTimePicker
- UIng::EditableCombobox
- UIng::Entry
- UIng::FontButton
- UIng::FontDescriptor
- UIng::Form
- UIng::Grid
- UIng::Group
- UIng::Image
- UIng::ImageView
- UIng::Label
- UIng::Menu
- UIng::MenuItem
- UIng::MultilineEntry
- UIng::OpenTypeFeatures
- UIng::ProgressBar
- UIng::RadioButtons
- UIng::Separator
- UIng::Slider
- UIng::Spinbox
- UIng::TM
- UIng::Tab
- UIng::Table
- UIng::TextItalic
- UIng::TextStretch
- UIng::TextWeight
- UIng::Window