Class methods
accept_drag_drop_payload(type :
String, flags :
ImGuiDragDropFlags =
ImGuiDragDropFlags.new(0)) :
ImGuiPayload |
Nil Sourcealign_text_to_frame_padding
Sourcebegin_child(str_id :
String, size :
ImVec2 =
ImVec2.new(0, 0), child_flags :
ImGuiChildFlags =
ImGuiChildFlags.new(0), window_flags :
ImGuiWindowFlags =
ImGuiWindowFlags.new(0)) :
Bool Sourcebegin_child(id :
ImGuiID, size :
ImVec2 =
ImVec2.new(0, 0), child_flags :
ImGuiChildFlags =
ImGuiChildFlags.new(0), window_flags :
ImGuiWindowFlags =
ImGuiWindowFlags.new(0)) :
Bool Sourcebegin_combo(label :
String, preview_value :
String, flags :
ImGuiComboFlags =
ImGuiComboFlags.new(0)) :
Bool Sourcebegin_disabled(disabled :
Bool = true) :
Void Sourcebegin_drag_drop_source(flags :
ImGuiDragDropFlags =
ImGuiDragDropFlags.new(0)) :
Bool Sourcebegin_main_menu_bar
Sourcebegin_tab_bar(str_id :
String, flags :
ImGuiTabBarFlags =
ImGuiTabBarFlags.new(0)) :
Bool Sourcebegin_table(str_id :
String, column :
Int32, flags :
ImGuiTableFlags =
ImGuiTableFlags.new(0), outer_size :
ImVec2 =
ImVec2.new(0.0, 0.0), inner_width :
Float32 = 0.0) :
Bool Sourcebullet_text(fmt :
String, *args) :
Void Sourcechild(str_id :
String, size :
ImVec2 =
ImVec2.new(0, 0), child_flags :
ImGuiChildFlags =
ImGuiChildFlags.new(0), window_flags :
ImGuiWindowFlags =
ImGuiWindowFlags.new(0), &) :
Nil Calls begin_child, conditionally yields to the block, then calls end_child.
Sourcechild(id : ImGuiID, size : ImVec2 = ImVec2.new(0, 0), child_flags : ImGuiChildFlags = ImGuiChildFlags.new(0), window_flags : ImGuiWindowFlags = ImGuiWindowFlags.new(0), &) : Nil
Calls begin_child, conditionally yields to the block, then calls end_child.
Sourcecombo(label :
String, preview_value :
String, flags :
ImGuiComboFlags =
ImGuiComboFlags.new(0), &) :
Nil Calls begin_combo, conditionally yields to the block, then conditionally calls end_combo.
Sourcecreate_context(shared_font_atlas : ImFontAtlas | Nil = nil) : ImGuiContext
Sourcedebug_check_version_and_data_layout(version_str :
String, sz_io :
LibC::SizeT, sz_style :
LibC::SizeT, sz_vec2 :
LibC::SizeT, sz_vec4 :
LibC::SizeT, sz_drawvert :
LibC::SizeT, sz_drawidx :
LibC::SizeT) :
Bool Sourcedebug_flash_style_color(idx : ImGuiCol) : Void
Sourcedebug_text_encoding(text :
String) :
Void Sourcedestroy_context(ctx : ImGuiContext | Nil = nil) : Void
Sourcedisabled(disabled :
Bool = true, &) :
Nil Calls begin_disabled, yields to the block, then calls end_disabled.
Sourcedrag_drop_source(flags : ImGuiDragDropFlags = ImGuiDragDropFlags.new(0), &) : Nil
Calls begin_drag_drop_source, conditionally yields to the block, then conditionally calls end_drag_drop_source.
Sourcedrag_drop_target
Calls begin_drag_drop_target, conditionally yields to the block, then conditionally calls end_drag_drop_target.
Sourcedummy(size : ImVec2) : Void
Sourceget_background_draw_list
Sourceget_content_region_avail
Sourceget_content_region_max
Sourceget_current_context
Sourceget_draw_list_shared_data
Sourceget_font_tex_uv_white_pixel
Sourceget_foreground_draw_list
Sourceget_frame_height_with_spacing
Sourceget_style_color_vec4(idx : ImGuiCol) : ImVec4
Sourceget_text_line_height
Sourceget_text_line_height_with_spacing
Sourceget_tree_node_to_label_spacing
Sourceget_window_content_region_max
Sourceget_window_content_region_min
Sourcegroup
Calls begin_group, yields to the block, then calls end_group.
Sourceimage(user_texture_id : ImTextureID, image_size : ImVec2, uv0 : ImVec2 = ImVec2.new(0, 0), uv1 : ImVec2 = ImVec2.new(1, 1), tint_col : ImVec4 = ImVec4.new(1, 1, 1, 1), border_col : ImVec4 = ImVec4.new(0, 0, 0, 0)) : Void
Sourceimage_button(str_id :
String, user_texture_id :
ImTextureID, image_size :
ImVec2, uv0 :
ImVec2 =
ImVec2.new(0, 0), uv1 :
ImVec2 =
ImVec2.new(1, 1), bg_col :
ImVec4 =
ImVec4.new(0, 0, 0, 0), tint_col :
ImVec4 =
ImVec4.new(1, 1, 1, 1)) :
Bool Sourceinput_scalar(label :
String, p_data :
Pointer(
Int8), p_step :
Int8 |
Nil = nil, p_step_fast :
Int8 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
UInt8), p_step :
UInt8 |
Nil = nil, p_step_fast :
UInt8 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
Int16), p_step :
Int16 |
Nil = nil, p_step_fast :
Int16 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
UInt16), p_step :
UInt16 |
Nil = nil, p_step_fast :
UInt16 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
Int32), p_step :
Int32 |
Nil = nil, p_step_fast :
Int32 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
UInt32), p_step :
UInt32 |
Nil = nil, p_step_fast :
UInt32 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
Int64), p_step :
Int64 |
Nil = nil, p_step_fast :
Int64 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_scalar(label :
String, p_data :
Pointer(
UInt64), p_step :
UInt64 |
Nil = nil, p_step_fast :
UInt64 |
Nil = nil, format :
String |
Nil = nil, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool input_text(label :
String, buf :
Bytes, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), callback :
ImGuiInputTextCallback |
Nil = nil, user_data :
Pointer(
Void) =
Pointer(
Void).null) :
Bool Sourceinput_text(label :
String, buf :
TextBuffer, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), &block :
ImGuiInputTextCallbackData ->
Int32) :
Bool Sourceinput_text(label :
String, buf :
TextBuffer, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool Sourceinput_text_multiline(label :
String, buf :
Bytes, size :
ImVec2 =
ImVec2.new(0, 0), flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), callback :
ImGuiInputTextCallback |
Nil = nil, user_data :
Pointer(
Void) =
Pointer(
Void).null) :
Bool Sourceinput_text_multiline(label :
String, buf :
TextBuffer, size :
ImVec2 =
ImVec2.new(0, 0), flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), &block :
ImGuiInputTextCallbackData ->
Int32) :
Bool Sourceinput_text_multiline(label :
String, buf :
TextBuffer, size :
ImVec2 =
ImVec2.new(0, 0), flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool Sourceinput_text_with_hint(label :
String, hint :
String, buf :
Bytes, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), callback :
ImGuiInputTextCallback |
Nil = nil, user_data :
Pointer(
Void) =
Pointer(
Void).null) :
Bool Sourceinput_text_with_hint(label :
String, hint :
String, buf :
TextBuffer, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0), &block :
ImGuiInputTextCallbackData ->
Int32) :
Bool Sourceinput_text_with_hint(label :
String, hint :
String, buf :
TextBuffer, flags :
ImGuiInputTextFlags =
ImGuiInputTextFlags.new(0)) :
Bool Sourceis_item_deactivated_after_edit
Sourceis_item_hovered(flags :
ImGuiHoveredFlags =
ImGuiHoveredFlags.new(0)) :
Bool Sourceis_key_chord_pressed(key_chord :
ImGuiKeyChord) :
Bool Sourceis_mouse_hovering_rect(r_min :
ImVec2, r_max :
ImVec2, clip :
Bool = true) :
Bool Sourceis_rect_visible(rect_min :
ImVec2, rect_max :
ImVec2) :
Bool Sourceis_window_focused(flags :
ImGuiFocusedFlags =
ImGuiFocusedFlags.new(0)) :
Bool Sourceis_window_hovered(flags :
ImGuiHoveredFlags =
ImGuiHoveredFlags.new(0)) :
Bool Sourcelist_box(label :
String, size :
ImVec2 =
ImVec2.new(0, 0), &) :
Nil Calls begin_list_box, conditionally yields to the block, then conditionally calls end_list_box.
Sourceload_ini_settings_from_disk(ini_filename :
String) :
Void Sourceload_ini_settings_from_memory(ini_data :
String, ini_size :
LibC::SizeT = 0) :
Void Sourcelog_text(fmt :
String, *args) :
Void Sourcelog_to_clipboard(auto_open_depth :
Int32 = -1) :
Void Sourcelog_to_file(auto_open_depth :
Int32 = -1, filename :
String |
Nil = nil) :
Void Sourcemain_menu_bar
Calls begin_main_menu_bar, conditionally yields to the block, then conditionally calls end_main_menu_bar.
Sourceplot_histogram(label :
String, values_getter :
Pointer(
Void),
Int32 ->
Float32, data :
Pointer(
Void), values_count :
Int32, values_offset :
Int32 = 0, overlay_text :
String |
Nil = nil, scale_min :
Float32 =
Float32::MAX, scale_max :
Float32 =
Float32::MAX, graph_size :
ImVec2 =
ImVec2.new(0, 0)) :
Void Sourceplot_histogram(label :
String, values_count :
Int32, values_offset :
Int32 = 0, overlay_text :
String |
Nil = nil, scale_min :
Float32 =
Float32::MAX, scale_max :
Float32 =
Float32::MAX, graph_size :
ImVec2 =
ImVec2.new(0, 0), &block :
Int32 ->
Float32) :
Void Sourceplot_lines(label :
String, values_getter :
Pointer(
Void),
Int32 ->
Float32, data :
Pointer(
Void), values_count :
Int32, values_offset :
Int32 = 0, overlay_text :
String |
Nil = nil, scale_min :
Float32 =
Float32::MAX, scale_max :
Float32 =
Float32::MAX, graph_size :
ImVec2 =
ImVec2.new(0, 0)) :
Void Sourceplot_lines(label :
String, values_count :
Int32, values_offset :
Int32 = 0, overlay_text :
String |
Nil = nil, scale_min :
Float32 =
Float32::MAX, scale_max :
Float32 =
Float32::MAX, graph_size :
ImVec2 =
ImVec2.new(0, 0), &block :
Int32 ->
Float32) :
Void Sourceprogress_bar(fraction :
Float32, size_arg :
ImVec2 =
ImVec2.new(-
Float32::MIN_POSITIVE, 0), overlay :
String |
Nil = nil) :
Void Sourcepush_clip_rect(clip_rect_min :
ImVec2, clip_rect_max :
ImVec2, intersect_with_current_clip_rect :
Bool) :
Void Sourcepush_font(font : ImFont) : Void
Sourcepush_id(ptr_id : ClassType) : Void
Sourcepush_style_color(idx : ImGuiCol, col : ImVec4) : Void
Sourcepush_style_var(idx : ImGuiStyleVar, val : ImVec2) : Void
Sourcepush_text_wrap_pos(wrap_local_pos_x :
Float32 = 0.0) :
Void Sourcesave_ini_settings_to_disk(ini_filename :
String) :
Void Sourcesave_ini_settings_to_memory
Sourceselectable(label :
String, selected :
Bool = false, flags :
ImGuiSelectableFlags =
ImGuiSelectableFlags.new(0), size :
ImVec2 =
ImVec2.new(0, 0)) :
Bool Sourceselectable(label :
String, p_selected :
Pointer(
Bool), flags :
ImGuiSelectableFlags =
ImGuiSelectableFlags.new(0), size :
ImVec2 =
ImVec2.new(0, 0)) :
Bool Sourceseparator_text(label :
String) :
Void Sourceset_allocator_functions(alloc_func :
ImGuiMemAllocFunc, free_func :
ImGuiMemFreeFunc, user_data :
Pointer(
Void) =
Pointer(
Void).null) :
Void Sourceset_clipboard_text(text :
String) :
Void Sourceset_color_edit_options(flags : ImGuiColorEditFlags) : Void
Sourceset_current_context(ctx : ImGuiContext) : Void
Sourceset_cursor_pos(local_pos : ImVec2) : Void
Sourceset_cursor_screen_pos(pos : ImVec2) : Void
Sourceset_drag_drop_payload(type :
String, data :
Pointer(
Void), sz :
LibC::SizeT, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Bool Sourceset_keyboard_focus_here(offset :
Int32 = 0) :
Void Sourceset_mouse_cursor(cursor_type : ImGuiMouseCursor) : Void
Sourceset_next_frame_want_capture_keyboard(want_capture_keyboard :
Bool) :
Void Sourceset_next_frame_want_capture_mouse(want_capture_mouse :
Bool) :
Void Sourceset_next_item_allow_overlap
Sourceset_next_item_open(is_open :
Bool, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceset_next_window_collapsed(collapsed :
Bool, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceset_next_window_content_size(size : ImVec2) : Void
Sourceset_next_window_pos(pos : ImVec2, cond : ImGuiCond = ImGuiCond.new(0), pivot : ImVec2 = ImVec2.new(0, 0)) : Void
Sourceset_next_window_size(size : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
Sourceset_next_window_size_constraints(size_min :
ImVec2, size_max :
ImVec2, custom_callback :
ImGuiSizeCallback |
Nil = nil, custom_callback_data :
Pointer(
Void) =
Pointer(
Void).null) :
Void Sourceset_next_window_size_constraints(size_min : ImVec2, size_max : ImVec2, &block : ImGuiSizeCallbackData -> ) : Void
Sourceset_tab_item_closed(tab_or_docked_window_label :
String) :
Void Sourceset_window_collapsed(collapsed :
Bool, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceset_window_collapsed(name :
String, collapsed :
Bool, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceset_window_pos(pos : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
Sourceset_window_pos(name :
String, pos :
ImVec2, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceset_window_size(size : ImVec2, cond : ImGuiCond = ImGuiCond.new(0)) : Void
Sourceset_window_size(name :
String, size :
ImVec2, cond :
ImGuiCond =
ImGuiCond.new(0)) :
Void Sourceshow_style_editor(ref : ImGuiStyle | Nil = nil) : Void
Sourcestyle_colors_classic(dst : ImGuiStyle | Nil = nil) : Void
Sourcestyle_colors_dark(dst : ImGuiStyle | Nil = nil) : Void
Sourcestyle_colors_light(dst : ImGuiStyle | Nil = nil) : Void
Sourcetab_bar(str_id :
String, flags :
ImGuiTabBarFlags =
ImGuiTabBarFlags.new(0), &) :
Nil Calls begin_tab_bar, conditionally yields to the block, then conditionally calls end_tab_bar.
SourceCalls begin_tab_item, conditionally yields to the block, then conditionally calls end_tab_item.
Sourcetable(str_id :
String, column :
Int32, flags :
ImGuiTableFlags =
ImGuiTableFlags.new(0), outer_size :
ImVec2 =
ImVec2.new(0.0, 0.0), inner_width :
Float32 = 0.0, &) :
Nil Calls begin_table, conditionally yields to the block, then conditionally calls end_table.
Sourcetable_get_column_flags(column_n :
Int32 = -1) :
ImGuiTableColumnFlags Sourcetable_next_row(row_flags :
ImGuiTableRowFlags =
ImGuiTableRowFlags.new(0), min_row_height :
Float32 = 0.0) :
Void Sourcetable_set_bg_color(target :
ImGuiTableBgTarget, color :
UInt32, column_n :
Int32 = -1) :
Void Sourcetable_setup_column(label :
String, flags :
ImGuiTableColumnFlags =
ImGuiTableColumnFlags.new(0), init_width_or_weight :
Float32 = 0.0, user_id :
ImGuiID = 0) :
Void Sourcetext(fmt :
String, *args) :
Void Sourcetext_colored(col :
ImVec4, fmt :
String, *args) :
Void Sourcetext_disabled(fmt :
String, *args) :
Void Sourcetext_wrapped(fmt :
String, *args) :
Void SourceCalls tree_node, conditionally yields to the block, then conditionally calls tree_pop.
SourceCalls tree_node, conditionally yields to the block, then conditionally calls tree_pop.
Sourcetree_node(label :
String, &) :
Nil Calls tree_node, conditionally yields to the block, then conditionally calls tree_pop.
Sourcetree_node_ex(label :
String, flags :
ImGuiTreeNodeFlags =
ImGuiTreeNodeFlags.new(0)) :
Bool Sourcetree_node_ex(str_id :
String, flags :
ImGuiTreeNodeFlags, fmt :
String, *args, &) :
Nil Calls tree_node_ex, conditionally yields to the block, then conditionally calls tree_pop.
SourceCalls tree_node_ex, conditionally yields to the block, then conditionally calls tree_pop.
Sourcetree_node_ex(label :
String, flags :
ImGuiTreeNodeFlags =
ImGuiTreeNodeFlags.new(0), &) :
Nil Calls tree_node_ex, conditionally yields to the block, then conditionally calls tree_pop.
SourceCalls begin, conditionally yields to the block, then calls end.
Sourcewith_clip_rect(clip_rect_min :
ImVec2, clip_rect_max :
ImVec2, intersect_with_current_clip_rect :
Bool, &) :
Nil Calls push_clip_rect, yields to the block, then calls pop_clip_rect.
Sourcewith_font(font : ImFont, &) : Nil
Calls push_font, yields to the block, then calls pop_font.
Sourcewith_id(str_id :
String, &) :
Nil Calls push_id, yields to the block, then calls pop_id.
SourceCalls push_id, yields to the block, then calls pop_id.
Sourcewith_id(int_id :
Int32, &) :
Nil Calls push_id, yields to the block, then calls pop_id.
SourceCalls push_id, yields to the block, then calls pop_id.
Sourcewith_item_width(item_width :
Float32, &) :
Nil Calls push_item_width, yields to the block, then calls pop_item_width.
Sourcewith_style_color(idx :
ImGuiCol, col :
UInt32, &) :
Nil Calls push_style_color, yields to the block, then calls pop_style_color.
Sourcewith_style_color(idx : ImGuiCol, col : ImVec4, &) : Nil
Calls push_style_color, yields to the block, then calls pop_style_color.
Sourcewith_style_var(idx :
ImGuiStyleVar, val :
Float32, &) :
Nil Calls push_style_var, yields to the block, then calls pop_style_var.
Sourcewith_style_var(idx : ImGuiStyleVar, val : ImVec2, &) : Nil
Calls push_style_var, yields to the block, then calls pop_style_var.
Sourcewith_tab_stop(tab_stop :
Bool, &) :
Nil Calls push_tab_stop, yields to the block, then calls pop_tab_stop.
Sourcewith_text_wrap_pos(wrap_local_pos_x :
Float32 = 0.0, &) :
Nil Calls push_text_wrap_pos, yields to the block, then calls pop_text_wrap_pos.
Sourcewith_tree(str_id :
String, &) :
Nil Calls tree_push, yields to the block, then calls tree_pop.
SourceCalls tree_push, yields to the block, then calls tree_pop.
SourceMacros
begin(*args, **kwargs, &block)
Sourcebegin_tab_item(*args, **kwargs, &block)
Sourcecheckbox(*args, **kwargs, &block)
Sourcecheckbox_flags(*args, **kwargs, &block)
Sourcecolor_edit3(*args, **kwargs, &block)
Sourcecolor_edit4(*args, **kwargs, &block)
Sourcecolor_picker3(*args, **kwargs, &block)
Sourcecolor_picker4(*args, **kwargs, &block)
Sourcecombo(*args, **kwargs, &block)
Sourcedrag_float(*args, **kwargs, &block)
Sourcedrag_float2(*args, **kwargs, &block)
Sourcedrag_float3(*args, **kwargs, &block)
Sourcedrag_float4(*args, **kwargs, &block)
Sourcedrag_float_range2(*args, **kwargs, &block)
Sourcedrag_int(*args, **kwargs, &block)
Sourcedrag_int2(*args, **kwargs, &block)
Sourcedrag_int3(*args, **kwargs, &block)
Sourcedrag_int4(*args, **kwargs, &block)
Sourcedrag_int_range2(*args, **kwargs, &block)
Sourcedrag_scalar(*args, **kwargs, &block)
drag_scalar_n(*args, **kwargs, &block)
get_allocator_functions(*args, **kwargs, &block)
Sourcelist_box(*args, **kwargs, &block)
Sourceselectable(*args, **kwargs, &block)
Sourceshow_about_window(*args, **kwargs, &block)
Sourceshow_debug_log_window(*args, **kwargs, &block)
Sourceshow_demo_window(*args, **kwargs, &block)
Sourceshow_metrics_window(*args, **kwargs, &block)
Sourceslider_angle(*args, **kwargs, &block)
Sourceslider_float(*args, **kwargs, &block)
Sourceslider_float2(*args, **kwargs, &block)
Sourceslider_float3(*args, **kwargs, &block)
Sourceslider_float4(*args, **kwargs, &block)
Sourceslider_int(*args, **kwargs, &block)
Sourceslider_int2(*args, **kwargs, &block)
Sourceslider_int3(*args, **kwargs, &block)
Sourceslider_int4(*args, **kwargs, &block)
Sourceslider_scalar(*args, **kwargs, &block)
slider_scalar_n(*args, **kwargs, &block)
tab_item(*args, **kwargs, &block)
Calls begin_tab_item, conditionally yields to the block, then conditionally calls end_tab_item.
Sourcev_slider_float(*args, **kwargs, &block)
Sourcev_slider_int(*args, **kwargs, &block)
Sourcev_slider_scalar(*args, **kwargs, &block)
window(*args, **kwargs, &block)
Calls begin, conditionally yields to the block, then calls end.
Source