module UIng
Defined in:
uing.cruing/area/area.cr
uing/area/area_draw_params.cr
uing/area/area_handler.cr
uing/area/area_key_event.cr
uing/area/area_mouse_event.cr
uing/area/draw_brush.cr
uing/area/draw_brush_gradient_stop.cr
uing/area/draw_brush_type.cr
uing/area/draw_context.cr
uing/area/draw_fill_mode.cr
uing/area/draw_line_cap.cr
uing/area/draw_line_join.cr
uing/area/draw_matrix.cr
uing/area/draw_path.cr
uing/area/draw_stroke_params.cr
uing/area/draw_text_align.cr
uing/area/draw_text_layout.cr
uing/area/draw_text_layout_params.cr
uing/area/ext_key.cr
uing/area/modifiers.cr
uing/area/window_resize_edge.cr
uing/attribute/attribute.cr
uing/attribute/attribute_type.cr
uing/attribute/text_italic.cr
uing/attribute/text_stretch.cr
uing/attribute/text_weight.cr
uing/attribute/underline.cr
uing/attribute/underline_color.cr
uing/attributed_string.cr
uing/box.cr
uing/button.cr
uing/checkbox.cr
uing/color_button.cr
uing/combobox.cr
uing/control.cr
uing/date_time_picker.cr
uing/editable_combobox.cr
uing/entry.cr
uing/font_button.cr
uing/font_descriptor.cr
uing/form.cr
uing/grid.cr
uing/grid/align.cr
uing/grid/at.cr
uing/group.cr
uing/image.cr
uing/label.cr
uing/lib_ui/area_draw_params.cr
uing/lib_ui/area_handler.cr
uing/lib_ui/area_key_event.cr
uing/lib_ui/area_mouse_event.cr
uing/lib_ui/control.cr
uing/lib_ui/draw_brush.cr
uing/lib_ui/draw_brush_gradient_stop.cr
uing/lib_ui/draw_matrix.cr
uing/lib_ui/draw_stroke_params.cr
uing/lib_ui/draw_text_layout_params.cr
uing/lib_ui/font_descriptor.cr
uing/lib_ui/init_options.cr
uing/lib_ui/lib_ui.cr
uing/lib_ui/table_model_handler.cr
uing/lib_ui/table_params.cr
uing/lib_ui/table_selection.cr
uing/lib_ui/table_text_column_optional_params.cr
uing/lib_ui/tm.cr
uing/menu.cr
uing/menu_item.cr
uing/multiline_entry.cr
uing/open_type_features.cr
uing/progress_bar.cr
uing/radio_buttons.cr
uing/separator.cr
uing/slider.cr
uing/spinbox.cr
uing/tab.cr
uing/table.cr
uing/table/sort_indicator.cr
uing/table/table_model.cr
uing/table/table_model_handler.cr
uing/table/table_params.cr
uing/table/table_selection.cr
uing/table/table_selection_mode.cr
uing/table/table_text_column_optional_params.cr
uing/table/table_value.cr
uing/table/table_value_type.cr
uing/tm.cr
uing/version.cr
uing/window.cr
Constant Summary
-
VERSION =
{{ (`shards version /home/runner/work/uing/uing/src/uing`).chomp.stringify }}
Class Method Summary
- .alloc_control(*args)
- .area_begin_user_window_move(area) : Nil
- .area_begin_user_window_resize(area, edge) : Nil
- .area_queue_redraw_all(area) : Nil
- .area_scroll_to(area, x, y, width, height) : Nil
- .area_set_size(area, width, height) : Nil
- .attribute_color(attribute, r, g, b, a) : Nil
- .attribute_family(attribute) : String | Nil
- .attribute_features(attribute) : OpenTypeFeatures
- .attribute_get_type(attribute) : AttributeType
- .attribute_italic(attribute) : TextItalic
- .attribute_size(attribute) : LibC::Double
- .attribute_stretch(attribute) : TextStretch
- .attribute_underline(attribute) : Underline
- .attribute_underline_color(attribute, underline_color, r, g, b, a) : Nil
- .attribute_weight(attribute) : TextWeight
- .attributed_string_append_unattributed(attributed_string, text) : Nil
- .attributed_string_byte_index_to_grapheme(attributed_string, pos) : LibC::SizeT
- .attributed_string_delete(attributed_string, start, end_) : Nil
- .attributed_string_for_each_attribute(sender, &callback : Pointer(Void), Pointer(LibUI::Attribute), SizeT, SizeT, Pointer(Void) -> Void)
- .attributed_string_grapheme_to_byte_index(attributed_string, pos) : LibC::SizeT
- .attributed_string_insert_at_unattributed(attributed_string, text, at) : Nil
- .attributed_string_len(attributed_string) : LibC::SizeT
- .attributed_string_num_graphemes(attributed_string) : LibC::SizeT
- .attributed_string_set_attribute(attributed_string, attribute, start, end_) : Nil
- .attributed_string_string(attributed_string) : String | Nil
- .box_append(box, control, stretchy) : Nil
- .box_delete(box, index) : Nil
- .box_num_children(button) : LibC::Int
- .box_padded(button) : LibC::Int
- .box_set_padded(box, padded) : Nil
- .button_on_clicked(sender, &callback : -> Void) : Nil
- .button_set_text(button, text) : Nil
- .button_text(button) : String | Nil
- .checkbox_checked(checkbox) : LibC::Int
- .checkbox_on_toggled(sender, &callback : -> Void) : Nil
- .checkbox_set_checked(checkbox, checked) : Nil
- .checkbox_set_text(checkbox, text) : Nil
- .checkbox_text(checkbox) : String | Nil
- .color_button_color(color_button, r, g, b, a) : Nil
- .color_button_on_changed(sender, &callback : -> Void) : Nil
- .color_button_set_color(color_button, r, g, b, a) : Nil
- .combobox_append(combobox, text) : Nil
- .combobox_clear(combobox) : Nil
- .combobox_delete(combobox, index) : Nil
- .combobox_insert_at(combobox, index, text) : Nil
- .combobox_num_items(combobox) : LibC::Int
- .combobox_on_selected(sender, &callback : -> Void) : Nil
- .combobox_selected(combobox) : LibC::Int
- .combobox_set_selected(combobox) : Nil
- .control_destroy(control) : Nil
- .control_disable(control) : Nil
- .control_enable(control) : Nil
- .control_enabled(control) : LibC::Int
- .control_enabled_to_user(control) : LibC::Int
- .control_handle(control)
- .control_hide(control) : Nil
- .control_parent(control)
- .control_set_parent(control, parent) : Nil
- .control_show(control) : Nil
- .control_toplevel(control)
- .control_verify_set_parent(control, parent) : Nil
- .control_visible(control) : LibC::Int
- .date_time_picker_on_changed(sender, &callback : -> Void) : Nil
- .date_time_picker_set_time(date_time_picker, time) : Nil
- .date_time_picker_time(date_time_picker, time) : Nil
- .draw_clip(draw_context, draw_path) : Nil
- .draw_fill(draw_context, draw_path, draw_brush) : Nil
- .draw_free_path(draw_path) : Nil
- .draw_free_text_layout(draw_text_layout) : Nil
- .draw_matrix_invert(draw_matrix) : LibC::Int
- .draw_matrix_invertible(draw_matrix) : LibC::Int
- .draw_matrix_multiply(dest, src) : Nil
- .draw_matrix_rotate(draw_matrix, x, y, amount) : Nil
- .draw_matrix_scale(draw_matrix, x_center, y_center, x, y) : Nil
- .draw_matrix_set_identity(draw_matrix) : Nil
- .draw_matrix_skew(draw_matrix, x, y, x_amount, y_amount) : Nil
- .draw_matrix_transform_point(draw_matrix, x, y) : Nil
- .draw_matrix_transform_size(draw_matrix, x, y) : Nil
- .draw_matrix_translate(draw_matrix, x, y) : Nil
- .draw_new_path(fill_mode) : DrawPath
- .draw_new_text_layout(draw_text_layout_params) : DrawTextLayout
- .draw_path_add_rectangle(draw_path, x, y, width, height) : Nil
- .draw_path_arc_to(draw_path, x_center, y_center, radius, start_angle, sweep, negative) : Nil
- .draw_path_bezier_to(draw_path, c1x, c1y, c2x, c2y, end_x, end_y) : Nil
- .draw_path_close_figure(draw_path) : Nil
- .draw_path_end(draw_path) : Nil
- .draw_path_ended(draw_path) : LibC::Int
- .draw_path_line_to(draw_path, x, y) : Nil
- .draw_path_new_figure(draw_path, x, y) : Nil
- .draw_path_new_figure_with_arc(draw_path, x_center, y_center, radius, start_angle, sweep, negative) : Nil
- .draw_restore(draw_context) : Nil
- .draw_save(draw_context) : Nil
- .draw_stroke(draw_context, draw_path, dra_brush, draw_stroke_params) : Nil
- .draw_text(draw_context, draw_text_layout, x, y) : Nil
- .draw_text_layout_extents(draw_text_layout, width, height) : Nil
- .draw_transform(draw_context, draw_matrix) : Nil
- .editable_combobox_append(editable_combobox, text) : Nil
- .editable_combobox_on_changed(sender, &callback : -> Void) : Nil
- .editable_combobox_set_text(editable_combobox, text) : Nil
- .editable_combobox_text(editable_combobox) : String | Nil
- .entry_on_changed(sender, &callback : -> Void) : Nil
- .entry_read_only(entry) : LibC::Int
- .entry_set_read_only(entry, readonly) : Nil
- .entry_set_text(entry, text) : Nil
- .entry_text(entry) : String | Nil
- .font_button_font(font_button, font_descriptor) : Nil
- .font_button_on_changed(sender, &callback : -> Void) : Nil
- .form_append(form, label, control, stretchy) : Nil
- .form_delete(form, index) : Nil
- .form_num_children(form) : LibC::Int
- .form_padded(form) : LibC::Int
- .form_set_padded(form, padded) : Nil
- .free_attribute(attribute) : Nil
- .free_attributed_string(attributed_string) : Nil
- .free_control(control) : Nil
- .free_font_button_font(font_descriptor) : Nil
- .free_font_descriptor(font_descriptor) : Nil
- .free_image(image) : Nil
- .free_init_error(err) : Nil
- .free_open_type_features(open_type_features) : Nil
- .free_table_model(table_model) : Nil
- .free_table_selection(table_selection) : Nil
- .free_table_value(table_value) : Nil
- .free_text(text) : Nil
- .grid_append(grid, control, left, top, xspan, yspan, hexpand, halign, vexpand, valign) : Nil
- .grid_insert_at(grid, control, existing, at, xspan, yspan, hexpand, halign, vexpand, valign) : Nil
- .grid_padded(grid) : LibC::Int
- .grid_set_padded(grid, padded) : Nil
- .group_margined(group) : LibC::Int
- .group_set_child(group, control) : Nil
- .group_set_margined(group, margined) : Nil
- .group_set_title(group, title) : Nil
- .group_title(group) : String | Nil
- .image_append(image, pixels, piexl_width, pixel_height, byte_stride) : Nil
- .init(init_options : Pointer(LibUI::InitOptions)) : String | Nil
- .init : Nil
- .label_set_text(label, text) : Nil
- .label_text(label) : String | Nil
- .load_control_font(font_descriptor) : Nil
- .main : Nil
- .main_step(wait) : LibC::Int
- .main_steps : Nil
- .menu_append_about_item(menu) : MenuItem
- .menu_append_check_item(menu, name) : MenuItem
- .menu_append_item(menu, name) : MenuItem
- .menu_append_preferences_item(menu) : MenuItem
- .menu_append_quit_item(menu) : MenuItem
- .menu_append_separator(menu) : Nil
- .menu_item_checked(menu_item) : LibC::Int
- .menu_item_disable(menu_item) : Nil
- .menu_item_enable(menu_item) : Nil
- .menu_item_on_clicked(sender, &callback : UIng::Window -> Void)
- .menu_item_set_checked(menu_item, checked) : Nil
- .msg_box(parent, title, description) : Nil
- .msg_box_error(parent, title, description) : Nil
- .multiline_entry_append(multiline_entry, text) : Nil
- .multiline_entry_on_changed(sender, &callback : -> Void) : Nil
- .multiline_entry_read_only(multiline_entry) : LibC::Int
- .multiline_entry_set_read_only(multiline_entry, readonly) : Nil
- .multiline_entry_set_text(multiline_entry, text) : Nil
- .multiline_entry_text(multiline_entry) : String | Nil
- .new_area(area_handler) : Area
- .new_attributed_string(text) : AttributedString
- .new_background_attribute(r, g, b, a) : Attribute
- .new_button(text) : Button
- .new_checkbox(text) : Checkbox
- .new_color_attribute(r, g, b, a) : Attribute
- .new_color_button : ColorButton
- .new_combobox : Combobox
- .new_date_picker : DateTimePicker
- .new_date_time_picker : DateTimePicker
- .new_editable_combobox : EditableCombobox
- .new_entry : Entry
- .new_family_attribute(family) : Attribute
- .new_features_attribute(open_type_features) : Attribute
- .new_font_button : FontButton
- .new_form : Form
- .new_grid : Grid
- .new_group(title) : Group
- .new_horizontal_box : UIng::Box
- .new_horizontal_separator : Separator
- .new_image(width, height) : Image
- .new_italic_attribute(test_italic) : Attribute
- .new_label(text) : Label
- .new_menu(name) : Menu
- .new_multiline_entry : MultilineEntry
- .new_non_wrapping_multiline_entry : MultilineEntry
- .new_open_type_features : OpenTypeFeatures
- .new_password_entry : Entry
- .new_progress_bar : ProgressBar
- .new_radio_buttons : RadioButtons
- .new_scrolling_area(area_handler, width, height) : Area
- .new_search_entry : Entry
- .new_size_attribute(size) : Attribute
- .new_slider(min, max) : Slider
- .new_spinbox(min, max) : Spinbox
- .new_stretch_attribute(text_search) : Attribute
- .new_tab : Tab
- .new_table(table_params) : Table
- .new_table_model(model_handler) : TableModel
- .new_table_value_color(r, g, b, a) : TableValue
- .new_table_value_image(image) : TableValue
- .new_table_value_int(i) : TableValue
- .new_table_value_string(str) : TableValue
- .new_time_picker : DateTimePicker
- .new_underline_attribute(underline) : Attribute
- .new_underline_color_attribute(underline_color, r, g, b, a) : Attribute
- .new_vertical_box : UIng::Box
- .new_vertical_separator : Separator
- .new_weight_attribute(weight) : Attribute
- .new_window(title, width, height, has_menu)
- .on_should_quit(&callback : -> LibC::Int) : Nil
- .open_file(window) : String | Nil
- .open_folder(window) : String | Nil
- .open_type_features_add(open_type_features, a, b, c, d, value) : Nil
- .open_type_features_clone(open_type_features) : OpenTypeFeatures
- .open_type_features_for_each(sender, &callback : Pointer(Void), LibC::Char, LibC::Char, LibC::Char, LibC::Char, Int32 -> Void)
- .open_type_features_get(open_type_features, a, b, c, d, value) : LibC::Int
- .open_type_features_remove(open_type_features, a, b, c, d) : Nil
- .progress_bar_set_value(progress_bar, n) : Nil
- .progress_bar_value(progress_bar) : LibC::Int
- .queue_main(&callback : -> Void) : Nil
- .quit : Nil
- .radio_buttons_append(radio_buttons, text) : Nil
- .radio_buttons_on_selected(sender, &callback : -> Void) : Nil
- .radio_buttons_selected(radio_buttons) : LibC::Int
- .radio_buttons_set_selected(radio_buttons, index) : Nil
- .save_file(window) : String | Nil
- .slider_has_tool_tip(slider) : LibC::Int
- .slider_on_changed(sender, &callback : -> Void) : Nil
- .slider_on_released(sender, &callback : -> Void) : Nil
- .slider_set_has_tool_tip(slider, has_tool_tip) : Nil
- .slider_set_range(slider, min, max) : Nil
- .slider_set_value(slider, value) : Nil
- .slider_value(slider) : LibC::Int
- .spinbox_on_changed(sender, &callback : -> Void) : Nil
- .spinbox_set_value(spinbox, value) : Nil
- .spinbox_value(spinbox) : LibC::Int
- .tab_append(tab, name, control) : Nil
- .tab_delete(tab, index) : Nil
- .tab_insert_at(tab, name, index, control) : Nil
- .tab_margined(tab, index) : LibC::Int
- .tab_num_pages(tab) : LibC::Int
- .tab_set_margined(tab, index, margined) : Nil
- .table_append_button_column(table, name, button_model_column, button_clickable_model_column) : Nil
- .table_append_checkbox_column(table, name, checkbox_model_column, checkbox_editable_model_column) : Nil
- .table_append_checkbox_text_column(table, name, checkbox_model_column, checkbox_editable_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
- .table_append_image_column(table, name, image_model_colum) : Nil
- .table_append_image_text_column(table, name, image_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
- .table_append_progress_bar_column(table, name, progress_model_column) : Nil
- .table_append_text_column(table_model, name, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
- .table_column_set_width(table, column, width) : Nil
- .table_column_width(table, column) : LibC::Int
- .table_get_selection(table) : TableSelection
- .table_get_selection_mode(table) : TableSelectionMode
- .table_header_on_clicked(sender, &callback : LibC::Int -> Void) : Nil
- .table_header_set_sort_indicator(table, column, sort_indicator) : Nil
- .table_header_set_visible(table, visible) : Nil
- .table_header_sort_indicator(table, column) : SortIndicator
- .table_header_visible(table) : LibC::Int
- .table_model_row_changed(table_model, index) : Nil
- .table_model_row_deleted(table_model, old_index) : Nil
- .table_model_row_inserted(table_model, new_index) : Nil
- .table_on_row_clicked(sender, &callback : LibC::Int -> Void) : Nil
- .table_on_row_double_clicked(sender, &callback : LibC::Int -> Void) : Nil
- .table_on_selection_changed(sender, &callback : -> Void) : Nil
- .table_set_selection(table, selection) : Nil
- .table_set_selection_mode(table, mode) : Nil
- .table_value_color(table_value, r, g, b, a) : Nil
- .table_value_get_type(table_value) : TableValueType
- .table_value_image(table_value) : Image
- .table_value_int(table_value) : LibC::Int
- .table_value_string(table_value) : String | Nil
- .timer(sender, &callback : -> LibC::Int) : Nil
- .uninit : Nil
- .user_bug_cannot_set_parent_on_toplevel(type) : Nil
- .window_borderless(window) : LibC::Int
- .window_content_size(window, width, height) : Nil
- .window_focused(window) : LibC::Int
- .window_fullscreen(window) : LibC::Int
- .window_margined(window) : LibC::Int
- .window_on_closing(sender, &callback : -> LibC::Int) : Nil
- .window_on_content_size_changed(sender, &callback : -> Void) : Nil
- .window_on_focus_changed(sender, &callback : -> Void) : Nil
- .window_on_position_changed(sender, &callback : -> Void) : Nil
- .window_position(window, x, y) : Nil
- .window_resizeable(window) : LibC::Int
- .window_set_borderless(window, borderless) : Nil
- .window_set_child(window, control) : Nil
- .window_set_content_size(window, width, height) : Nil
- .window_set_fullscreen(window, fullscreen) : Nil
- .window_set_margined(window, margined) : Nil
- .window_set_position(window, x, y) : Nil
- .window_set_resizeable(window, resizeable) : Nil
- .window_set_title(window, title) : Nil
- .window_title(window) : String | Nil
Class Method Detail
def self.attributed_string_byte_index_to_grapheme(attributed_string, pos) : LibC::SizeT
#
def self.attributed_string_for_each_attribute(sender, &callback : Pointer(Void), Pointer(LibUI::Attribute), SizeT, SizeT, Pointer(Void) -> Void)
#
def self.attributed_string_grapheme_to_byte_index(attributed_string, pos) : LibC::SizeT
#
def self.attributed_string_insert_at_unattributed(attributed_string, text, at) : Nil
#
def self.attributed_string_set_attribute(attributed_string, attribute, start, end_) : Nil
#
def self.draw_path_arc_to(draw_path, x_center, y_center, radius, start_angle, sweep, negative) : Nil
#
def self.draw_path_new_figure_with_arc(draw_path, x_center, y_center, radius, start_angle, sweep, negative) : Nil
#
def self.grid_append(grid, control, left, top, xspan, yspan, hexpand, halign, vexpand, valign) : Nil
#
def self.grid_insert_at(grid, control, existing, at, xspan, yspan, hexpand, halign, vexpand, valign) : Nil
#
def self.open_type_features_for_each(sender, &callback : Pointer(Void), LibC::Char, LibC::Char, LibC::Char, LibC::Char, Int32 -> Void)
#
def self.table_append_button_column(table, name, button_model_column, button_clickable_model_column) : Nil
#
def self.table_append_checkbox_column(table, name, checkbox_model_column, checkbox_editable_model_column) : Nil
#
def self.table_append_checkbox_text_column(table, name, checkbox_model_column, checkbox_editable_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
#
def self.table_append_image_text_column(table, name, image_model_column, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
#
def self.table_append_text_column(table_model, name, text_model_column, text_editable_model_column, table_text_column_optional_params) : Nil
#