wxruby3 0.9.1-x64-mingw-ucrt → 0.9.2-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/.yardopts +1 -0
- 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/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +4 -5
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +19 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +33 -16
- data/lib/wx/doc/gen/bitmap_button.rb +11 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +23 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +7 -7
- data/lib/wx/doc/gen/check_list_box.rb +5 -6
- data/lib/wx/doc/gen/choice.rb +16 -9
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +16 -13
- data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
- data/lib/wx/doc/gen/command_link_button.rb +4 -5
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +10 -8
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +15 -13
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +1 -2
- data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
- data/lib/wx/doc/gen/dialog.rb +33 -13
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +35 -19
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +162 -169
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +19 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
- data/lib/wx/doc/gen/file_dialog.rb +31 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- 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 +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +56 -15
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +11 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
- data/lib/wx/doc/gen/graphics_context.rb +58 -11
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +4 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +3 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
- data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +12 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +29 -17
- data/lib/wx/doc/gen/list_ctrl.rb +76 -29
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +28 -7
- data/lib/wx/doc/gen/media_ctrl.rb +26 -18
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +41 -19
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +11 -5
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +17 -9
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +17 -8
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +9 -10
- data/lib/wx/doc/gen/radio_button.rb +13 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
- data/lib/wx/doc/gen/rearrange_list.rb +3 -4
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
- data/lib/wx/doc/gen/sash_event.rb +9 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
- data/lib/wx/doc/gen/sash_window.rb +3 -4
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +19 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
- data/lib/wx/doc/gen/scrolled_control.rb +32 -10
- data/lib/wx/doc/gen/scrolled_window.rb +32 -10
- data/lib/wx/doc/gen/search_ctrl.rb +8 -9
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +27 -17
- data/lib/wx/doc/gen/spin_button.rb +15 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +76 -18
- data/lib/wx/doc/gen/static_bitmap.rb +10 -5
- data/lib/wx/doc/gen/static_box.rb +9 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +3 -4
- data/lib/wx/doc/gen/static_text.rb +5 -6
- data/lib/wx/doc/gen/status_bar.rb +19 -9
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +90 -25
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +5 -6
- data/lib/wx/doc/gen/tool_bar.rb +98 -25
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +69 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +6 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +195 -45
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- 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/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +2 -2
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +16 -0
- data/tests/test_std_controls.rb +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +28 -3
data/lib/wx/doc/gen/animation.rb
CHANGED
@@ -16,6 +16,7 @@ module Wx
|
|
16
16
|
#
|
17
17
|
#
|
18
18
|
#
|
19
|
+
# @wxrb_require USE_ANIMATIONCTRL
|
19
20
|
class AnimationType < Wx::Enum
|
20
21
|
|
21
22
|
#
|
@@ -40,6 +41,7 @@ module Wx
|
|
40
41
|
#
|
41
42
|
#
|
42
43
|
#
|
44
|
+
# @wxrb_require USE_ANIMATIONCTRL
|
43
45
|
class AnimationDisposal < Wx::Enum
|
44
46
|
|
45
47
|
# No disposal specified. The decoder is not required to take any action.
|
@@ -70,6 +72,7 @@ module Wx
|
|
70
72
|
# @see Animation Sample
|
71
73
|
#
|
72
74
|
#
|
75
|
+
# @wxrb_require USE_ANIMATIONCTRL
|
73
76
|
class Animation < Object
|
74
77
|
|
75
78
|
# @overload initialize()
|
@@ -103,13 +106,13 @@ module Wx
|
|
103
106
|
alias_method :delay, :get_delay
|
104
107
|
|
105
108
|
# Returns the number of frames for this animation.
|
106
|
-
# This method is not implemented in the native
|
109
|
+
# This method is not implemented in the native WXGTK implementation of this class and always returns 0 there.
|
107
110
|
# @return [Integer]
|
108
111
|
def get_frame_count; end
|
109
112
|
alias_method :frame_count, :get_frame_count
|
110
113
|
|
111
114
|
# Returns the i-th frame as a {Wx::Image}.
|
112
|
-
# This method is not implemented in the native
|
115
|
+
# This method is not implemented in the native WXGTK implementation of this class and always returns an invalid image there.
|
113
116
|
# @param frame [Integer]
|
114
117
|
# @return [Wx::Image]
|
115
118
|
def get_frame(frame) end
|
@@ -129,7 +132,7 @@ module Wx
|
|
129
132
|
|
130
133
|
# Loads an animation from the given stream.
|
131
134
|
# true if the operation succeeded, false otherwise.
|
132
|
-
# @param stream [IO,Wx::InputStream] The stream to use to load the animation. Under
|
135
|
+
# @param stream [IO,Wx::InputStream] The stream to use to load the animation. Under WXGTK may be any kind of stream; under other platforms this must be a seekable stream.
|
133
136
|
# @param type [Wx::AnimationType] One of the {Wx::AnimationType} enumeration values.
|
134
137
|
# @return [Boolean]
|
135
138
|
def load(stream, type=Wx::AnimationType::ANIMATION_TYPE_ANY) end
|
@@ -168,6 +171,7 @@ module Wx
|
|
168
171
|
# {Wx::AnimationDecoder} is used by {Wx::Animation} for loading frames and other information for the animation from the animation image file.
|
169
172
|
#
|
170
173
|
#
|
174
|
+
# @wxrb_require USE_ANIMATIONCTRL
|
171
175
|
class AnimationDecoder < ::Object
|
172
176
|
|
173
177
|
# @return [Wx::AnimationDecoder]
|
@@ -11,7 +11,7 @@ module Wx
|
|
11
11
|
# This control is useful to display a (small) animation while doing a long task (e.g. a "throbber").
|
12
12
|
# It is only available if {Wx::Setup::USE_ANIMATIONCTRL} is set to 1 (the default).
|
13
13
|
# For the platforms where this control has a native implementation, it may have only limited support for the animation types, see {Wx::GenericAnimationCtrl} if you need to support all of them.
|
14
|
-
#
|
14
|
+
# ### Styles
|
15
15
|
#
|
16
16
|
# This class supports the following styles:
|
17
17
|
#
|
@@ -19,18 +19,17 @@ module Wx
|
|
19
19
|
#
|
20
20
|
# - {Wx::AC_NO_AUTORESIZE}: By default, the control will adjust its size to exactly fit to the size of the animation when SetAnimation is called. If this style flag is given, the control will not change its size
|
21
21
|
#
|
22
|
-
# ===
|
23
|
-
#
|
24
22
|
# Category: {Wx::Controls}
|
25
|
-
# Implementations: native under
|
26
|
-
# <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td>
|
27
|
-
# </td><td>
|
28
|
-
# </td><td>
|
23
|
+
# Implementations: native under WXGTK, WXMSW ports; a generic implementation is used elsewhere.
|
24
|
+
# <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
25
|
+
# </td><td> WXGTK Appearance
|
26
|
+
# </td><td> WXOSX Appearance
|
29
27
|
# </td></tr></table></div>
|
30
28
|
# @see Wx::Animation
|
31
29
|
# @see Animation Sample
|
32
30
|
#
|
33
31
|
#
|
32
|
+
# @wxrb_require USE_ANIMATIONCTRL
|
34
33
|
class AnimationCtrl < Control
|
35
34
|
|
36
35
|
# Initializes the object and calls {Wx::AnimationCtrl#create} with all the parameters.
|
@@ -33,6 +33,7 @@ module Wx
|
|
33
33
|
# A class for common button functionality used as the base for the various button classes.
|
34
34
|
#
|
35
35
|
#
|
36
|
+
# @wxrb_require USE_BUTTON|USE_TOGGLEBTN
|
36
37
|
class AnyButton < Control
|
37
38
|
|
38
39
|
# @overload set_bitmap_margins(x, y)
|
@@ -136,7 +137,11 @@ module Wx
|
|
136
137
|
alias_method :bitmap_focus=, :set_bitmap_focus
|
137
138
|
|
138
139
|
# Sets the bitmap label for the button.
|
139
|
-
#
|
140
|
+
# <div class="wxrb-remark">
|
141
|
+
# <b>Remark:</b>
|
142
|
+
# <p>This is the bitmap used for the unselected state, and for all other states if no other bitmaps are provided.
|
143
|
+
# </p>
|
144
|
+
# </div>>
|
140
145
|
# @see Wx::AnyButton#set_bitmap
|
141
146
|
# @see Wx::AnyButton#get_bitmap_label
|
142
147
|
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
data/lib/wx/doc/gen/app.rb
CHANGED
@@ -9,7 +9,7 @@ module Wx
|
|
9
9
|
# The {Wx::App} class represents the application itself when <code>wxUSE_GUI=1</code>.
|
10
10
|
# In addition to the features provided by {Wx::AppConsole} it keeps track of the top window (see {Wx::App#set_top_window}) and adds support for video modes (see {Wx::App#set_display_mode}).
|
11
11
|
# In general, application-wide settings for GUI-only apps are accessible from {Wx::App} (or from {Wx::SystemSettings} or {Wx::SystemOptions} classes).
|
12
|
-
#
|
12
|
+
# ### Events emitted by this class
|
13
13
|
#
|
14
14
|
# Event handler methods for events emitted by this class:
|
15
15
|
#
|
@@ -27,8 +27,6 @@ module Wx
|
|
27
27
|
#
|
28
28
|
# - {Wx::EvtHandler#evt_idle}(meth = nil, &block): Process a {Wx::EVT_IDLE} event. See {Wx::IdleEvent}.
|
29
29
|
#
|
30
|
-
# ===
|
31
|
-
#
|
32
30
|
# Category: Application and Process Management
|
33
31
|
# @see wxApp Overview
|
34
32
|
# @see Wx::AppTraits
|
@@ -63,7 +61,11 @@ module Wx
|
|
63
61
|
alias_method :use_best_visual, :get_use_best_visual
|
64
62
|
|
65
63
|
# Returns a pointer to the top window.
|
66
|
-
#
|
64
|
+
# <div class="wxrb-remark">
|
65
|
+
# <b>Remark:</b>
|
66
|
+
# <p>If the top window hasn't been set using {Wx::App#set_top_window}, this function will find the first top-level window (frame or dialog or instance of {Wx::TopLevelWindow}) from the internal top level window list and return that.
|
67
|
+
# </p>
|
68
|
+
# </div>>
|
67
69
|
# @see Wx::App#set_top_window
|
68
70
|
# @return [Wx::Window]
|
69
71
|
def get_top_window; end
|
@@ -100,7 +102,7 @@ module Wx
|
|
100
102
|
alias_method :exit_on_frame_delete=, :set_exit_on_frame_delete
|
101
103
|
|
102
104
|
# Allows runtime switching of the UI environment theme.
|
103
|
-
# Currently implemented for
|
105
|
+
# Currently implemented for WXGTK2-only. Return true if theme was successfully changed.
|
104
106
|
# @param theme [String] The name of the new theme or an absolute path to a gtkrc-theme-file
|
105
107
|
# @return [Boolean]
|
106
108
|
def set_native_theme(theme) end
|
@@ -9,7 +9,6 @@ module Wx
|
|
9
9
|
# The {Wx::AppTraits} class defines various configurable aspects of a {Wx::App}.
|
10
10
|
# You can access it using {Wx::App#get_traits} function and you can create your own {Wx::AppTraits} overriding the {Wx::App#create_traits} function.
|
11
11
|
# Note that {Wx::AppTraits} is an abstract class since it contains many pure virtual functions. In fact, by default, wxWidgets creates a {Wx::ConsoleAppTraits} object for console applications (i.e. those applications linked against {Wx::Base} library only - see the Library List page) and a {Wx::GUIAppTraits} object for GUI applications. Both these classes are derived by {Wx::AppTraits} and represent concrete implementation of the {Wx::AppTraits} interface.
|
12
|
-
# ===
|
13
12
|
#
|
14
13
|
# Category: Application and System configuration
|
15
14
|
# @see wxApp Overview
|
@@ -25,15 +24,20 @@ module Wx
|
|
25
24
|
alias_method :desktop_environment, :get_desktop_environment
|
26
25
|
|
27
26
|
# Returns the {Wx::StandardPaths} object for the application.
|
28
|
-
# It's normally the same for {Wx::Base} and {Wx::GUI} except in the case of
|
29
|
-
#
|
27
|
+
# It's normally the same for {Wx::Base} and {Wx::GUI} except in the case of WXOSX and {Wx::Cocoa}.
|
28
|
+
#
|
29
|
+
# <div class="wxrb-note">
|
30
|
+
# <b>Note:</b>
|
31
|
+
# <p>The returned reference is to a {Wx::StandardPathsBase} class but you can consider it to be equivalent to {Wx::StandardPaths} (which is documented).
|
32
|
+
# </p>
|
33
|
+
# </div>
|
30
34
|
# @return [Wx::StandardPaths]
|
31
35
|
def get_standard_paths; end
|
32
36
|
alias_method :standard_paths, :get_standard_paths
|
33
37
|
|
34
38
|
# Returns the wxWidgets port ID used by the running program and eventually fills the given pointers with the values of the major, minor, and micro digits of the native toolkit currently used.
|
35
39
|
# The version numbers returned are thus detected at run-time and not compile-time (except when this is not possible e.g. {Wx::Motif}).
|
36
|
-
# E.g. if your program is using
|
40
|
+
# E.g. if your program is using WXGTK port this function will return {Wx::PortId::PORT_GTK} and put in given pointers the versions of the GTK library in use. See {Wx::PlatformInfo} for more details.
|
37
41
|
# If a micro version is not available it will have a value of 0.
|
38
42
|
# @return [Array(Wx::PortId,Integer,Integer,Integer)]
|
39
43
|
def get_toolkit_version; end
|
@@ -52,7 +56,7 @@ module Wx
|
|
52
56
|
def show_assert_dialog(msg) end
|
53
57
|
|
54
58
|
# Shows a message box with the given text and title if possible.
|
55
|
-
# In some ports, e.g.
|
59
|
+
# In some ports, e.g. WXMSW, a message box will always be shown, while in the other ones it will be only done if the GUI is available (e.g. X11 display was successfully opened for X11-based ports) and the function simply returns false without doing anything otherwise.
|
56
60
|
# This function is safe in the sense that it can always be called, even before creating {Wx::App}, similarly to {safe_show_message} which is implemented by calling this function and then logging the message to standard error stream if it returned false.
|
57
61
|
#
|
58
62
|
# true if the message box was shown or false otherwise.
|
@@ -65,6 +69,7 @@ module Wx
|
|
65
69
|
# Returns the stack frame as a plain (and possibly empty) {Wx::String}.
|
66
70
|
# This function is only available when {Wx::Setup::USE_STACKWALKER} is 1.
|
67
71
|
# @return [String]
|
72
|
+
# @wxrb_require USE_STACKWALKER
|
68
73
|
def get_assert_stack_trace; end
|
69
74
|
alias_method :assert_stack_trace, :get_assert_stack_trace
|
70
75
|
|
@@ -78,7 +83,6 @@ module Wx
|
|
78
83
|
# The directories returned by the methods of this class may or may not exist. If they don't exist, it's up to the caller to create them, {Wx::StandardPaths} doesn't do it.
|
79
84
|
# Finally note that these functions only work with standardly packaged applications. I.e. under Unix you should follow the standard installation conventions and under Mac you should create your application bundle according to the Apple guidelines. Again, this class doesn't help you to do it.
|
80
85
|
# This class is MT-safe: its methods may be called concurrently from different threads without additional locking.
|
81
|
-
# ===
|
82
86
|
#
|
83
87
|
# Category: File Handling
|
84
88
|
# @see Wx::FileConfig
|
@@ -173,6 +177,7 @@ module Wx
|
|
173
177
|
# MSW-specific function undoing the effect of {Wx::StandardPaths#ignore_app_sub_dir} calls.
|
174
178
|
# After a call to this function the program directory will be exactly the directory containing the main application binary, i.e. it undoes the effect of any previous {Wx::StandardPaths#ignore_app_sub_dir} calls including the ones done indirectly by {Wx::StandardPaths#ignore_app_build_sub_dirs} called from the class constructor.
|
175
179
|
# @return [void]
|
180
|
+
# @wxrb_require WXMSW
|
176
181
|
def dont_ignore_app_sub_dir; end
|
177
182
|
|
178
183
|
# Return the directory for the document files used by this application.
|
@@ -193,7 +198,11 @@ module Wx
|
|
193
198
|
# - Windows: <code>"C:\ProgramData\appinfo"</code> or <code>"C:\Documents and Settings\All Users\Application Data\appinfo"</code>
|
194
199
|
# - Mac: <code>/Library/Preferences</code>
|
195
200
|
#
|
196
|
-
#
|
201
|
+
# <div class="wxrb-note">
|
202
|
+
# <b>Note:</b>
|
203
|
+
# <p>Under Windows this includes appinfo which makes it inconsistent with other ports.
|
204
|
+
# </p>
|
205
|
+
# </div>
|
197
206
|
# @see Wx::FileConfig
|
198
207
|
# @return [String]
|
199
208
|
def get_config_dir; end
|
@@ -295,7 +304,12 @@ module Wx
|
|
295
304
|
|
296
305
|
# Return the path of the specified user data directory.
|
297
306
|
# If the value could not be determined the users home directory is returned.
|
298
|
-
#
|
307
|
+
#
|
308
|
+
# <div class="wxrb-note">
|
309
|
+
# <b>Note:</b>
|
310
|
+
# <p>On Unix this (newer) method always respects the XDG base directory specification, even if {Wx::StandardPaths#set_file_layout} with FileLayout_XDG hadn't been called.
|
311
|
+
# </p>
|
312
|
+
# </div>
|
299
313
|
# @param userDir [Wx::wxStandardPaths::Dir]
|
300
314
|
# @return [String]
|
301
315
|
def get_user_dir(userDir) end
|
@@ -317,12 +331,14 @@ module Wx
|
|
317
331
|
# @see Wx::StandardPaths#ignore_app_build_sub_dirs
|
318
332
|
# @param subdirPattern [String] The subdirectory containing the application binary which should be ignored when determining the top application directory. The pattern is case-insensitive and may contain wild card characters <code>'</code>?' and <code>'*'</code>.
|
319
333
|
# @return [void]
|
334
|
+
# @wxrb_require WXMSW
|
320
335
|
def ignore_app_sub_dir(subdirPattern) end
|
321
336
|
|
322
337
|
# MSW-specific function to ignore all common build directories.
|
323
338
|
# This function calls {Wx::StandardPaths#ignore_app_sub_dir} with all common values for build directory, e.g. <code>"debug"</code> and <code>"release"</code>.
|
324
339
|
# It is called by the class constructor and so the build directories are always ignored by default. You may use {Wx::StandardPaths#dont_ignore_app_sub_dir} to avoid ignoring them if this is inappropriate for your application.
|
325
340
|
# @return [void]
|
341
|
+
# @wxrb_require WXMSW
|
326
342
|
def ignore_app_build_sub_dirs; end
|
327
343
|
|
328
344
|
# Controls what application information is used when constructing paths that should be unique to this program, such as the application data directory, the plugins directory on Unix, etc.
|
@@ -365,14 +381,15 @@ module Wx
|
|
365
381
|
# Returns location of Windows shell special folder.
|
366
382
|
# This function is, by definition, MSW-specific. It can be used to access pre-defined shell directories not covered by the existing methods of this class, e.g.:
|
367
383
|
# ```
|
368
|
-
#
|
384
|
+
# \#ifdef __WXMSW__
|
369
385
|
# // get the location of files waiting to be burned on a CD
|
370
386
|
# wxString cdburnArea =
|
371
387
|
# wxStandardPaths::MSWGetShellDir(CSIDL_CDBURN_AREA);
|
372
|
-
#
|
388
|
+
# \#endif // __WXMSW__
|
373
389
|
# ```
|
374
390
|
# @param csidl [Integer]
|
375
391
|
# @return [String]
|
392
|
+
# @wxrb_require WXMSW
|
376
393
|
def self.msw_get_shell_dir(csidl) end
|
377
394
|
|
378
395
|
end # StandardPaths
|
@@ -287,7 +287,7 @@ module Wx
|
|
287
287
|
# If you need bitmap images (of the same artwork) that should be displayed at different sizes you should probably consider overriding {Wx::ArtProvider#create_icon_bundle} and supplying icon bundles that contain different bitmap sizes.
|
288
288
|
# There's another way of taking advantage of this class: you can use it in your code and use platform native icons as provided by {Wx::ArtProvider.get_bitmap_bundle} or {Wx::ArtProvider.get_icon}.
|
289
289
|
#
|
290
|
-
#
|
290
|
+
# ## Identifying art resources
|
291
291
|
#
|
292
292
|
# Every bitmap and icon bundle are known to {Wx::ArtProvider} under a unique ID that is used when requesting a resource from it. The ID is represented by the {Wx::ArtID} type and can have one of these predefined values (you can see bitmaps represented by these constants in the Art Provider Sample):
|
293
293
|
#
|
@@ -403,15 +403,19 @@ module Wx
|
|
403
403
|
#
|
404
404
|
# - {Wx::ART_WX_LOGO} (since 3.1.6)
|
405
405
|
#
|
406
|
-
#
|
406
|
+
# <div class="wxrb-note">
|
407
|
+
# <b>Note:</b>
|
408
|
+
# <p>When running under GTK+ 2, GTK+ stock item IDs (e.g. <code>"gtk-cdrom"</code>) may be used as well:
|
407
409
|
# ```ruby
|
408
410
|
# if Wx::PLATFORM == 'WXGTK'
|
409
411
|
# bmp = Wx::ArtProvider.get_bitmap("gtk-cdrom", Wx::ART_MENU)
|
410
412
|
# end
|
411
413
|
# ```
|
412
414
|
# For a list of the GTK+ stock items please refer to the GTK+ documentation page. It is also possible to load icons from the current icon theme by specifying their name (without extension and directory components). Icon themes recognized by GTK+ follow the freedesktop.org Icon Themes specification. Note that themes are not guaranteed to contain all icons, so {Wx::ArtProvider} may return {Wx::NULL_BITMAP} or {Wx::NULL_ICON}. The default theme is typically installed in <code>/usr/share/icons/hicolor</code>.
|
415
|
+
# </p>
|
416
|
+
# </div>
|
413
417
|
#
|
414
|
-
#
|
418
|
+
# ## Clients
|
415
419
|
#
|
416
420
|
# The client is the entity that calls {Wx::ArtProvider}'s {Wx::ArtProvider.get_bitmap} or {Wx::ArtProvider.get_icon} function. It is represented by {Wx::ClientID} type and can have one of these values:
|
417
421
|
#
|
@@ -432,7 +436,6 @@ module Wx
|
|
432
436
|
# - {Wx::ART_OTHER} (used for all requests that don't fit into any of the categories above)
|
433
437
|
#
|
434
438
|
# Client ID serve as a hint to {Wx::ArtProvider} that is supposed to help it to choose the best looking bitmap. For example it is often desirable to use slightly different icons in menus and toolbars even though they represent the same action (e.g. {Wx::ART_FILE_OPEN}). Remember that this is really only a hint for {Wx::ArtProvider} it is common that {Wx::ArtProvider.get_bitmap} returns identical bitmap for different client values!
|
435
|
-
# ===
|
436
439
|
#
|
437
440
|
# Category: {Wx::Miscellaneous}
|
438
441
|
# @see Art Provider Sample for an example of Wx::ArtProvider usage; stock ID list
|
@@ -472,7 +475,12 @@ module Wx
|
|
472
475
|
|
473
476
|
# Returns native icon size for use specified by client hint in DIPs.
|
474
477
|
# If the platform has no commonly used default for this use or if client is not recognized, returns {Wx::DEFAULT_SIZE}.
|
475
|
-
#
|
478
|
+
#
|
479
|
+
# <div class="wxrb-note">
|
480
|
+
# <b>Note:</b>
|
481
|
+
# <p>In some cases, a platform may have several appropriate native sizes (for example, {Wx::ART_FRAME_ICON} for frame icons). In that case, this method returns only one of them, picked reasonably.
|
482
|
+
# </p>
|
483
|
+
# </div>
|
476
484
|
# @param client [Wx::ArtClient]
|
477
485
|
# @return [Wx::Size]
|
478
486
|
def self.get_native_dip_size_hint(client) end
|
@@ -507,7 +515,7 @@ module Wx
|
|
507
515
|
def self.get_icon_bundle(id, client=Wx::ART_OTHER) end
|
508
516
|
|
509
517
|
# Returns true if the platform uses native icons provider that should take precedence over any customizations.
|
510
|
-
# This is true for any platform that has user-customizable icon themes, currently only
|
518
|
+
# This is true for any platform that has user-customizable icon themes, currently only WXGTK.
|
511
519
|
# A typical use for this method is to decide whether a custom art provider should be plugged in using {Wx::ArtProvider.push} or {Wx::ArtProvider.push_back}.
|
512
520
|
# @return [Boolean]
|
513
521
|
def self.has_native_provider; end
|
@@ -553,7 +561,11 @@ module Wx
|
|
553
561
|
# For bitmaps available in more than one size, {Wx::ArtProvider#create_bitmap_bundle} should be overridden instead.
|
554
562
|
# Note that returned bitmaps are cached by {Wx::ArtProvider} and it is therefore not necessary to optimize {Wx::ArtProvider#create_bitmap} for speed (e.g. you may create {Wx::Bitmap} objects from XPMs here).
|
555
563
|
#
|
556
|
-
#
|
564
|
+
# <div class="wxrb-note">
|
565
|
+
# <b>Note:</b>
|
566
|
+
# <p>This is not part of {Wx::ArtProvider}'s public API, use {Wx::ArtProvider.get_bitmap} or {Wx::ArtProvider.get_icon_bundle} or {Wx::ArtProvider.get_icon} to query {Wx::ArtProvider} for a resource.
|
567
|
+
# </p>
|
568
|
+
# </div>
|
557
569
|
# @see Wx::ArtProvider#create_icon_bundle
|
558
570
|
# @param id [Wx::ArtID] {Wx::ArtID} unique identifier of the bitmap.
|
559
571
|
# @param client [Wx::ArtClient] {Wx::ArtClient} identifier of the client (i.e. who is asking for the bitmap). This only serves as a hint.
|
@@ -8,10 +8,9 @@ module Wx::AUI
|
|
8
8
|
|
9
9
|
# These are the possible pane dock art settings for {Wx::AUI::AuiDefaultDockArt}.
|
10
10
|
#
|
11
|
-
# ===
|
12
|
-
#
|
13
11
|
# Category: Window Docking (wxAUI)
|
14
12
|
#
|
13
|
+
# @wxrb_require USE_AUI
|
15
14
|
class AuiPaneDockArtSetting < Wx::Enum
|
16
15
|
|
17
16
|
# Customizes the sash size.
|
@@ -88,6 +87,7 @@ module Wx::AUI
|
|
88
87
|
#
|
89
88
|
#
|
90
89
|
#
|
90
|
+
# @wxrb_require USE_AUI
|
91
91
|
class AuiPaneDockArtGradients < Wx::Enum
|
92
92
|
|
93
93
|
# No gradient on the captions, in other words a solid colour.
|
@@ -108,6 +108,7 @@ module Wx::AUI
|
|
108
108
|
#
|
109
109
|
#
|
110
110
|
#
|
111
|
+
# @wxrb_require USE_AUI
|
111
112
|
class AuiPaneButtonState < Wx::Enum
|
112
113
|
|
113
114
|
# Normal button state.
|
@@ -140,6 +141,7 @@ module Wx::AUI
|
|
140
141
|
#
|
141
142
|
#
|
142
143
|
#
|
144
|
+
# @wxrb_require USE_AUI
|
143
145
|
class AuiButtonId < Wx::Enum
|
144
146
|
|
145
147
|
# Shows a close button on the pane.
|
@@ -200,13 +202,13 @@ module Wx::AUI
|
|
200
202
|
# See also wxAUI Overview.
|
201
203
|
# {Wx::AUI::AuiDockArt} is the art provider: provides all drawing functionality to the {Wx::AUI} dock manager. This allows the dock manager to have a pluggable look-and-feel.
|
202
204
|
# By default, a {Wx::AUI::AuiManager} uses an instance of this class called {Wx::AUI::AuiDefaultDockArt} which provides bitmap art and a colour scheme that is adapted to the major platforms' look. You can either derive from that class to alter its behaviour or write a completely new dock art class. Call {Wx::AUI::AuiManager#set_art_provider} to force {Wx::AUI} to use your new dock art provider.
|
203
|
-
# ===
|
204
205
|
#
|
205
206
|
# Category: Window Docking (wxAUI)
|
206
207
|
# @see Wx::AUI::AuiManager
|
207
208
|
# @see Wx::AUI::AuiPaneInfo
|
208
209
|
#
|
209
210
|
#
|
211
|
+
# @wxrb_require USE_AUI
|
210
212
|
class AuiDockArt < ::Object
|
211
213
|
|
212
214
|
# Constructor.
|
@@ -314,6 +316,7 @@ module Wx::AUI
|
|
314
316
|
# This is the default art provider for {Wx::AUI::AuiManager}.
|
315
317
|
# Dock art can be customized by creating a class derived from this one, or replacing this class entirely.
|
316
318
|
#
|
319
|
+
# @wxrb_require USE_AUI
|
317
320
|
class AuiDefaultDockArt < AuiDockArt
|
318
321
|
|
319
322
|
# @return [Wx::AUI::AuiDefaultDockArt]
|
@@ -26,7 +26,7 @@ module Wx::AUI
|
|
26
26
|
# @mgr.get_pane(@text1).float
|
27
27
|
# ```
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# ## Layers, Rows and Directions, Positions
|
30
30
|
#
|
31
31
|
# Inside {Wx::AUI}, the docking layout is figured out by checking several pane parameters. Four of these are important for determining where a pane will end up:
|
32
32
|
#
|
@@ -38,7 +38,7 @@ module Wx::AUI
|
|
38
38
|
#
|
39
39
|
# - Layer: A layer is akin to an onion. Layer 0 is the very center of the managed pane. Thus, if a pane is in layer 0, it will be closest to the center window (also sometimes known as the "content window"). Increasing layers "swallow up" all layers of a lower value. This can look very similar to multiple rows, but is different because all panes in a lower level yield to panes in higher levels. The best way to understand layers is by running the {Wx::AUI} sample.
|
40
40
|
#
|
41
|
-
#
|
41
|
+
# ### Styles
|
42
42
|
#
|
43
43
|
# This class supports the following styles:
|
44
44
|
#
|
@@ -62,7 +62,7 @@ module Wx::AUI
|
|
62
62
|
#
|
63
63
|
# - {Wx::AUI::AuiManagerOption::AUI_MGR_DEFAULT}: Default behaviour, combines: {Wx::AUI::AuiManagerOption::AUI_MGR_ALLOW_FLOATING} | {Wx::AUI::AuiManagerOption::AUI_MGR_TRANSPARENT_HINT} | {Wx::AUI::AuiManagerOption::AUI_MGR_HINT_FADE} | {Wx::AUI::AuiManagerOption::AUI_MGR_NO_VENETIAN_BLINDS_FADE}.
|
64
64
|
#
|
65
|
-
#
|
65
|
+
# ### Events emitted by this class
|
66
66
|
#
|
67
67
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
|
68
68
|
# Event handler methods for events emitted by this class:
|
@@ -79,8 +79,6 @@ module Wx::AUI
|
|
79
79
|
#
|
80
80
|
# - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
|
81
81
|
#
|
82
|
-
# ===
|
83
|
-
#
|
84
82
|
# Category: Window Docking (wxAUI)
|
85
83
|
# @see wxAUI Overview
|
86
84
|
# @see Wx::AUI::AuiNotebook
|
@@ -88,6 +86,7 @@ module Wx::AUI
|
|
88
86
|
# @see Wx::AUI::AuiPaneInfo
|
89
87
|
#
|
90
88
|
#
|
89
|
+
# @wxrb_require USE_AUI
|
91
90
|
class AuiManager < EvtHandler
|
92
91
|
|
93
92
|
# Constructor.
|
@@ -213,7 +212,12 @@ module Wx::AUI
|
|
213
212
|
|
214
213
|
# {Wx::AUI::AuiManager#load_pane_info} is similar to LoadPerspective, with the exception that it only loads information about a single pane.
|
215
214
|
# This method writes the serialized data into the passed pane. Pointers to UI elements are not modified.
|
216
|
-
#
|
215
|
+
#
|
216
|
+
# <div class="wxrb-note">
|
217
|
+
# <b>Note:</b>
|
218
|
+
# <p>This operation also changes the name in the pane information!
|
219
|
+
# </p>
|
220
|
+
# </div>
|
217
221
|
# @see Wx::AUI::AuiManager#load_perspective
|
218
222
|
#
|
219
223
|
# @see Wx::AUI::AuiManager#save_pane_info.
|
@@ -326,7 +330,7 @@ module Wx::AUI
|
|
326
330
|
|
327
331
|
# Returns true if live resize is always used on the current platform.
|
328
332
|
# If this function returns true, {Wx::AUI::AuiManagerOption::AUI_MGR_LIVE_RESIZE} flag is ignored and live resize is always used, whether it's specified or not.
|
329
|
-
# Currently this is the case for
|
333
|
+
# Currently this is the case for WXOSX and WXGTK3 ports, as live resizing is the only implemented method there.
|
330
334
|
# @return [Boolean]
|
331
335
|
def self.always_uses_live_resize; end
|
332
336
|
|
@@ -8,7 +8,7 @@ module Wx::AUI
|
|
8
8
|
|
9
9
|
# Event used to indicate various actions taken with {Wx::AUI::AuiManager}.
|
10
10
|
# See {Wx::AUI::AuiManager} for available event types.
|
11
|
-
#
|
11
|
+
# ### Events using this class
|
12
12
|
#
|
13
13
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiManagerEvent} events.
|
14
14
|
# Event handler methods:
|
@@ -25,17 +25,16 @@ module Wx::AUI
|
|
25
25
|
#
|
26
26
|
# - {Wx::EvtHandler#evt_aui_render}(meth = nil, &block): This event can be caught to override the default renderer in order to custom draw your {Wx::AUI::AuiManager} window (not recommended).
|
27
27
|
#
|
28
|
-
# ===
|
29
|
-
#
|
30
28
|
# Category: {Wx::Events}, Window Docking (wxAUI)
|
31
29
|
# @see Wx::AUI::AuiManager
|
32
30
|
# @see Wx::AUI::AuiPaneInfo
|
33
31
|
#
|
34
32
|
#
|
33
|
+
# @wxrb_require USE_AUI
|
35
34
|
class AuiManagerEvent < Event
|
36
35
|
|
37
36
|
# Constructor.
|
38
|
-
# @param type [Wx::
|
37
|
+
# @param type [Wx::Slider::EventType]
|
39
38
|
# @return [Wx::AUI::AuiManagerEvent]
|
40
39
|
def initialize(type=Wx::EVT_NULL) end
|
41
40
|
|
@@ -9,6 +9,7 @@ module Wx::AUI
|
|
9
9
|
#
|
10
10
|
#
|
11
11
|
#
|
12
|
+
# @wxrb_require USE_AUI
|
12
13
|
class AuiMDIParentFrame < Frame
|
13
14
|
|
14
15
|
# @overload initialize()
|
@@ -57,7 +58,11 @@ module Wx::AUI
|
|
57
58
|
alias_method :window_menu=, :set_window_menu
|
58
59
|
|
59
60
|
# Tells the frame to show the given menu bar.
|
60
|
-
#
|
61
|
+
# <div class="wxrb-remark">
|
62
|
+
# <b>Remark:</b>
|
63
|
+
# <p>If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::AUI::AuiMDIParentFrame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
|
64
|
+
# </p>
|
65
|
+
# </div>>
|
61
66
|
# @see Wx::AUI::AuiMDIParentFrame#get_menu_bar
|
62
67
|
# @see Wx::MenuBar
|
63
68
|
# @see Wx::Menu.
|
@@ -10,7 +10,7 @@ module Wx::AUI
|
|
10
10
|
# See also wxAUI Overview.
|
11
11
|
# {Wx::AUI::AuiNotebook} is a notebook control which implements many features common in applications with dockable panes. Specifically, {Wx::AUI::AuiNotebook} implements functionality which allows the user to rearrange tab order via drag-and-drop, split the tab window into many different splitter configurations, and toggle through different themes to customize the control's look and feel.
|
12
12
|
# The default theme that is used is {Wx::AUI::AuiDefaultTabArt}, which provides a modern, glossy look and feel. The theme can be changed by calling {Wx::AUI::AuiNotebook#set_art_provider}.
|
13
|
-
#
|
13
|
+
# ### Styles
|
14
14
|
#
|
15
15
|
# This class supports the following styles:
|
16
16
|
#
|
@@ -40,7 +40,7 @@ module Wx::AUI
|
|
40
40
|
#
|
41
41
|
# - {Wx::AUI::AuiNotebookOption::AUI_NB_BOTTOM}: With this style, tabs are drawn along the bottom of the notebook.
|
42
42
|
#
|
43
|
-
#
|
43
|
+
# ### Events emitted by this class
|
44
44
|
#
|
45
45
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
|
46
46
|
# Event handler methods for events emitted by this class:
|
@@ -75,10 +75,9 @@ module Wx::AUI
|
|
75
75
|
#
|
76
76
|
# - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
|
77
77
|
#
|
78
|
-
# ===
|
79
|
-
#
|
80
78
|
# Category: Window Docking (wxAUI)
|
81
79
|
#
|
80
|
+
# @wxrb_require USE_AUI
|
82
81
|
class AuiNotebook < BookCtrlBase
|
83
82
|
|
84
83
|
# @overload initialize()
|
@@ -110,7 +109,11 @@ module Wx::AUI
|
|
110
109
|
#
|
111
110
|
# true if successful, false otherwise.
|
112
111
|
#
|
113
|
-
#
|
112
|
+
# <div class="wxrb-remark">
|
113
|
+
# <b>Remark:</b>
|
114
|
+
# <p>Do not delete the page, it will be deleted by the book control.
|
115
|
+
# </p>
|
116
|
+
# </div>>
|
114
117
|
# @see Wx::AUI::AuiNotebook#insert_page
|
115
118
|
# @param page [Wx::Window] Specifies the new page.
|
116
119
|
# @param text [String] Specifies the text for the new page.
|
@@ -227,7 +230,11 @@ module Wx::AUI
|
|
227
230
|
# Inserts a new page at the specified position.
|
228
231
|
# true if successful, false otherwise.
|
229
232
|
#
|
230
|
-
#
|
233
|
+
# <div class="wxrb-remark">
|
234
|
+
# <b>Remark:</b>
|
235
|
+
# <p>Do not delete the page, it will be deleted by the book control.
|
236
|
+
# </p>
|
237
|
+
# </div>>
|
231
238
|
# @see Wx::AUI::AuiNotebook#add_page
|
232
239
|
# @param index [Integer] Specifies the position for the new page.
|
233
240
|
# @param page [Wx::Window] Specifies the new page.
|
@@ -353,12 +360,11 @@ module Wx::AUI
|
|
353
360
|
end # AuiNotebook
|
354
361
|
|
355
362
|
# A simple class which holds information about the notebook's pages and their state.
|
356
|
-
# ===
|
357
|
-
#
|
358
363
|
# Category: Window Docking (wxAUI)
|
359
364
|
#
|
360
365
|
#
|
361
366
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
367
|
+
# @wxrb_require USE_AUI
|
362
368
|
class AuiNotebookPage < ::Object
|
363
369
|
|
364
370
|
#
|
@@ -10,6 +10,7 @@ module Wx::AUI
|
|
10
10
|
#
|
11
11
|
#
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_AUI
|
13
14
|
class AuiNotebookOption < Wx::Enum
|
14
15
|
|
15
16
|
#
|
@@ -135,7 +136,7 @@ module Wx::AUI
|
|
135
136
|
EVT_AUINOTEBOOK_BG_DCLICK = 10421
|
136
137
|
|
137
138
|
# This class is used by the events generated by {Wx::AUI::AuiNotebook}.
|
138
|
-
#
|
139
|
+
# ### Events emitted by this class
|
139
140
|
#
|
140
141
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
|
141
142
|
# Event handler methods for events emitted by this class:
|
@@ -170,17 +171,16 @@ module Wx::AUI
|
|
170
171
|
#
|
171
172
|
# - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
|
172
173
|
#
|
173
|
-
# ===
|
174
|
-
#
|
175
174
|
# Category: {Wx::Events}, Book Controls
|
176
175
|
# @see Wx::AUI::AuiNotebook
|
177
176
|
# @see Wx::BookCtrlEvent
|
178
177
|
#
|
179
178
|
#
|
179
|
+
# @wxrb_require USE_AUI
|
180
180
|
class AuiNotebookEvent < BookCtrlEvent
|
181
181
|
|
182
182
|
# Constructor.
|
183
|
-
# @param command_type [Wx::
|
183
|
+
# @param command_type [Wx::Slider::EventType]
|
184
184
|
# @param win_id [Integer]
|
185
185
|
# @return [Wx::AUI::AuiNotebookEvent]
|
186
186
|
def initialize(command_type=Wx::EVT_NULL, win_id=0) end
|