wxruby3 0.9.4-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +32 -21
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/combo_ctrl.rb +171 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/comboctrl.rb +128 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +3 -55
- data/lib/wx/doc/gen/art_provider.rb +1 -3
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -349
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -37
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -2
- data/lib/wx/doc/gen/colour_dialog.rb +2 -2
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +4 -3
- data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -4
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -2
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +3 -25
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -3
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +2 -59
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -2
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2716 -2724
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -2
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -3
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -2
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -7
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -3
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -2
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1938
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -384
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -18
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -85
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -279
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -44
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -2
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -2
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -2
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +2 -2
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4199
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -6
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -3
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -2
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -2
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/doc/owner_drawn_combobox.rb +5 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- data/tests/test_combo_ctrl.rb +196 -0
- metadata +25 -4
@@ -6,461 +6,465 @@
|
|
6
6
|
|
7
7
|
module Wx::AUI
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
# The appearance of this class is configurable and can be changed by calling {Wx::AUI::AuiToolBar#set_art_provider}. By default, native art provider is used if available (currently only in WXMSW) and {Wx::AuiGenericToolBarArt} otherwise.
|
13
|
-
# ### Styles
|
14
|
-
#
|
15
|
-
# This class supports the following styles:
|
16
|
-
#
|
17
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}: Display the label strings on the toolbar buttons.
|
18
|
-
#
|
19
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_TOOLTIPS}: Do not show tooltips for the toolbar items.
|
20
|
-
#
|
21
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_AUTORESIZE}: Do not automatically resize the toolbar when new tools are added.
|
22
|
-
#
|
23
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_GRIPPER}: Show the toolbar's gripper control. If the toolbar is added to an AUI pane that contains a gripper, this style will be automatically set.
|
24
|
-
#
|
25
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_OVERFLOW}: Show an overflow menu containing toolbar items that can't fit on the toolbar if it is too small.
|
26
|
-
#
|
27
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}: Using this style forces the toolbar to be vertical and be only dockable to the left or right sides of the window whereas by default it can be horizontal or vertical and be docked anywhere.
|
28
|
-
#
|
29
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT}:
|
30
|
-
#
|
31
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORIZONTAL}: Analogous to {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}, but forces the toolbar to be horizontal.
|
32
|
-
#
|
33
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_PLAIN_BACKGROUND}: Draw a plain background (based on parent) instead of the default gradient background.
|
34
|
-
#
|
35
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_TEXT}: Equivalent to {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT} | {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}
|
36
|
-
#
|
37
|
-
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE}: The default is to have no styles.
|
38
|
-
#
|
39
|
-
# ### Events emitted by this class
|
40
|
-
#
|
41
|
-
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiToolBarEvent} events.
|
42
|
-
# Event handler methods for events emitted by this class:
|
43
|
-
#
|
44
|
-
# - {Wx::EvtHandler#evt_auitoolbar_tool_dropdown}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_TOOL_DROPDOWN} event
|
45
|
-
#
|
46
|
-
# - {Wx::EvtHandler#evt_auitoolbar_overflow_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_OVERFLOW_CLICK} event
|
47
|
-
#
|
48
|
-
# - {Wx::EvtHandler#evt_auitoolbar_right_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_RIGHT_CLICK} event
|
49
|
-
#
|
50
|
-
# - {Wx::EvtHandler#evt_auitoolbar_middle_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_MIDDLE_CLICK} event
|
51
|
-
#
|
52
|
-
# - {Wx::EvtHandler#evt_auitoolbar_begin_drag}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_BEGIN_DRAG} event
|
53
|
-
#
|
54
|
-
# Category: Window Docking (wxAUI)
|
55
|
-
#
|
56
|
-
# @wxrb_require USE_AUI
|
57
|
-
class AuiToolBar < Control
|
58
|
-
|
59
|
-
# @overload initialize()
|
60
|
-
# Default constructor, use {Wx::AUI::AuiToolBar#create} later.
|
61
|
-
# @return [Wx::AUI::AuiToolBar]
|
62
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, position=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE)
|
63
|
-
# Constructor creating and initializing the object.
|
64
|
-
# @param parent [Wx::Window]
|
65
|
-
# @param id [Integer]
|
66
|
-
# @param position [Array(Integer, Integer), Wx::Point]
|
67
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
68
|
-
# @param style [Integer]
|
69
|
-
# @return [Wx::AUI::AuiToolBar]
|
70
|
-
def initialize(*args) end
|
71
|
-
|
72
|
-
# Really create {Wx::AUI::AuiToolBar} created using default constructor.
|
73
|
-
# @param parent [Wx::Window]
|
74
|
-
# @param id [Integer]
|
75
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
76
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
77
|
-
# @param style [Integer]
|
78
|
-
# @return [Boolean]
|
79
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE) end
|
80
|
-
|
81
|
-
# Sets the style of the window.
|
9
|
+
module Wx::AUI
|
10
|
+
|
11
|
+
# {Wx::AUI::AuiToolBar} is a dockable toolbar, part of the {Wx::AUI} class framework.
|
82
12
|
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
# @param style [Integer]
|
87
|
-
# @return [void]
|
88
|
-
def set_window_style_flag(style) end
|
89
|
-
alias_method :window_style_flag=, :set_window_style_flag
|
90
|
-
|
91
|
-
# Gets the window style that was passed to the constructor or {Wx::AUI::AuiToolBar#create} method.
|
13
|
+
# See also wxAUI Overview.
|
14
|
+
# The appearance of this class is configurable and can be changed by calling {Wx::AUI::AuiToolBar#set_art_provider}. By default, native art provider is used if available (currently only in WXMSW) and {Wx::AuiGenericToolBarArt} otherwise.
|
15
|
+
# ### Styles
|
92
16
|
#
|
93
|
-
#
|
94
|
-
# @return [Integer]
|
95
|
-
def get_window_style_flag; end
|
96
|
-
alias_method :window_style_flag, :get_window_style_flag
|
97
|
-
|
98
|
-
# @param art [Wx::AUI::AuiToolBarArt]
|
99
|
-
# @return [void]
|
100
|
-
def set_art_provider(art) end
|
101
|
-
alias_method :art_provider=, :set_art_provider
|
102
|
-
|
103
|
-
# @return [Wx::AUI::AuiToolBarArt]
|
104
|
-
def get_art_provider; end
|
105
|
-
alias_method :art_provider, :get_art_provider
|
106
|
-
|
107
|
-
# Sets the font for this window.
|
17
|
+
# This class supports the following styles:
|
108
18
|
#
|
109
|
-
#
|
110
|
-
# Please notice that the given font is not automatically used for {Wx::PaintDC} objects associated with this window, you need to call {Wx::DC#set_font} too. However this font is used by any standard controls for drawing their text as well as by {Wx::AUI::AuiToolBar#get_text_extent}.
|
19
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}: Display the label strings on the toolbar buttons.
|
111
20
|
#
|
112
|
-
#
|
113
|
-
# @see Wx::AUI::AuiToolBar#get_font
|
114
|
-
# @see Wx::AUI::AuiToolBar#inherit_attributes
|
115
|
-
# @param font [Wx::Font,Wx::FontInfo] Font to associate with this window, pass {Wx::NULL_FONT} to reset to the default font.
|
116
|
-
# @return [Boolean]
|
117
|
-
def set_font(font) end
|
118
|
-
alias_method :font=, :set_font
|
119
|
-
|
120
|
-
# @overload add_tool(toolId, label, bitmap, short_help_string=(''), kind=Wx::ItemKind::ITEM_NORMAL)
|
121
|
-
# @param toolId [Integer]
|
122
|
-
# @param label [String]
|
123
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
124
|
-
# @param short_help_string [String]
|
125
|
-
# @param kind [Wx::ItemKind]
|
126
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
127
|
-
# @overload add_tool(toolId, label, bitmap, disabled_bitmap, kind, short_help_string, long_help_string, client_data)
|
128
|
-
# @param toolId [Integer]
|
129
|
-
# @param label [String]
|
130
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
131
|
-
# @param disabled_bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
132
|
-
# @param kind [Wx::ItemKind]
|
133
|
-
# @param short_help_string [String]
|
134
|
-
# @param long_help_string [String]
|
135
|
-
# @param client_data [Wx::Object]
|
136
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
137
|
-
# @overload add_tool(toolId, bitmap, disabled_bitmap, toggle=false, client_data=nil, short_help_string=(''), long_help_string=(''))
|
138
|
-
# @param toolId [Integer]
|
139
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
140
|
-
# @param disabled_bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
141
|
-
# @param toggle [Boolean]
|
142
|
-
# @param client_data [Wx::Object]
|
143
|
-
# @param short_help_string [String]
|
144
|
-
# @param long_help_string [String]
|
145
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
146
|
-
def add_tool(*args) end
|
147
|
-
|
148
|
-
# @param toolId [Integer]
|
149
|
-
# @param label [String]
|
150
|
-
# @param width [Integer]
|
151
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
152
|
-
def add_label(toolId, label=(''), width=-1) end
|
153
|
-
|
154
|
-
# @param control [Wx::Control]
|
155
|
-
# @param label [String]
|
156
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
157
|
-
def add_control(control, label=('')) end
|
158
|
-
|
159
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
160
|
-
def add_separator; end
|
161
|
-
|
162
|
-
# @param pixels [Integer]
|
163
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
164
|
-
def add_spacer(pixels) end
|
165
|
-
|
166
|
-
# @param proportion [Integer]
|
167
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
168
|
-
def add_stretch_spacer(proportion=1) end
|
169
|
-
|
170
|
-
# @return [Boolean]
|
171
|
-
def realize; end
|
172
|
-
|
173
|
-
# @param window_id [Integer]
|
174
|
-
# @return [Wx::Control]
|
175
|
-
def find_control(window_id) end
|
176
|
-
|
177
|
-
# @param x [Integer]
|
178
|
-
# @param y [Integer]
|
179
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
180
|
-
def find_tool_by_position(x, y) end
|
181
|
-
|
182
|
-
# @param idx [Integer]
|
183
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
184
|
-
def find_tool_by_index(idx) end
|
185
|
-
|
186
|
-
# @param toolId [Integer]
|
187
|
-
# @return [Wx::AUI::AuiToolBarItem]
|
188
|
-
def find_tool(toolId) end
|
189
|
-
|
190
|
-
# @return [void]
|
191
|
-
def clear_tools; end
|
192
|
-
|
193
|
-
# @return [void]
|
194
|
-
def clear; end
|
195
|
-
|
196
|
-
# Destroys the tool with the given ID and its associated window, if any.
|
21
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_TOOLTIPS}: Do not show tooltips for the toolbar items.
|
197
22
|
#
|
198
|
-
#
|
199
|
-
# @param toolId [Integer] ID of a previously added tool.
|
200
|
-
# @return [Boolean]
|
201
|
-
def destroy_tool(toolId) end
|
202
|
-
|
203
|
-
# Destroys the tool at the given position and its associated window, if any.
|
23
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_AUTORESIZE}: Do not automatically resize the toolbar when new tools are added.
|
204
24
|
#
|
205
|
-
#
|
206
|
-
# @param idx [Integer] The index, or position, of a previously added tool.
|
207
|
-
# @return [Boolean]
|
208
|
-
def destroy_tool_by_index(idx) end
|
209
|
-
|
210
|
-
# Removes the tool with the given ID from the toolbar.
|
25
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_GRIPPER}: Show the toolbar's gripper control. If the toolbar is added to an AUI pane that contains a gripper, this style will be automatically set.
|
211
26
|
#
|
212
|
-
#
|
27
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_OVERFLOW}: Show an overflow menu containing toolbar items that can't fit on the toolbar if it is too small.
|
213
28
|
#
|
214
|
-
#
|
215
|
-
# @param toolId [Integer] ID of a previously added tool.
|
216
|
-
# @return [Boolean]
|
217
|
-
def delete_tool(toolId) end
|
218
|
-
|
219
|
-
# Removes the tool at the given position from the toolbar.
|
29
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}: Using this style forces the toolbar to be vertical and be only dockable to the left or right sides of the window whereas by default it can be horizontal or vertical and be docked anywhere.
|
220
30
|
#
|
221
|
-
#
|
31
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT}:
|
222
32
|
#
|
223
|
-
#
|
224
|
-
# @param idx [Integer] The index, or position, of a previously added tool.
|
225
|
-
# @return [Boolean]
|
226
|
-
def delete_by_index(idx) end
|
227
|
-
|
228
|
-
# @return [Integer]
|
229
|
-
def get_tool_count; end
|
230
|
-
alias_method :tool_count, :get_tool_count
|
231
|
-
|
232
|
-
# @param toolId [Integer]
|
233
|
-
# @return [Integer]
|
234
|
-
def get_tool_pos(toolId) end
|
235
|
-
alias_method :tool_pos, :get_tool_pos
|
236
|
-
|
237
|
-
# @param toolId [Integer]
|
238
|
-
# @return [Integer]
|
239
|
-
def get_tool_index(toolId) end
|
240
|
-
alias_method :tool_index, :get_tool_index
|
241
|
-
|
242
|
-
# @param toolId [Integer]
|
243
|
-
# @return [Boolean]
|
244
|
-
def get_tool_fits(toolId) end
|
245
|
-
alias_method :tool_fits, :get_tool_fits
|
246
|
-
|
247
|
-
# @param toolId [Integer]
|
248
|
-
# @return [Wx::Rect]
|
249
|
-
def get_tool_rect(toolId) end
|
250
|
-
alias_method :tool_rect, :get_tool_rect
|
251
|
-
|
252
|
-
# @param toolId [Integer]
|
253
|
-
# @return [Boolean]
|
254
|
-
def get_tool_fits_by_index(toolId) end
|
255
|
-
alias_method :tool_fits_by_index, :get_tool_fits_by_index
|
256
|
-
|
257
|
-
# @return [Boolean]
|
258
|
-
def get_tool_bar_fits; end
|
259
|
-
alias_method :tool_bar_fits, :get_tool_bar_fits
|
260
|
-
|
261
|
-
# @overload set_margins(size)
|
262
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
263
|
-
# @return [void]
|
264
|
-
# @overload set_margins(x, y)
|
265
|
-
# @param x [Integer]
|
266
|
-
# @param y [Integer]
|
267
|
-
# @return [void]
|
268
|
-
# @overload set_margins(left, right, top, bottom)
|
269
|
-
# @param left [Integer]
|
270
|
-
# @param right [Integer]
|
271
|
-
# @param top [Integer]
|
272
|
-
# @param bottom [Integer]
|
273
|
-
# @return [void]
|
274
|
-
def set_margins(*args) end
|
275
|
-
alias_method :margins=, :set_margins
|
276
|
-
|
277
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
278
|
-
# @return [void]
|
279
|
-
def set_tool_bitmap_size(size) end
|
280
|
-
alias_method :tool_bitmap_size=, :set_tool_bitmap_size
|
281
|
-
|
282
|
-
# @return [Wx::Size]
|
283
|
-
def get_tool_bitmap_size; end
|
284
|
-
alias_method :tool_bitmap_size, :get_tool_bitmap_size
|
285
|
-
|
286
|
-
# @return [Boolean]
|
287
|
-
def get_overflow_visible; end
|
288
|
-
alias_method :overflow_visible, :get_overflow_visible
|
289
|
-
|
290
|
-
# @param visible [Boolean]
|
291
|
-
# @return [void]
|
292
|
-
def set_overflow_visible(visible) end
|
293
|
-
alias_method :overflow_visible=, :set_overflow_visible
|
294
|
-
|
295
|
-
# @return [Boolean]
|
296
|
-
def get_gripper_visible; end
|
297
|
-
alias_method :gripper_visible, :get_gripper_visible
|
298
|
-
|
299
|
-
# @param visible [Boolean]
|
300
|
-
# @return [void]
|
301
|
-
def set_gripper_visible(visible) end
|
302
|
-
alias_method :gripper_visible=, :set_gripper_visible
|
303
|
-
|
304
|
-
# @param toolId [Integer]
|
305
|
-
# @param state [Boolean]
|
306
|
-
# @return [void]
|
307
|
-
def toggle_tool(toolId, state) end
|
308
|
-
|
309
|
-
# @param toolId [Integer]
|
310
|
-
# @return [Boolean]
|
311
|
-
def get_tool_toggled(toolId) end
|
312
|
-
alias_method :tool_toggled, :get_tool_toggled
|
313
|
-
|
314
|
-
# @param toolId [Integer]
|
315
|
-
# @param state [Boolean]
|
316
|
-
# @return [void]
|
317
|
-
def enable_tool(toolId, state) end
|
318
|
-
|
319
|
-
# @param toolId [Integer]
|
320
|
-
# @return [Boolean]
|
321
|
-
def get_tool_enabled(toolId) end
|
322
|
-
alias_method :tool_enabled, :get_tool_enabled
|
323
|
-
|
324
|
-
# Set whether the specified toolbar item has a drop down button.
|
33
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORIZONTAL}: Analogous to {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}, but forces the toolbar to be horizontal.
|
325
34
|
#
|
326
|
-
#
|
327
|
-
# @see Wx::AUI::AuiToolBarItem#set_has_drop_down
|
328
|
-
# @param toolId [Integer]
|
329
|
-
# @param dropdown [Boolean]
|
330
|
-
# @return [void]
|
331
|
-
def set_tool_drop_down(toolId, dropdown) end
|
332
|
-
|
333
|
-
# Returns whether the specified toolbar item has an associated drop down button.
|
35
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_PLAIN_BACKGROUND}: Draw a plain background (based on parent) instead of the default gradient background.
|
334
36
|
#
|
37
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_TEXT}: Equivalent to {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT} | {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}
|
335
38
|
#
|
336
|
-
#
|
337
|
-
# @param toolId [Integer]
|
338
|
-
# @return [Boolean]
|
339
|
-
def get_tool_drop_down(toolId) end
|
340
|
-
alias_method :tool_drop_down, :get_tool_drop_down
|
341
|
-
|
342
|
-
# @param padding [Integer]
|
343
|
-
# @return [void]
|
344
|
-
def set_tool_border_padding(padding) end
|
345
|
-
alias_method :tool_border_padding=, :set_tool_border_padding
|
346
|
-
|
347
|
-
# @return [Integer]
|
348
|
-
def get_tool_border_padding; end
|
349
|
-
alias_method :tool_border_padding, :get_tool_border_padding
|
350
|
-
|
351
|
-
# @param orientation [Integer]
|
352
|
-
# @return [void]
|
353
|
-
def set_tool_text_orientation(orientation) end
|
354
|
-
alias_method :tool_text_orientation=, :set_tool_text_orientation
|
355
|
-
|
356
|
-
# @return [Integer]
|
357
|
-
def get_tool_text_orientation; end
|
358
|
-
alias_method :tool_text_orientation, :get_tool_text_orientation
|
359
|
-
|
360
|
-
# @param packing [Integer]
|
361
|
-
# @return [void]
|
362
|
-
def set_tool_packing(packing) end
|
363
|
-
alias_method :tool_packing=, :set_tool_packing
|
364
|
-
|
365
|
-
# @return [Integer]
|
366
|
-
def get_tool_packing; end
|
367
|
-
alias_method :tool_packing, :get_tool_packing
|
368
|
-
|
369
|
-
# @param toolId [Integer]
|
370
|
-
# @param proportion [Integer]
|
371
|
-
# @return [void]
|
372
|
-
def set_tool_proportion(toolId, proportion) end
|
373
|
-
|
374
|
-
# @param toolId [Integer]
|
375
|
-
# @return [Integer]
|
376
|
-
def get_tool_proportion(toolId) end
|
377
|
-
alias_method :tool_proportion, :get_tool_proportion
|
378
|
-
|
379
|
-
# @param separation [Integer]
|
380
|
-
# @return [void]
|
381
|
-
def set_tool_separation(separation) end
|
382
|
-
alias_method :tool_separation=, :set_tool_separation
|
383
|
-
|
384
|
-
# @return [Integer]
|
385
|
-
def get_tool_separation; end
|
386
|
-
alias_method :tool_separation, :get_tool_separation
|
387
|
-
|
388
|
-
# @param toolId [Integer]
|
389
|
-
# @param sticky [Boolean]
|
390
|
-
# @return [void]
|
391
|
-
def set_tool_sticky(toolId, sticky) end
|
392
|
-
|
393
|
-
# @param toolId [Integer]
|
394
|
-
# @return [Boolean]
|
395
|
-
def get_tool_sticky(toolId) end
|
396
|
-
alias_method :tool_sticky, :get_tool_sticky
|
397
|
-
|
398
|
-
# @param toolId [Integer]
|
399
|
-
# @return [String]
|
400
|
-
def get_tool_label(toolId) end
|
401
|
-
alias_method :tool_label, :get_tool_label
|
402
|
-
|
403
|
-
# @param toolId [Integer]
|
404
|
-
# @param label [String]
|
405
|
-
# @return [void]
|
406
|
-
def set_tool_label(toolId, label) end
|
407
|
-
|
408
|
-
# @param toolId [Integer]
|
409
|
-
# @return [Wx::Bitmap]
|
410
|
-
def get_tool_bitmap(toolId) end
|
411
|
-
alias_method :tool_bitmap, :get_tool_bitmap
|
412
|
-
|
413
|
-
# @param toolId [Integer]
|
414
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
415
|
-
# @return [void]
|
416
|
-
def set_tool_bitmap(toolId, bitmap) end
|
417
|
-
|
418
|
-
# @param toolId [Integer]
|
419
|
-
# @return [String]
|
420
|
-
def get_tool_short_help(toolId) end
|
421
|
-
alias_method :tool_short_help, :get_tool_short_help
|
422
|
-
|
423
|
-
# @param toolId [Integer]
|
424
|
-
# @param help_string [String]
|
425
|
-
# @return [void]
|
426
|
-
def set_tool_short_help(toolId, help_string) end
|
427
|
-
|
428
|
-
# @param toolId [Integer]
|
429
|
-
# @return [String]
|
430
|
-
def get_tool_long_help(toolId) end
|
431
|
-
alias_method :tool_long_help, :get_tool_long_help
|
432
|
-
|
433
|
-
# @param toolId [Integer]
|
434
|
-
# @param help_string [String]
|
435
|
-
# @return [void]
|
436
|
-
def set_tool_long_help(toolId, help_string) end
|
437
|
-
|
438
|
-
# Add toolbar items that are always displayed in the overflow menu.
|
39
|
+
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE}: The default is to have no styles.
|
439
40
|
#
|
440
|
-
#
|
41
|
+
# ### Events emitted by this class
|
441
42
|
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
|
451
|
-
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
43
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiToolBarEvent} events.
|
44
|
+
# Event handler methods for events emitted by this class:
|
45
|
+
#
|
46
|
+
# - {Wx::EvtHandler#evt_auitoolbar_tool_dropdown}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_TOOL_DROPDOWN} event
|
47
|
+
#
|
48
|
+
# - {Wx::EvtHandler#evt_auitoolbar_overflow_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_OVERFLOW_CLICK} event
|
49
|
+
#
|
50
|
+
# - {Wx::EvtHandler#evt_auitoolbar_right_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_RIGHT_CLICK} event
|
51
|
+
#
|
52
|
+
# - {Wx::EvtHandler#evt_auitoolbar_middle_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_MIDDLE_CLICK} event
|
53
|
+
#
|
54
|
+
# - {Wx::EvtHandler#evt_auitoolbar_begin_drag}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_BEGIN_DRAG} event
|
55
|
+
#
|
56
|
+
# Category: Window Docking (wxAUI)
|
57
|
+
#
|
58
|
+
# @wxrb_require USE_AUI
|
59
|
+
class AuiToolBar < Control
|
60
|
+
|
61
|
+
# @overload initialize()
|
62
|
+
# Default constructor, use {Wx::AUI::AuiToolBar#create} later.
|
63
|
+
# @return [Wx::AUI::AuiToolBar]
|
64
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, position=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE)
|
65
|
+
# Constructor creating and initializing the object.
|
66
|
+
# @param parent [Wx::Window]
|
67
|
+
# @param id [Integer]
|
68
|
+
# @param position [Array(Integer, Integer), Wx::Point]
|
69
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
70
|
+
# @param style [Integer]
|
71
|
+
# @return [Wx::AUI::AuiToolBar]
|
72
|
+
def initialize(*args) end
|
73
|
+
|
74
|
+
# Really create {Wx::AUI::AuiToolBar} created using default constructor.
|
75
|
+
# @param parent [Wx::Window]
|
76
|
+
# @param id [Integer]
|
77
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
78
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
79
|
+
# @param style [Integer]
|
80
|
+
# @return [Boolean]
|
81
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE) end
|
82
|
+
|
83
|
+
# Sets the style of the window.
|
84
|
+
#
|
85
|
+
# Please note that some styles cannot be changed after the window creation and that {Wx::AUI::AuiToolBar#refresh} might need to be called after changing the others for the change to take place immediately.
|
86
|
+
# See Window styles for more information about flags.
|
87
|
+
# @see Wx::AUI::AuiToolBar#get_window_style_flag
|
88
|
+
# @param style [Integer]
|
89
|
+
# @return [void]
|
90
|
+
def set_window_style_flag(style) end
|
91
|
+
alias_method :window_style_flag=, :set_window_style_flag
|
92
|
+
|
93
|
+
# Gets the window style that was passed to the constructor or {Wx::AUI::AuiToolBar#create} method.
|
94
|
+
#
|
95
|
+
# {Wx::AUI::AuiToolBar#get_window_style} is another name for the same function.
|
96
|
+
# @return [Integer]
|
97
|
+
def get_window_style_flag; end
|
98
|
+
alias_method :window_style_flag, :get_window_style_flag
|
99
|
+
|
100
|
+
# @param art [Wx::AUI::AuiToolBarArt]
|
101
|
+
# @return [void]
|
102
|
+
def set_art_provider(art) end
|
103
|
+
alias_method :art_provider=, :set_art_provider
|
104
|
+
|
105
|
+
# @return [Wx::AUI::AuiToolBarArt]
|
106
|
+
def get_art_provider; end
|
107
|
+
alias_method :art_provider, :get_art_provider
|
108
|
+
|
109
|
+
# Sets the font for this window.
|
110
|
+
#
|
111
|
+
# This function should not be called for the parent window if you don't want its font to be inherited by its children, use {Wx::AUI::AuiToolBar#set_own_font} instead in this case and see {Wx::AUI::AuiToolBar#inherit_attributes} for more explanations.
|
112
|
+
# Please notice that the given font is not automatically used for {Wx::PaintDC} objects associated with this window, you need to call {Wx::DC#set_font} too. However this font is used by any standard controls for drawing their text as well as by {Wx::AUI::AuiToolBar#get_text_extent}.
|
113
|
+
#
|
114
|
+
# true if the font was really changed, false if it was already set to this font and nothing was done.
|
115
|
+
# @see Wx::AUI::AuiToolBar#get_font
|
116
|
+
# @see Wx::AUI::AuiToolBar#inherit_attributes
|
117
|
+
# @param font [Wx::Font,Wx::FontInfo] Font to associate with this window, pass {Wx::NULL_FONT} to reset to the default font.
|
118
|
+
# @return [Boolean]
|
119
|
+
def set_font(font) end
|
120
|
+
alias_method :font=, :set_font
|
121
|
+
|
122
|
+
# @overload add_tool(toolId, label, bitmap, short_help_string=(''), kind=Wx::ItemKind::ITEM_NORMAL)
|
123
|
+
# @param toolId [Integer]
|
124
|
+
# @param label [String]
|
125
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
126
|
+
# @param short_help_string [String]
|
127
|
+
# @param kind [Wx::ItemKind]
|
128
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
129
|
+
# @overload add_tool(toolId, label, bitmap, disabled_bitmap, kind, short_help_string, long_help_string, client_data)
|
130
|
+
# @param toolId [Integer]
|
131
|
+
# @param label [String]
|
132
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
133
|
+
# @param disabled_bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
134
|
+
# @param kind [Wx::ItemKind]
|
135
|
+
# @param short_help_string [String]
|
136
|
+
# @param long_help_string [String]
|
137
|
+
# @param client_data [Wx::Object]
|
138
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
139
|
+
# @overload add_tool(toolId, bitmap, disabled_bitmap, toggle=false, client_data=nil, short_help_string=(''), long_help_string=(''))
|
140
|
+
# @param toolId [Integer]
|
141
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
142
|
+
# @param disabled_bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
143
|
+
# @param toggle [Boolean]
|
144
|
+
# @param client_data [Wx::Object]
|
145
|
+
# @param short_help_string [String]
|
146
|
+
# @param long_help_string [String]
|
147
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
148
|
+
def add_tool(*args) end
|
149
|
+
|
150
|
+
# @param toolId [Integer]
|
151
|
+
# @param label [String]
|
152
|
+
# @param width [Integer]
|
153
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
154
|
+
def add_label(toolId, label=(''), width=-1) end
|
155
|
+
|
156
|
+
# @param control [Wx::Control]
|
157
|
+
# @param label [String]
|
158
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
159
|
+
def add_control(control, label=('')) end
|
160
|
+
|
161
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
162
|
+
def add_separator; end
|
163
|
+
|
164
|
+
# @param pixels [Integer]
|
165
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
166
|
+
def add_spacer(pixels) end
|
167
|
+
|
168
|
+
# @param proportion [Integer]
|
169
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
170
|
+
def add_stretch_spacer(proportion=1) end
|
171
|
+
|
172
|
+
# @return [Boolean]
|
173
|
+
def realize; end
|
174
|
+
|
175
|
+
# @param window_id [Integer]
|
176
|
+
# @return [Wx::Control]
|
177
|
+
def find_control(window_id) end
|
178
|
+
|
179
|
+
# @param x [Integer]
|
180
|
+
# @param y [Integer]
|
181
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
182
|
+
def find_tool_by_position(x, y) end
|
183
|
+
|
184
|
+
# @param idx [Integer]
|
185
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
186
|
+
def find_tool_by_index(idx) end
|
187
|
+
|
188
|
+
# @param toolId [Integer]
|
189
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
190
|
+
def find_tool(toolId) end
|
191
|
+
|
192
|
+
# @return [void]
|
193
|
+
def clear_tools; end
|
194
|
+
|
195
|
+
# @return [void]
|
196
|
+
def clear; end
|
197
|
+
|
198
|
+
# Destroys the tool with the given ID and its associated window, if any.
|
199
|
+
#
|
200
|
+
# true if the tool was destroyed or false otherwise, e.g. if the tool with the given ID was not found.
|
201
|
+
# @param toolId [Integer] ID of a previously added tool.
|
202
|
+
# @return [Boolean]
|
203
|
+
def destroy_tool(toolId) end
|
204
|
+
|
205
|
+
# Destroys the tool at the given position and its associated window, if any.
|
206
|
+
#
|
207
|
+
# true if the tool was destroyed or false otherwise, e.g. if the provided index is out of range.
|
208
|
+
# @param idx [Integer] The index, or position, of a previously added tool.
|
209
|
+
# @return [Boolean]
|
210
|
+
def destroy_tool_by_index(idx) end
|
211
|
+
|
212
|
+
# Removes the tool with the given ID from the toolbar.
|
213
|
+
#
|
214
|
+
# Note that if this tool was added by {Wx::AUI::AuiToolBar#add_control}, the associated control is not deleted and must either be reused (e.g. by reparenting it under a different window) or destroyed by caller. If this behaviour is unwanted, prefer using {Wx::AUI::AuiToolBar#destroy_tool} instead.
|
215
|
+
#
|
216
|
+
# true if the tool was removed or false otherwise, e.g. if the tool with the given ID was not found.
|
217
|
+
# @param toolId [Integer] ID of a previously added tool.
|
218
|
+
# @return [Boolean]
|
219
|
+
def delete_tool(toolId) end
|
220
|
+
|
221
|
+
# Removes the tool at the given position from the toolbar.
|
222
|
+
#
|
223
|
+
# Note that if this tool was added by {Wx::AUI::AuiToolBar#add_control}, the associated control is not deleted and must either be reused (e.g. by reparenting it under a different window) or destroyed by caller. If this behaviour is unwanted, prefer using {Wx::AUI::AuiToolBar#destroy_tool_by_index} instead.
|
224
|
+
#
|
225
|
+
# true if the tool was removed or false otherwise, e.g. if the provided index is out of range.
|
226
|
+
# @param idx [Integer] The index, or position, of a previously added tool.
|
227
|
+
# @return [Boolean]
|
228
|
+
def delete_by_index(idx) end
|
229
|
+
|
230
|
+
# @return [Integer]
|
231
|
+
def get_tool_count; end
|
232
|
+
alias_method :tool_count, :get_tool_count
|
233
|
+
|
234
|
+
# @param toolId [Integer]
|
235
|
+
# @return [Integer]
|
236
|
+
def get_tool_pos(toolId) end
|
237
|
+
alias_method :tool_pos, :get_tool_pos
|
238
|
+
|
239
|
+
# @param toolId [Integer]
|
240
|
+
# @return [Integer]
|
241
|
+
def get_tool_index(toolId) end
|
242
|
+
alias_method :tool_index, :get_tool_index
|
243
|
+
|
244
|
+
# @param toolId [Integer]
|
245
|
+
# @return [Boolean]
|
246
|
+
def get_tool_fits(toolId) end
|
247
|
+
alias_method :tool_fits, :get_tool_fits
|
248
|
+
|
249
|
+
# @param toolId [Integer]
|
250
|
+
# @return [Wx::Rect]
|
251
|
+
def get_tool_rect(toolId) end
|
252
|
+
alias_method :tool_rect, :get_tool_rect
|
253
|
+
|
254
|
+
# @param toolId [Integer]
|
255
|
+
# @return [Boolean]
|
256
|
+
def get_tool_fits_by_index(toolId) end
|
257
|
+
alias_method :tool_fits_by_index, :get_tool_fits_by_index
|
258
|
+
|
259
|
+
# @return [Boolean]
|
260
|
+
def get_tool_bar_fits; end
|
261
|
+
alias_method :tool_bar_fits, :get_tool_bar_fits
|
262
|
+
|
263
|
+
# @overload set_margins(size)
|
264
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
265
|
+
# @return [void]
|
266
|
+
# @overload set_margins(x, y)
|
267
|
+
# @param x [Integer]
|
268
|
+
# @param y [Integer]
|
269
|
+
# @return [void]
|
270
|
+
# @overload set_margins(left, right, top, bottom)
|
271
|
+
# @param left [Integer]
|
272
|
+
# @param right [Integer]
|
273
|
+
# @param top [Integer]
|
274
|
+
# @param bottom [Integer]
|
275
|
+
# @return [void]
|
276
|
+
def set_margins(*args) end
|
277
|
+
alias_method :margins=, :set_margins
|
278
|
+
|
279
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
280
|
+
# @return [void]
|
281
|
+
def set_tool_bitmap_size(size) end
|
282
|
+
alias_method :tool_bitmap_size=, :set_tool_bitmap_size
|
283
|
+
|
284
|
+
# @return [Wx::Size]
|
285
|
+
def get_tool_bitmap_size; end
|
286
|
+
alias_method :tool_bitmap_size, :get_tool_bitmap_size
|
287
|
+
|
288
|
+
# @return [Boolean]
|
289
|
+
def get_overflow_visible; end
|
290
|
+
alias_method :overflow_visible, :get_overflow_visible
|
291
|
+
|
292
|
+
# @param visible [Boolean]
|
293
|
+
# @return [void]
|
294
|
+
def set_overflow_visible(visible) end
|
295
|
+
alias_method :overflow_visible=, :set_overflow_visible
|
296
|
+
|
297
|
+
# @return [Boolean]
|
298
|
+
def get_gripper_visible; end
|
299
|
+
alias_method :gripper_visible, :get_gripper_visible
|
300
|
+
|
301
|
+
# @param visible [Boolean]
|
302
|
+
# @return [void]
|
303
|
+
def set_gripper_visible(visible) end
|
304
|
+
alias_method :gripper_visible=, :set_gripper_visible
|
305
|
+
|
306
|
+
# @param toolId [Integer]
|
307
|
+
# @param state [Boolean]
|
308
|
+
# @return [void]
|
309
|
+
def toggle_tool(toolId, state) end
|
310
|
+
|
311
|
+
# @param toolId [Integer]
|
312
|
+
# @return [Boolean]
|
313
|
+
def get_tool_toggled(toolId) end
|
314
|
+
alias_method :tool_toggled, :get_tool_toggled
|
315
|
+
|
316
|
+
# @param toolId [Integer]
|
317
|
+
# @param state [Boolean]
|
318
|
+
# @return [void]
|
319
|
+
def enable_tool(toolId, state) end
|
320
|
+
|
321
|
+
# @param toolId [Integer]
|
322
|
+
# @return [Boolean]
|
323
|
+
def get_tool_enabled(toolId) end
|
324
|
+
alias_method :tool_enabled, :get_tool_enabled
|
325
|
+
|
326
|
+
# Set whether the specified toolbar item has a drop down button.
|
327
|
+
#
|
328
|
+
# This is only valid for {Wx::ItemKind::ITEM_NORMAL} tools.
|
329
|
+
# @see Wx::AUI::AuiToolBarItem#set_has_drop_down
|
330
|
+
# @param toolId [Integer]
|
331
|
+
# @param dropdown [Boolean]
|
332
|
+
# @return [void]
|
333
|
+
def set_tool_drop_down(toolId, dropdown) end
|
334
|
+
|
335
|
+
# Returns whether the specified toolbar item has an associated drop down button.
|
336
|
+
#
|
337
|
+
#
|
338
|
+
# @see Wx::AUI::AuiToolBarItem#has_drop_down
|
339
|
+
# @param toolId [Integer]
|
340
|
+
# @return [Boolean]
|
341
|
+
def get_tool_drop_down(toolId) end
|
342
|
+
alias_method :tool_drop_down, :get_tool_drop_down
|
343
|
+
|
344
|
+
# @param padding [Integer]
|
345
|
+
# @return [void]
|
346
|
+
def set_tool_border_padding(padding) end
|
347
|
+
alias_method :tool_border_padding=, :set_tool_border_padding
|
348
|
+
|
349
|
+
# @return [Integer]
|
350
|
+
def get_tool_border_padding; end
|
351
|
+
alias_method :tool_border_padding, :get_tool_border_padding
|
352
|
+
|
353
|
+
# @param orientation [Integer]
|
354
|
+
# @return [void]
|
355
|
+
def set_tool_text_orientation(orientation) end
|
356
|
+
alias_method :tool_text_orientation=, :set_tool_text_orientation
|
357
|
+
|
358
|
+
# @return [Integer]
|
359
|
+
def get_tool_text_orientation; end
|
360
|
+
alias_method :tool_text_orientation, :get_tool_text_orientation
|
361
|
+
|
362
|
+
# @param packing [Integer]
|
363
|
+
# @return [void]
|
364
|
+
def set_tool_packing(packing) end
|
365
|
+
alias_method :tool_packing=, :set_tool_packing
|
366
|
+
|
367
|
+
# @return [Integer]
|
368
|
+
def get_tool_packing; end
|
369
|
+
alias_method :tool_packing, :get_tool_packing
|
370
|
+
|
371
|
+
# @param toolId [Integer]
|
372
|
+
# @param proportion [Integer]
|
373
|
+
# @return [void]
|
374
|
+
def set_tool_proportion(toolId, proportion) end
|
375
|
+
|
376
|
+
# @param toolId [Integer]
|
377
|
+
# @return [Integer]
|
378
|
+
def get_tool_proportion(toolId) end
|
379
|
+
alias_method :tool_proportion, :get_tool_proportion
|
380
|
+
|
381
|
+
# @param separation [Integer]
|
382
|
+
# @return [void]
|
383
|
+
def set_tool_separation(separation) end
|
384
|
+
alias_method :tool_separation=, :set_tool_separation
|
385
|
+
|
386
|
+
# @return [Integer]
|
387
|
+
def get_tool_separation; end
|
388
|
+
alias_method :tool_separation, :get_tool_separation
|
389
|
+
|
390
|
+
# @param toolId [Integer]
|
391
|
+
# @param sticky [Boolean]
|
392
|
+
# @return [void]
|
393
|
+
def set_tool_sticky(toolId, sticky) end
|
394
|
+
|
395
|
+
# @param toolId [Integer]
|
396
|
+
# @return [Boolean]
|
397
|
+
def get_tool_sticky(toolId) end
|
398
|
+
alias_method :tool_sticky, :get_tool_sticky
|
399
|
+
|
400
|
+
# @param toolId [Integer]
|
401
|
+
# @return [String]
|
402
|
+
def get_tool_label(toolId) end
|
403
|
+
alias_method :tool_label, :get_tool_label
|
404
|
+
|
405
|
+
# @param toolId [Integer]
|
406
|
+
# @param label [String]
|
407
|
+
# @return [void]
|
408
|
+
def set_tool_label(toolId, label) end
|
409
|
+
|
410
|
+
# @param toolId [Integer]
|
411
|
+
# @return [Wx::Bitmap]
|
412
|
+
def get_tool_bitmap(toolId) end
|
413
|
+
alias_method :tool_bitmap, :get_tool_bitmap
|
414
|
+
|
415
|
+
# @param toolId [Integer]
|
416
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
417
|
+
# @return [void]
|
418
|
+
def set_tool_bitmap(toolId, bitmap) end
|
419
|
+
|
420
|
+
# @param toolId [Integer]
|
421
|
+
# @return [String]
|
422
|
+
def get_tool_short_help(toolId) end
|
423
|
+
alias_method :tool_short_help, :get_tool_short_help
|
424
|
+
|
425
|
+
# @param toolId [Integer]
|
426
|
+
# @param help_string [String]
|
427
|
+
# @return [void]
|
428
|
+
def set_tool_short_help(toolId, help_string) end
|
429
|
+
|
430
|
+
# @param toolId [Integer]
|
431
|
+
# @return [String]
|
432
|
+
def get_tool_long_help(toolId) end
|
433
|
+
alias_method :tool_long_help, :get_tool_long_help
|
434
|
+
|
435
|
+
# @param toolId [Integer]
|
436
|
+
# @param help_string [String]
|
437
|
+
# @return [void]
|
438
|
+
def set_tool_long_help(toolId, help_string) end
|
439
|
+
|
440
|
+
# Add toolbar items that are always displayed in the overflow menu.
|
441
|
+
#
|
442
|
+
# If there are custom items set, then the overflow menu will be displayed even if there are no items from the main toolbar that overflow.
|
443
|
+
#
|
444
|
+
# <div class="wxrb-note">
|
445
|
+
# <b>Note:</b>
|
446
|
+
# <p>The toolbar must have the {Wx::AUI::AuiToolBarStyle::AUI_TB_OVERFLOW} style.
|
447
|
+
# </p>
|
448
|
+
# </div>
|
449
|
+
# @param prepend [Array<Wx::AUI::AuiToolBarItem>,nil] are the items to show before any overflow items
|
450
|
+
# @param append [Array<Wx::AUI::AuiToolBarItem>,nil] are the items to show after any overflow items
|
451
|
+
# @return [void]
|
452
|
+
def set_custom_overflow_items(prepend, append) end
|
453
|
+
|
454
|
+
# get size of hint rectangle for a particular dock location
|
455
|
+
# @param dock_direction [Integer]
|
456
|
+
# @return [Wx::Size]
|
457
|
+
def get_hint_size(dock_direction) end
|
458
|
+
alias_method :hint_size, :get_hint_size
|
459
|
+
|
460
|
+
# @param pane [Wx::AUI::AuiPaneInfo]
|
461
|
+
# @return [Boolean]
|
462
|
+
def is_pane_valid(pane) end
|
463
|
+
alias_method :pane_valid?, :is_pane_valid
|
464
|
+
|
465
|
+
end # AuiToolBar
|
462
466
|
|
463
|
-
end # AuiToolBar
|
464
|
-
|
465
467
|
|
466
|
-
end
|
468
|
+
end
|
469
|
+
|
470
|
+
end
|