wxruby3 0.9.5-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 +31 -20
- 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/ext.rb +22 -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 +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- 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 -348
- 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 -38
- 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 -1
- data/lib/wx/doc/gen/colour_dialog.rb +1 -1
- 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 +1 -1
- data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
- 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 -1
- 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 -1
- 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 +1 -1
- 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 -1
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
- 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 +1 -1
- 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 -1
- 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 +2722 -2718
- 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 -1
- 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 -1
- 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 -1
- 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 -1
- 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 -1
- 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 -1
- 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 -1925
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
- 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 -382
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
- 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 -17
- 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 -84
- 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 -282
- 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 -43
- 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 -1
- 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 -1
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -1
- 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 +1 -1
- 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 -4198
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
- 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 -1
- 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 -1
- 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 -1
- 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 -1
- 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 -1
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- 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/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
- metadata +23 -4
@@ -6,440 +6,444 @@
|
|
6
6
|
|
7
7
|
module Wx::RBN
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
9
|
+
module Wx::RBN
|
10
|
+
|
11
|
+
# Flags for button bar button size and state.
|
12
|
+
#
|
13
|
+
# Buttons on a ribbon button bar can each come in three sizes: small, medium, and large. In some places this is called the size class, and the term size used for the pixel width and height associated with a particular size class.
|
14
|
+
# A button can also be in zero or more hovered or active states, or in the disabled state.
|
15
|
+
#
|
16
|
+
# @wxrb_require USE_RIBBON
|
17
|
+
class RibbonButtonBarButtonState < Wx::Enum
|
18
|
+
|
19
|
+
# Button is small (the interpretation of small is dependent upon the art provider, but it will be smaller than medium).
|
20
|
+
#
|
21
|
+
RIBBON_BUTTONBAR_BUTTON_SMALL = Wx::RBN::RibbonButtonBarButtonState.new(0)
|
22
|
+
|
23
|
+
# Button is medium sized (the interpretation of medium is dependent upon the art provider, but it will be between small and large).
|
24
|
+
#
|
25
|
+
RIBBON_BUTTONBAR_BUTTON_MEDIUM = Wx::RBN::RibbonButtonBarButtonState.new(1)
|
26
|
+
|
27
|
+
# Button is large (the interpretation of large is dependent upon the art provider, but it will be larger than medium).
|
28
|
+
#
|
29
|
+
RIBBON_BUTTONBAR_BUTTON_LARGE = Wx::RBN::RibbonButtonBarButtonState.new(2)
|
30
|
+
|
31
|
+
# A mask to extract button size from a combination of flags.
|
32
|
+
#
|
33
|
+
RIBBON_BUTTONBAR_BUTTON_SIZE_MASK = Wx::RBN::RibbonButtonBarButtonState.new(3)
|
34
|
+
|
35
|
+
# The normal (non-dropdown) region of the button is being hovered over by the mouse cursor.
|
36
|
+
#
|
37
|
+
RIBBON_BUTTONBAR_BUTTON_NORMAL_HOVERED = Wx::RBN::RibbonButtonBarButtonState.new(8)
|
38
|
+
|
39
|
+
# The dropdown region of the button is being hovered over by the mouse cursor.
|
40
|
+
#
|
41
|
+
RIBBON_BUTTONBAR_BUTTON_DROPDOWN_HOVERED = Wx::RBN::RibbonButtonBarButtonState.new(16)
|
42
|
+
|
43
|
+
# A mask to extract button hover state from a combination of flags.
|
44
|
+
#
|
45
|
+
RIBBON_BUTTONBAR_BUTTON_HOVER_MASK = Wx::RBN::RibbonButtonBarButtonState.new(24)
|
46
|
+
|
47
|
+
# The normal (non-dropdown) region of the button is being pressed.
|
48
|
+
#
|
49
|
+
RIBBON_BUTTONBAR_BUTTON_NORMAL_ACTIVE = Wx::RBN::RibbonButtonBarButtonState.new(32)
|
50
|
+
|
51
|
+
# The dropdown region of the button is being pressed.
|
52
|
+
#
|
53
|
+
RIBBON_BUTTONBAR_BUTTON_DROPDOWN_ACTIVE = Wx::RBN::RibbonButtonBarButtonState.new(64)
|
54
|
+
|
55
|
+
# A mask to extract active flags.
|
56
|
+
#
|
57
|
+
RIBBON_BUTTONBAR_BUTTON_ACTIVE_MASK = Wx::RBN::RibbonButtonBarButtonState.new(96)
|
58
|
+
|
59
|
+
# The button is disabled.
|
60
|
+
#
|
61
|
+
RIBBON_BUTTONBAR_BUTTON_DISABLED = Wx::RBN::RibbonButtonBarButtonState.new(128)
|
62
|
+
|
63
|
+
# The button is a toggle button which is currently in the toggled state.
|
64
|
+
#
|
65
|
+
RIBBON_BUTTONBAR_BUTTON_TOGGLED = Wx::RBN::RibbonButtonBarButtonState.new(256)
|
66
|
+
|
67
|
+
# A mask to extract button state from a combination of flags.
|
68
|
+
#
|
69
|
+
RIBBON_BUTTONBAR_BUTTON_STATE_MASK = Wx::RBN::RibbonButtonBarButtonState.new(504)
|
70
|
+
|
71
|
+
end # RibbonButtonBarButtonState
|
72
|
+
|
73
|
+
#
|
74
|
+
#
|
75
|
+
EVT_RIBBONBUTTONBAR_CLICKED = 10440
|
76
|
+
|
77
|
+
#
|
78
|
+
#
|
79
|
+
EVT_RIBBONBUTTONBAR_DROPDOWN_CLICKED = 10441
|
80
|
+
|
81
|
+
# A ribbon button bar is similar to a traditional toolbar.
|
82
|
+
#
|
83
|
+
# It contains one or more buttons (button bar buttons, not {Wx::Buttons}), each of which has a label and an icon. It differs from a {Wx::RBN::RibbonToolBar} in several ways:
|
84
|
+
#
|
85
|
+
# - Individual buttons can grow and contract.
|
86
|
+
#
|
87
|
+
# - Buttons have labels as well as bitmaps.
|
88
|
+
#
|
89
|
+
# - Bitmaps are typically larger (at least 32x32 pixels) on a button bar compared to a tool bar (which typically has 16x15).
|
90
|
+
#
|
91
|
+
# - There is no grouping of buttons on a button bar
|
92
|
+
#
|
93
|
+
# - A button bar typically has a border around each individual button, whereas a tool bar typically has a border around each group of buttons.
|
94
|
+
#
|
95
|
+
# ### Events emitted by this class
|
96
|
+
#
|
97
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::RBN::RibbonButtonBarEvent} events.
|
98
|
+
# Event handler methods for events emitted by this class:
|
99
|
+
#
|
100
|
+
# - {Wx::EvtHandler#evt_ribbonbuttonbar_clicked}(id, meth = nil, &block): Triggered when the normal (non-dropdown) region of a button on the button bar is clicked.
|
101
|
+
#
|
102
|
+
# - {Wx::EvtHandler#evt_ribbonbuttonbar_dropdown_clicked}(id, meth = nil, &block): Triggered when the dropdown region of a button on the button bar is clicked. {Wx::RBN::RibbonButtonBarEvent#popup_menu} should be called by the event handler if it wants to display a popup menu (which is what most dropdown buttons should be doing).
|
103
|
+
#
|
104
|
+
# Category: Ribbon User Interface
|
105
|
+
#
|
106
|
+
# @wxrb_require USE_RIBBON
|
107
|
+
class RibbonButtonBar < RibbonControl
|
108
|
+
|
109
|
+
# @overload initialize()
|
110
|
+
# Default constructor.
|
111
|
+
#
|
112
|
+
# With this constructor, {Wx::RBN::RibbonButtonBar#create} should be called in order to create the button bar.
|
113
|
+
# @return [Wx::RBN::RibbonButtonBar]
|
114
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0)
|
115
|
+
# Construct a ribbon button bar with the given parameters.
|
116
|
+
# @param parent [Wx::Window] Parent window for the button bar (typically a {Wx::RBN::RibbonPanel}).
|
117
|
+
# @param id [Integer] An identifier for the button bar. {Wx::StandardID::ID_ANY} is taken to mean a default.
|
118
|
+
# @param pos [Array(Integer, Integer), Wx::Point] Initial position of the button bar.
|
119
|
+
# @param size [Array(Integer, Integer), Wx::Size] Initial size of the button bar.
|
120
|
+
# @param style [Integer] Button bar style, currently unused.
|
121
|
+
# @return [Wx::RBN::RibbonButtonBar]
|
122
|
+
def initialize(*args) end
|
123
|
+
|
124
|
+
# Create a button bar in two-step button bar construction.
|
125
|
+
#
|
126
|
+
# Should only be called when the default constructor is used, and arguments have the same meaning as in the full constructor.
|
127
|
+
# @param parent [Wx::Window]
|
128
|
+
# @param id [Integer]
|
129
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
130
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
131
|
+
# @param style [Integer]
|
132
|
+
# @return [Boolean]
|
133
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
|
134
|
+
|
135
|
+
# @overload add_button(button_id, label, bitmap, help_string, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL)
|
136
|
+
# Add a button to the button bar (simple version).
|
137
|
+
# @param button_id [Integer]
|
138
|
+
# @param label [String]
|
139
|
+
# @param bitmap [Wx::Bitmap]
|
140
|
+
# @param help_string [String]
|
141
|
+
# @param kind [Wx::RibbonButtonKind]
|
142
|
+
# @return [Integer]
|
143
|
+
# @overload add_button(button_id, label, bitmap, bitmap_small=Wx::NULL_BITMAP, bitmap_disabled=Wx::NULL_BITMAP, bitmap_small_disabled=Wx::NULL_BITMAP, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL, help_string=(''))
|
144
|
+
# Add a button to the button bar.
|
145
|
+
#
|
146
|
+
# An opaque pointer which can be used only with other button bar methods.
|
147
|
+
# @see Wx::RBN::RibbonButtonBar#add_dropdown_button
|
148
|
+
#
|
149
|
+
# @see Wx::RBN::RibbonButtonBar#add_hybrid_button
|
150
|
+
#
|
151
|
+
# @see Wx::RBN::RibbonButtonBar#add_toggle_button
|
152
|
+
# @param button_id [Integer] ID of the new button (used for event callbacks).
|
153
|
+
# @param label [String] Label of the new button.
|
154
|
+
# @param bitmap [Wx::Bitmap] Large bitmap of the new button. Must be the same size as all other large bitmaps used on the button bar.
|
155
|
+
# @param bitmap_small [Wx::Bitmap] Small bitmap of the new button. If left as null, then a small bitmap will be automatically generated. Must be the same size as all other small bitmaps used on the button bar.
|
156
|
+
# @param bitmap_disabled [Wx::Bitmap] Large bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap.
|
157
|
+
# @param bitmap_small_disabled [Wx::Bitmap] Small bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap_small.
|
158
|
+
# @param kind [Wx::RibbonButtonKind] The kind of button to add.
|
159
|
+
# @param help_string [String] The UI help string to associate with the new button.
|
160
|
+
# @return [Integer]
|
161
|
+
def add_button(*args) end
|
162
|
+
|
163
|
+
# Add a dropdown button to the button bar (simple version).
|
164
|
+
#
|
165
|
+
#
|
166
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
167
|
+
# @param button_id [Integer]
|
168
|
+
# @param label [String]
|
169
|
+
# @param bitmap [Wx::Bitmap]
|
170
|
+
# @param help_string [String]
|
171
|
+
# @return [Integer]
|
172
|
+
def add_dropdown_button(button_id, label, bitmap, help_string=('')) end
|
173
|
+
|
174
|
+
# Add a hybrid button to the button bar (simple version).
|
175
|
+
#
|
176
|
+
#
|
177
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
178
|
+
# @param button_id [Integer]
|
179
|
+
# @param label [String]
|
180
|
+
# @param bitmap [Wx::Bitmap]
|
181
|
+
# @param help_string [String]
|
182
|
+
# @return [Integer]
|
183
|
+
def add_hybrid_button(button_id, label, bitmap, help_string=('')) end
|
184
|
+
|
185
|
+
# Add a toggle button to the button bar (simple version).
|
186
|
+
#
|
187
|
+
#
|
188
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
189
|
+
# @param button_id [Integer]
|
190
|
+
# @param label [String]
|
191
|
+
# @param bitmap [Wx::Bitmap]
|
192
|
+
# @param help_string [String]
|
193
|
+
# @return [Integer]
|
194
|
+
def add_toggle_button(button_id, label, bitmap, help_string=('')) end
|
195
|
+
|
196
|
+
# @overload insert_button(pos, button_id, label, bitmap, help_string, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL)
|
197
|
+
# Inserts a button to the button bar (simple version) at the given position.
|
198
|
+
#
|
199
|
+
#
|
200
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
201
|
+
# @param pos [Integer]
|
202
|
+
# @param button_id [Integer]
|
203
|
+
# @param label [String]
|
204
|
+
# @param bitmap [Wx::Bitmap]
|
205
|
+
# @param help_string [String]
|
206
|
+
# @param kind [Wx::RibbonButtonKind]
|
207
|
+
# @return [Integer]
|
208
|
+
# @overload insert_button(pos, button_id, label, bitmap, bitmap_small=Wx::NULL_BITMAP, bitmap_disabled=Wx::NULL_BITMAP, bitmap_small_disabled=Wx::NULL_BITMAP, kind=Wx::RBN::RibbonButtonKind::RIBBON_BUTTON_NORMAL, help_string=(''))
|
209
|
+
# Insert a button to the button bar at the given position.
|
210
|
+
#
|
211
|
+
# An opaque pointer which can be used only with other button bar methods.
|
212
|
+
# @see Wx::RBN::RibbonButtonBar#insert_dropdown_button
|
213
|
+
#
|
214
|
+
# @see Wx::RBN::RibbonButtonBar#insert_hybrid_button
|
215
|
+
#
|
216
|
+
# @see Wx::RBN::RibbonButtonBar#insert_toggle_button
|
217
|
+
#
|
218
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
219
|
+
# @param pos [Integer] Position of the new button in the button bar.
|
220
|
+
# @param button_id [Integer] ID of the new button (used for event callbacks).
|
221
|
+
# @param label [String] Label of the new button.
|
222
|
+
# @param bitmap [Wx::Bitmap] Large bitmap of the new button. Must be the same size as all other large bitmaps used on the button bar.
|
223
|
+
# @param bitmap_small [Wx::Bitmap] Small bitmap of the new button. If left as null, then a small bitmap will be automatically generated. Must be the same size as all other small bitmaps used on the button bar.
|
224
|
+
# @param bitmap_disabled [Wx::Bitmap] Large bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap.
|
225
|
+
# @param bitmap_small_disabled [Wx::Bitmap] Small bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap_small.
|
226
|
+
# @param kind [Wx::RibbonButtonKind] The kind of button to add.
|
227
|
+
# @param help_string [String] The UI help string to associate with the new button.
|
228
|
+
# @return [Integer]
|
229
|
+
def insert_button(*args) end
|
230
|
+
|
231
|
+
# Inserts a dropdown button to the button bar (simple version) at the given position.
|
232
|
+
#
|
233
|
+
#
|
234
|
+
# @see Wx::RBN::RibbonButtonBar#insert_button
|
235
|
+
#
|
236
|
+
# @see Wx::RBN::RibbonButtonBar#add_dropdown_button
|
237
|
+
#
|
238
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
239
|
+
# @param pos [Integer]
|
240
|
+
# @param button_id [Integer]
|
241
|
+
# @param label [String]
|
242
|
+
# @param bitmap [Wx::Bitmap]
|
243
|
+
# @param help_string [String]
|
244
|
+
# @return [Integer]
|
245
|
+
def insert_dropdown_button(pos, button_id, label, bitmap, help_string=('')) end
|
246
|
+
|
247
|
+
# Inserts a hybrid button to the button bar (simple version) at the given position.
|
248
|
+
#
|
249
|
+
#
|
250
|
+
# @see Wx::RBN::RibbonButtonBar#insert_button
|
251
|
+
#
|
252
|
+
# @see Wx::RBN::RibbonButtonBar#add_hybrid_button
|
253
|
+
#
|
254
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
255
|
+
# @param pos [Integer]
|
256
|
+
# @param button_id [Integer]
|
257
|
+
# @param label [String]
|
258
|
+
# @param bitmap [Wx::Bitmap]
|
259
|
+
# @param help_string [String]
|
260
|
+
# @return [Integer]
|
261
|
+
def insert_hybrid_button(pos, button_id, label, bitmap, help_string=('')) end
|
262
|
+
|
263
|
+
# Inserts a toggle button to the button bar (simple version) at the given position.
|
264
|
+
#
|
265
|
+
#
|
266
|
+
# @see Wx::RBN::RibbonButtonBar#insert_button
|
267
|
+
#
|
268
|
+
# @see Wx::RBN::RibbonButtonBar#add_toggle_button
|
269
|
+
#
|
270
|
+
# @see Wx::RBN::RibbonButtonBar#add_button
|
271
|
+
# @param pos [Integer]
|
272
|
+
# @param button_id [Integer]
|
273
|
+
# @param label [String]
|
274
|
+
# @param bitmap [Wx::Bitmap]
|
275
|
+
# @param help_string [String]
|
276
|
+
# @return [Integer]
|
277
|
+
def insert_toggle_button(pos, button_id, label, bitmap, help_string=('')) end
|
278
|
+
|
279
|
+
# Returns the number of buttons in this button bar.
|
280
|
+
# @return [Integer]
|
281
|
+
def get_button_count; end
|
282
|
+
alias_method :button_count, :get_button_count
|
283
|
+
|
284
|
+
# Set the client object associated with a button.
|
285
|
+
#
|
286
|
+
# The button bar owns the given object and takes care of its deletion. Please, note that you cannot use both client object and client data.
|
287
|
+
# @param item [Integer]
|
288
|
+
# @param data [Object]
|
289
|
+
# @return [void]
|
290
|
+
def set_item_client_object(item, data) end
|
291
|
+
|
292
|
+
# Get the client object associated with a button.
|
293
|
+
# @param item [Integer]
|
294
|
+
# @return [Object]
|
295
|
+
def get_item_client_object(item) end
|
296
|
+
alias_method :item_client_object, :get_item_client_object
|
297
|
+
|
298
|
+
# Returns the N-th button of the bar.
|
299
|
+
#
|
300
|
+
#
|
301
|
+
# @see Wx::RBN::RibbonButtonBar#get_button_count
|
302
|
+
# @param n [Integer]
|
303
|
+
# @return [Integer]
|
304
|
+
def get_item(n) end
|
305
|
+
alias_method :item, :get_item
|
306
|
+
|
307
|
+
# Returns the items's rect with coordinates relative to the button bar's parent, or a default-constructed rect if the tool is not found.
|
308
|
+
# @param button_id [Integer] ID of the button in question.
|
309
|
+
# @return [Wx::Rect]
|
310
|
+
def get_item_rect(button_id) end
|
311
|
+
alias_method :item_rect, :get_item_rect
|
312
|
+
|
313
|
+
# Calculate button layouts and positions.
|
314
|
+
#
|
315
|
+
# Must be called after buttons are added to the button bar, as otherwise the newly added buttons will not be displayed. In normal situations, it will be called automatically when {Wx::RBN::RibbonBar#realize} is called.
|
316
|
+
# @return [Boolean]
|
317
|
+
def realize; end
|
318
|
+
|
319
|
+
# Delete all buttons from the button bar.
|
320
|
+
#
|
321
|
+
#
|
322
|
+
# @see Wx::RBN::RibbonButtonBar#delete_button
|
323
|
+
# @return [void]
|
324
|
+
def clear_buttons; end
|
325
|
+
|
326
|
+
# Delete a single button from the button bar.
|
327
|
+
#
|
328
|
+
# The corresponding button is deleted by this function, so any pointers to it previously obtained by {Wx::RBN::RibbonButtonBar#get_item} or {Wx::RBN::RibbonButtonBar#get_item_by_id} become invalid.
|
329
|
+
# @see Wx::RBN::RibbonButtonBar#clear_buttons
|
330
|
+
# @param button_id [Integer]
|
331
|
+
# @return [Boolean]
|
332
|
+
def delete_button(button_id) end
|
333
|
+
|
334
|
+
# Enable or disable a single button on the bar.
|
335
|
+
# @param button_id [Integer] ID of the button to enable or disable.
|
336
|
+
# @param enable [Boolean] true to enable the button, false to disable it.
|
337
|
+
# @return [void]
|
338
|
+
def enable_button(button_id, enable=true) end
|
339
|
+
|
340
|
+
# Set a toggle button to the checked or unchecked state.
|
341
|
+
# @param button_id [Integer] ID of the toggle button to manipulate.
|
342
|
+
# @param checked [Boolean] true to set the button to the toggled/pressed/checked state, false to set it to the untoggled/unpressed/unchecked state.
|
343
|
+
# @return [void]
|
344
|
+
def toggle_button(button_id, checked) end
|
345
|
+
|
346
|
+
# Changes the bitmap of an existing button.
|
347
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
348
|
+
# @param bitmap [Wx::Bitmap] Large bitmap of the new button. Must be the same size as all other large bitmaps used on the button bar.
|
349
|
+
# @param bitmap_small [Wx::Bitmap] Small bitmap of the new button. If left as null, then a small bitmap will be automatically generated. Must be the same size as all other small bitmaps used on the button bar.
|
350
|
+
# @param bitmap_disabled [Wx::Bitmap] Large bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap.
|
351
|
+
# @param bitmap_small_disabled [Wx::Bitmap] Small bitmap of the new button when it is disabled. If left as null, then a bitmap will be automatically generated from bitmap_small.
|
352
|
+
# @return [void]
|
353
|
+
def set_button_icon(button_id, bitmap, bitmap_small=Wx::NULL_BITMAP, bitmap_disabled=Wx::NULL_BITMAP, bitmap_small_disabled=Wx::NULL_BITMAP) end
|
354
|
+
|
355
|
+
# Changes the label text of an existing button.
|
356
|
+
#
|
357
|
+
# <div class="wxrb-remark">
|
358
|
+
# <b>Remark:</b>
|
359
|
+
# <p>If text size has changed, {Wx::RBN::RibbonButtonBar#realize} must be called on the top level {Wx::RBN::RibbonBar} object to recalculate panel sizes. Use {Wx::RBN::RibbonButtonBar#set_button_text_min_width} to avoid calling {Wx::RBN::RibbonButtonBar#realize} after every change.
|
360
|
+
# </p>
|
361
|
+
# </div>
|
362
|
+
# @see Wx::RBN::RibbonButtonBar#set_button_text_min_width
|
363
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
364
|
+
# @param label [String] New label of the button.
|
365
|
+
# @return [void]
|
366
|
+
def set_button_text(button_id, label) end
|
367
|
+
|
368
|
+
# @overload set_button_text_min_width(button_id, min_width_medium, min_width_large)
|
369
|
+
# Sets the minimum width of the button label, to indicate to the {Wx::RBN::RibbonArtProvider} layout mechanism that this is the minimum required size.
|
370
|
+
#
|
371
|
+
# You have to call {Wx::RBN::RibbonButtonBar#realize} after calling this function to apply the given minimum width.
|
372
|
+
#
|
373
|
+
# <div class="wxrb-remark">
|
374
|
+
# <b>Remark:</b>
|
375
|
+
# <p>This function is used together with {Wx::RBN::RibbonButtonBar#set_button_text} to change button labels on the fly without modifying the button bar layout.
|
376
|
+
# </p>
|
377
|
+
# </div>
|
378
|
+
# @see Wx::RBN::RibbonButtonBar#set_button_text
|
379
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
380
|
+
# @param min_width_medium [Integer] Requested minimum width of the button text in pixel if the button is medium size.
|
381
|
+
# @param min_width_large [Integer] Requested minimum width of the button text in pixel if the button is large size.
|
382
|
+
# @return [void]
|
383
|
+
# @overload set_button_text_min_width(button_id, label)
|
384
|
+
# Sets the minimum width of the button label, to indicate to the {Wx::RBN::RibbonArtProvider} layout mechanism that this is the minimum required size.
|
385
|
+
#
|
386
|
+
# You have to call {Wx::RBN::RibbonButtonBar#realize} after calling this function to apply the given minimum width.
|
387
|
+
#
|
388
|
+
# <div class="wxrb-remark">
|
389
|
+
# <b>Remark:</b>
|
390
|
+
# <p>This function is used together with {Wx::RBN::RibbonButtonBar#set_button_text} to change button labels on the fly without modifying the button bar layout.
|
391
|
+
# </p>
|
392
|
+
# </div>
|
393
|
+
# @see Wx::RBN::RibbonButtonBar#set_button_text
|
394
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
395
|
+
# @param label [String] The minimum width is set to the width of this label.
|
396
|
+
# @return [void]
|
397
|
+
def set_button_text_min_width(*args) end
|
398
|
+
|
399
|
+
# Sets the minimum size class of a ribbon button.
|
400
|
+
#
|
401
|
+
# You have to call {Wx::RBN::RibbonButtonBar#realize} after calling this function to apply the given minimum size.
|
402
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
403
|
+
# @param min_size_class [Wx::RibbonButtonBarButtonState] The minimum size-class of the button. Buttons on a button bar can have three distinct sizes: {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_SMALL}, {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_MEDIUM}, and {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_LARGE}.
|
404
|
+
# @return [void]
|
405
|
+
def set_button_min_size_class(button_id, min_size_class) end
|
406
|
+
|
407
|
+
# Sets the maximum size class of a ribbon button.
|
408
|
+
#
|
409
|
+
# You have to call {Wx::RBN::RibbonButtonBar#realize} after calling this function to apply the given maximum size.
|
410
|
+
# @param button_id [Integer] ID of the button to manipulate.
|
411
|
+
# @param max_size_class [Wx::RibbonButtonBarButtonState] The maximum size-class of the button. Buttons on a button bar can have three distinct sizes: {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_SMALL}, {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_MEDIUM}, and {Wx::RBN::RibbonButtonBarButtonState::RIBBON_BUTTONBAR_BUTTON_LARGE}.
|
412
|
+
# @return [void]
|
413
|
+
def set_button_max_size_class(button_id, max_size_class) end
|
414
|
+
|
415
|
+
# Returns the active item of the button bar or NULL if there is none.
|
416
|
+
#
|
417
|
+
# The active button is the one being clicked.
|
418
|
+
# @return [Integer]
|
419
|
+
def get_active_item; end
|
420
|
+
alias_method :active_item, :get_active_item
|
421
|
+
|
422
|
+
# Returns the hovered item of the button bar or NULL if there is none.
|
423
|
+
#
|
424
|
+
# The hovered button is the one the mouse is over.
|
425
|
+
# @return [Integer]
|
426
|
+
def get_hovered_item; end
|
427
|
+
alias_method :hovered_item, :get_hovered_item
|
428
|
+
|
429
|
+
# Indicates whether tooltips are shown for disabled buttons.
|
430
|
+
#
|
431
|
+
# By default they are not shown.
|
432
|
+
# @param show [Boolean]
|
433
|
+
# @return [void]
|
434
|
+
def set_show_tool_tips_for_disabled(show) end
|
435
|
+
alias_method :show_tool_tips_for_disabled=, :set_show_tool_tips_for_disabled
|
436
|
+
|
437
|
+
# Sets whether tooltips should be shown for disabled buttons or not.
|
438
|
+
#
|
439
|
+
# You may wish to show it to explain why a button is disabled or what it normally does when enabled.
|
440
|
+
# @return [Boolean]
|
441
|
+
def get_show_tool_tips_for_disabled; end
|
442
|
+
alias_method :show_tool_tips_for_disabled, :get_show_tool_tips_for_disabled
|
443
|
+
|
444
|
+
end # RibbonButtonBar
|
441
445
|
|
442
|
-
end # RibbonButtonBar
|
443
|
-
|
444
446
|
|
445
|
-
end
|
447
|
+
end
|
448
|
+
|
449
|
+
end
|