wxruby3 0.9.0-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/const.rb +83 -0
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/events/evt_list.rb +24 -0
- 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/const.rb +66 -66
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/event.rb +0 -6
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/functions.rb +9 -9
- 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 +6 -7
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
- 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 +20 -8
- 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 +3 -2
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
- 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 +3 -3
- data/lib/wx/doc/gen/bitmap.rb +34 -17
- data/lib/wx/doc/gen/bitmap_button.rb +13 -10
- data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
- 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 +25 -13
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
- 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 +9 -9
- data/lib/wx/doc/gen/check_list_box.rb +8 -9
- data/lib/wx/doc/gen/choice.rb +18 -11
- 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 +8 -9
- 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 +11 -12
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +20 -17
- data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
- data/lib/wx/doc/gen/command_link_button.rb +6 -7
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +12 -10
- 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 +16 -14
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +54 -54
- data/lib/wx/doc/gen/dial_up_event.rb +41 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
- data/lib/wx/doc/gen/dialog.rb +35 -15
- 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 +11 -12
- 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 +4 -4
- data/lib/wx/doc/gen/event.rb +42 -20
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1624
- data/lib/wx/doc/gen/events.rb +170 -181
- 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 +209 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
- data/lib/wx/doc/gen/file_dialog.rb +32 -15
- 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 +10 -11
- 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 +8 -9
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +60 -19
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +13 -10
- 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 +8 -9
- data/lib/wx/doc/gen/graphics_context.rb +59 -12
- 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 +2 -2
- 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 +29 -7
- 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 +7 -14
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +42 -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 +8 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +47 -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 +10 -12
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +13 -7
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
- 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 +33 -21
- data/lib/wx/doc/gen/list_ctrl.rb +79 -32
- 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 +32 -11
- data/lib/wx/doc/gen/media_ctrl.rb +28 -20
- 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 +117 -95
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +13 -7
- 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 +19 -11
- 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 +19 -10
- 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 +83 -22
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
- 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 +15 -5
- 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 +2 -2
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
- 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 +13 -14
- data/lib/wx/doc/gen/radio_button.rb +15 -11
- 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 +2 -2
- 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 +3 -4
- data/lib/wx/doc/gen/rearrange_list.rb +5 -6
- 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 +12 -9
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
- 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 +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
- data/lib/wx/doc/gen/sash_event.rb +12 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
- data/lib/wx/doc/gen/sash_window.rb +4 -5
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +21 -12
- data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
- data/lib/wx/doc/gen/scrolled_control.rb +34 -12
- data/lib/wx/doc/gen/scrolled_window.rb +34 -12
- data/lib/wx/doc/gen/search_ctrl.rb +10 -11
- 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 +29 -19
- data/lib/wx/doc/gen/spin_button.rb +16 -11
- 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 +78 -20
- data/lib/wx/doc/gen/static_bitmap.rb +12 -7
- data/lib/wx/doc/gen/static_box.rb +13 -11
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +5 -6
- data/lib/wx/doc/gen/static_text.rb +7 -8
- data/lib/wx/doc/gen/status_bar.rb +21 -11
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
- 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 +92 -27
- 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 +7 -8
- 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 +7 -8
- data/lib/wx/doc/gen/tool_bar.rb +99 -26
- 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 +71 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
- 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 +8 -4
- data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
- 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 +200 -50
- 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 -42
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/keyword_defs.rb +43 -6
- 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 +1 -1
- 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/text/richtext.rb +0 -30
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_app_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -0
- data/tests/test_book_controls.rb +29 -0
- data/tests/test_exceptions.rb +41 -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 +59 -0
- data/tests/test_std_controls.rb +78 -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 +38 -3
data/lib/wx/doc/gen/defs.rb
CHANGED
@@ -1430,7 +1430,7 @@ module Wx
|
|
1430
1430
|
|
1431
1431
|
# Virtual keycodes used by {Wx::KeyEvent} and some other wxWidgets functions.
|
1432
1432
|
#
|
1433
|
-
# Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as {Wx::K_END} lie above this range.
|
1433
|
+
# Note that the range 0..255 corresponds to the characters of the current locale, in particular the 32..127 subrange is for the ASCII symbols, and all the special key values such as {Wx::KeyCode::K_END} lie above this range.
|
1434
1434
|
#
|
1435
1435
|
class KeyCode < Wx::Enum
|
1436
1436
|
|
@@ -1598,11 +1598,11 @@ module Wx
|
|
1598
1598
|
#
|
1599
1599
|
K_ALT = Wx::KeyCode.new(307)
|
1600
1600
|
|
1601
|
-
# Note that under macOS, to improve compatibility with other systems, '{Wx::K_CONTROL}' represents the 'Command' key.
|
1601
|
+
# Note that under macOS, to improve compatibility with other systems, '{Wx::KeyCode::K_CONTROL}' represents the 'Command' key.
|
1602
1602
|
#
|
1603
1603
|
K_CONTROL = Wx::KeyCode.new(308)
|
1604
1604
|
|
1605
|
-
# Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, {Wx::K_RAW}_CONTROL may be used to obtain the state of the actual 'Control' key ('{Wx::K_CONTROL}' would obtain the status of the 'Command' key).
|
1605
|
+
# Under macOS, where the 'Command' key is mapped to 'Control' to improve compatibility with other systems, {Wx::KeyCode::K_RAW}_CONTROL may be used to obtain the state of the actual 'Control' key ('{Wx::KeyCode::K_CONTROL}' would obtain the status of the 'Command' key).
|
1606
1606
|
#
|
1607
1607
|
K_RAW_CONTROL = Wx::KeyCode.new(308)
|
1608
1608
|
|
@@ -2106,67 +2106,67 @@ module Wx
|
|
2106
2106
|
#
|
2107
2107
|
K_LAUNCH_APP2 = Wx::KeyCode.new(443)
|
2108
2108
|
|
2109
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2109
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2110
2110
|
#
|
2111
2111
|
K_LAUNCH_0 = Wx::KeyCode.new(432)
|
2112
2112
|
|
2113
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2113
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2114
2114
|
#
|
2115
2115
|
K_LAUNCH_1 = Wx::KeyCode.new(433)
|
2116
2116
|
|
2117
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2117
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2118
2118
|
#
|
2119
2119
|
K_LAUNCH_2 = Wx::KeyCode.new(434)
|
2120
2120
|
|
2121
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2121
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2122
2122
|
#
|
2123
2123
|
K_LAUNCH_3 = Wx::KeyCode.new(435)
|
2124
2124
|
|
2125
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2125
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2126
2126
|
#
|
2127
2127
|
K_LAUNCH_4 = Wx::KeyCode.new(436)
|
2128
2128
|
|
2129
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2129
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2130
2130
|
#
|
2131
2131
|
K_LAUNCH_5 = Wx::KeyCode.new(437)
|
2132
2132
|
|
2133
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2133
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2134
2134
|
#
|
2135
2135
|
K_LAUNCH_6 = Wx::KeyCode.new(438)
|
2136
2136
|
|
2137
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2137
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2138
2138
|
#
|
2139
2139
|
K_LAUNCH_7 = Wx::KeyCode.new(439)
|
2140
2140
|
|
2141
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2141
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2142
2142
|
#
|
2143
2143
|
K_LAUNCH_8 = Wx::KeyCode.new(440)
|
2144
2144
|
|
2145
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2145
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2146
2146
|
#
|
2147
2147
|
K_LAUNCH_9 = Wx::KeyCode.new(441)
|
2148
2148
|
|
2149
|
-
# Available since wxWidgets 3.1.6, generated by
|
2149
|
+
# Available since wxWidgets 3.1.6, generated by WXGTK and WXMSW.
|
2150
2150
|
#
|
2151
2151
|
K_LAUNCH_A = Wx::KeyCode.new(442)
|
2152
2152
|
|
2153
|
-
# Available since wxWidgets 3.1.6, generated by
|
2153
|
+
# Available since wxWidgets 3.1.6, generated by WXGTK and WXMSW.
|
2154
2154
|
#
|
2155
2155
|
K_LAUNCH_B = Wx::KeyCode.new(443)
|
2156
2156
|
|
2157
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2157
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2158
2158
|
#
|
2159
2159
|
K_LAUNCH_C = Wx::KeyCode.new(444)
|
2160
2160
|
|
2161
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2161
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2162
2162
|
#
|
2163
2163
|
K_LAUNCH_D = Wx::KeyCode.new(445)
|
2164
2164
|
|
2165
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2165
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2166
2166
|
#
|
2167
2167
|
K_LAUNCH_E = Wx::KeyCode.new(446)
|
2168
2168
|
|
2169
|
-
# Available since wxWidgets 3.1.6 and only generated by
|
2169
|
+
# Available since wxWidgets 3.1.6 and only generated by WXGTK.
|
2170
2170
|
#
|
2171
2171
|
K_LAUNCH_F = Wx::KeyCode.new(447)
|
2172
2172
|
|
@@ -2381,23 +2381,23 @@ module Wx
|
|
2381
2381
|
#
|
2382
2382
|
PAPER_DSHEET = Wx::PaperSize.new(5)
|
2383
2383
|
|
2384
|
-
#
|
2384
|
+
# \#10 Envelope, 4 1/8 by 9 1/2 inches
|
2385
2385
|
#
|
2386
2386
|
PAPER_ENV_10 = Wx::PaperSize.new(23)
|
2387
2387
|
|
2388
|
-
#
|
2388
|
+
# \#11 Envelope, 4 1/2 by 10 3/8 inches
|
2389
2389
|
#
|
2390
2390
|
PAPER_ENV_11 = Wx::PaperSize.new(24)
|
2391
2391
|
|
2392
|
-
#
|
2392
|
+
# \#12 Envelope, 4 3/4 by 11 inches
|
2393
2393
|
#
|
2394
2394
|
PAPER_ENV_12 = Wx::PaperSize.new(25)
|
2395
2395
|
|
2396
|
-
#
|
2396
|
+
# \#14 Envelope, 5 by 11 1/2 inches
|
2397
2397
|
#
|
2398
2398
|
PAPER_ENV_14 = Wx::PaperSize.new(26)
|
2399
2399
|
|
2400
|
-
#
|
2400
|
+
# \#9 Envelope, 3 7/8 by 8 7/8 inches
|
2401
2401
|
#
|
2402
2402
|
PAPER_ENV_9 = Wx::PaperSize.new(22)
|
2403
2403
|
|
@@ -2489,43 +2489,43 @@ module Wx
|
|
2489
2489
|
#
|
2490
2490
|
PAPER_JAPANESE_POSTCARD_ROTATED = Wx::PaperSize.new(79)
|
2491
2491
|
|
2492
|
-
# Japanese Envelope Chou
|
2492
|
+
# Japanese Envelope Chou \#3.
|
2493
2493
|
#
|
2494
2494
|
PAPER_JENV_CHOU3 = Wx::PaperSize.new(71)
|
2495
2495
|
|
2496
|
-
# Japanese Envelope Chou
|
2496
|
+
# Japanese Envelope Chou \#3 Rotated.
|
2497
2497
|
#
|
2498
2498
|
PAPER_JENV_CHOU3_ROTATED = Wx::PaperSize.new(84)
|
2499
2499
|
|
2500
|
-
# Japanese Envelope Chou
|
2500
|
+
# Japanese Envelope Chou \#4.
|
2501
2501
|
#
|
2502
2502
|
PAPER_JENV_CHOU4 = Wx::PaperSize.new(72)
|
2503
2503
|
|
2504
|
-
# Japanese Envelope Chou
|
2504
|
+
# Japanese Envelope Chou \#4 Rotated.
|
2505
2505
|
#
|
2506
2506
|
PAPER_JENV_CHOU4_ROTATED = Wx::PaperSize.new(85)
|
2507
2507
|
|
2508
|
-
# Japanese Envelope Kaku
|
2508
|
+
# Japanese Envelope Kaku \#2.
|
2509
2509
|
#
|
2510
2510
|
PAPER_JENV_KAKU2 = Wx::PaperSize.new(69)
|
2511
2511
|
|
2512
|
-
# Japanese Envelope Kaku
|
2512
|
+
# Japanese Envelope Kaku \#2 Rotated.
|
2513
2513
|
#
|
2514
2514
|
PAPER_JENV_KAKU2_ROTATED = Wx::PaperSize.new(82)
|
2515
2515
|
|
2516
|
-
# Japanese Envelope Kaku
|
2516
|
+
# Japanese Envelope Kaku \#3.
|
2517
2517
|
#
|
2518
2518
|
PAPER_JENV_KAKU3 = Wx::PaperSize.new(70)
|
2519
2519
|
|
2520
|
-
# Japanese Envelope Kaku
|
2520
|
+
# Japanese Envelope Kaku \#3 Rotated.
|
2521
2521
|
#
|
2522
2522
|
PAPER_JENV_KAKU3_ROTATED = Wx::PaperSize.new(83)
|
2523
2523
|
|
2524
|
-
# Japanese Envelope You
|
2524
|
+
# Japanese Envelope You \#4.
|
2525
2525
|
#
|
2526
2526
|
PAPER_JENV_YOU4 = Wx::PaperSize.new(89)
|
2527
2527
|
|
2528
|
-
# Japanese Envelope You
|
2528
|
+
# Japanese Envelope You \#4 Rotated.
|
2529
2529
|
#
|
2530
2530
|
PAPER_JENV_YOU4_ROTATED = Wx::PaperSize.new(90)
|
2531
2531
|
|
@@ -2601,83 +2601,83 @@ module Wx
|
|
2601
2601
|
#
|
2602
2602
|
PAPER_P32K_ROTATED = Wx::PaperSize.new(105)
|
2603
2603
|
|
2604
|
-
# PRC Envelope
|
2604
|
+
# PRC Envelope \#1 102 x 165 mm.
|
2605
2605
|
#
|
2606
2606
|
PAPER_PENV_1 = Wx::PaperSize.new(94)
|
2607
2607
|
|
2608
|
-
# PRC Envelope
|
2608
|
+
# PRC Envelope \#10 324 x 458 mm.
|
2609
2609
|
#
|
2610
2610
|
PAPER_PENV_10 = Wx::PaperSize.new(103)
|
2611
2611
|
|
2612
|
-
# PRC Envelope
|
2612
|
+
# PRC Envelope \#10 Rotated 458 x 324 m.
|
2613
2613
|
#
|
2614
2614
|
PAPER_PENV_10_ROTATED = Wx::PaperSize.new(116)
|
2615
2615
|
|
2616
|
-
# PRC Envelope
|
2616
|
+
# PRC Envelope \#1 Rotated 165 x 102 mm.
|
2617
2617
|
#
|
2618
2618
|
PAPER_PENV_1_ROTATED = Wx::PaperSize.new(107)
|
2619
2619
|
|
2620
|
-
# PRC Envelope
|
2620
|
+
# PRC Envelope \#2 102 x 176 mm.
|
2621
2621
|
#
|
2622
2622
|
PAPER_PENV_2 = Wx::PaperSize.new(95)
|
2623
2623
|
|
2624
|
-
# PRC Envelope
|
2624
|
+
# PRC Envelope \#2 Rotated 176 x 102 mm.
|
2625
2625
|
#
|
2626
2626
|
PAPER_PENV_2_ROTATED = Wx::PaperSize.new(108)
|
2627
2627
|
|
2628
|
-
# PRC Envelope
|
2628
|
+
# PRC Envelope \#3 125 x 176 mm.
|
2629
2629
|
#
|
2630
2630
|
PAPER_PENV_3 = Wx::PaperSize.new(96)
|
2631
2631
|
|
2632
|
-
# PRC Envelope
|
2632
|
+
# PRC Envelope \#3 Rotated 176 x 125 mm.
|
2633
2633
|
#
|
2634
2634
|
PAPER_PENV_3_ROTATED = Wx::PaperSize.new(109)
|
2635
2635
|
|
2636
|
-
# PRC Envelope
|
2636
|
+
# PRC Envelope \#4 110 x 208 mm.
|
2637
2637
|
#
|
2638
2638
|
PAPER_PENV_4 = Wx::PaperSize.new(97)
|
2639
2639
|
|
2640
|
-
# PRC Envelope
|
2640
|
+
# PRC Envelope \#4 Rotated 208 x 110 mm.
|
2641
2641
|
#
|
2642
2642
|
PAPER_PENV_4_ROTATED = Wx::PaperSize.new(110)
|
2643
2643
|
|
2644
|
-
# PRC Envelope
|
2644
|
+
# PRC Envelope \#5 110 x 220 mm.
|
2645
2645
|
#
|
2646
2646
|
PAPER_PENV_5 = Wx::PaperSize.new(98)
|
2647
2647
|
|
2648
|
-
# PRC Envelope
|
2648
|
+
# PRC Envelope \#5 Rotated 220 x 110 mm.
|
2649
2649
|
#
|
2650
2650
|
PAPER_PENV_5_ROTATED = Wx::PaperSize.new(111)
|
2651
2651
|
|
2652
|
-
# PRC Envelope
|
2652
|
+
# PRC Envelope \#6 120 x 230 mm.
|
2653
2653
|
#
|
2654
2654
|
PAPER_PENV_6 = Wx::PaperSize.new(99)
|
2655
2655
|
|
2656
|
-
# PRC Envelope
|
2656
|
+
# PRC Envelope \#6 Rotated 230 x 120 mm.
|
2657
2657
|
#
|
2658
2658
|
PAPER_PENV_6_ROTATED = Wx::PaperSize.new(112)
|
2659
2659
|
|
2660
|
-
# PRC Envelope
|
2660
|
+
# PRC Envelope \#7 160 x 230 mm.
|
2661
2661
|
#
|
2662
2662
|
PAPER_PENV_7 = Wx::PaperSize.new(100)
|
2663
2663
|
|
2664
|
-
# PRC Envelope
|
2664
|
+
# PRC Envelope \#7 Rotated 230 x 160 mm.
|
2665
2665
|
#
|
2666
2666
|
PAPER_PENV_7_ROTATED = Wx::PaperSize.new(113)
|
2667
2667
|
|
2668
|
-
# PRC Envelope
|
2668
|
+
# PRC Envelope \#8 120 x 309 mm.
|
2669
2669
|
#
|
2670
2670
|
PAPER_PENV_8 = Wx::PaperSize.new(101)
|
2671
2671
|
|
2672
|
-
# PRC Envelope
|
2672
|
+
# PRC Envelope \#8 Rotated 309 x 120 mm.
|
2673
2673
|
#
|
2674
2674
|
PAPER_PENV_8_ROTATED = Wx::PaperSize.new(114)
|
2675
2675
|
|
2676
|
-
# PRC Envelope
|
2676
|
+
# PRC Envelope \#9 229 x 324 mm.
|
2677
2677
|
#
|
2678
2678
|
PAPER_PENV_9 = Wx::PaperSize.new(102)
|
2679
2679
|
|
2680
|
-
# PRC Envelope
|
2680
|
+
# PRC Envelope \#9 Rotated 324 x 229 mm.
|
2681
2681
|
#
|
2682
2682
|
PAPER_PENV_9_ROTATED = Wx::PaperSize.new(115)
|
2683
2683
|
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# connected event
|
10
|
+
EVT_DIALUP_CONNECTED = 10199
|
11
|
+
|
12
|
+
# disconnected event
|
13
|
+
EVT_DIALUP_DISCONNECTED = 10200
|
14
|
+
|
15
|
+
# This is the event class for the dialup events sent by {Wx::DialUpManager}.
|
16
|
+
# Category: {Wx::Events}
|
17
|
+
#
|
18
|
+
# @wxrb_require USE_DIALUP_MANAGER
|
19
|
+
class DialUpEvent < Event
|
20
|
+
|
21
|
+
# Constructor is only used by {Wx::DialUpManager}.
|
22
|
+
# @param isConnected [Boolean]
|
23
|
+
# @param isOwnEvent [Boolean]
|
24
|
+
# @return [Wx::DialUpEvent]
|
25
|
+
def initialize(isConnected, isOwnEvent) end
|
26
|
+
|
27
|
+
# Is this a CONNECTED or DISCONNECTED event? In other words, does it notify about transition from offline to online state or vice versa?
|
28
|
+
# @return [Boolean]
|
29
|
+
def is_connected_event; end
|
30
|
+
alias_method :connected_event?, :is_connected_event
|
31
|
+
|
32
|
+
# Does this event come from {Wx::DialUpManager#dial} or from some external process (i.e.
|
33
|
+
# does it result from our own attempt to establish the connection)?
|
34
|
+
# @return [Boolean]
|
35
|
+
def is_own_event; end
|
36
|
+
alias_method :own_event?, :is_own_event
|
37
|
+
|
38
|
+
end # DialUpEvent
|
39
|
+
|
40
|
+
|
41
|
+
end
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# This file is automatically generated by the WXRuby3 documentation
|
3
|
+
# generator. Do not alter this file.
|
4
|
+
# :startdoc:
|
5
|
+
|
6
|
+
|
7
|
+
module Wx
|
8
|
+
|
9
|
+
# This class encapsulates functions dealing with verifying the connection status of the workstation (connected to the Internet via a direct connection, connected through a modem or not connected at all) and to establish this connection if possible/required (i.e.
|
10
|
+
# in the case of the modem).
|
11
|
+
# The program may also wish to be notified about the change in the connection status (for example, to perform some action when the user connects to the network the next time or, on the contrary, to stop receiving data from the net when the user hangs up the modem). For this, you need to use one of the event macros described below.
|
12
|
+
# This class is different from other wxWidgets classes in that there is at most one instance of this class in the program accessed via {Wx::DialUpManager.create} and you can't create the objects of this class directly.
|
13
|
+
# ### Events emitted by this class
|
14
|
+
#
|
15
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::DialUpEvent} events.
|
16
|
+
# Event handler methods for events emitted by this class:
|
17
|
+
#
|
18
|
+
# - {Wx::EvtHandler#evt_dialup_connected}(meth = nil, &block): A connection with the network was established.
|
19
|
+
#
|
20
|
+
# - {Wx::EvtHandler#evt_dialup_disconnected}(meth = nil, &block): The connection with the network was lost.
|
21
|
+
#
|
22
|
+
# Category: {Wx::Networking}
|
23
|
+
# @see Dialup Sample
|
24
|
+
# @see Wx::DialUpEvent
|
25
|
+
#
|
26
|
+
#
|
27
|
+
#
|
28
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
29
|
+
# @wxrb_require USE_DIALUP_MANAGER
|
30
|
+
class DialUpManager < ::Object
|
31
|
+
|
32
|
+
# Cancel dialing the number initiated with {Wx::DialUpManager#dial} with async parameter equal to true.
|
33
|
+
# <div class="wxrb-note">
|
34
|
+
# <b>Note:</b>
|
35
|
+
# <p>This won't result in a DISCONNECTED event being sent.
|
36
|
+
# </p>
|
37
|
+
# </div>
|
38
|
+
# @see Wx::DialUpManager#is_dialing
|
39
|
+
# @return [Boolean]
|
40
|
+
def cancel_dialing; end
|
41
|
+
|
42
|
+
# Dial the given ISP, use username and password to authenticate.
|
43
|
+
# The parameters are only used under Windows currently, for Unix you should use {Wx::DialUpManager#set_connect_command} to customize this functions behaviour.
|
44
|
+
# If no nameOfISP is given, the function will select the default one (proposing the user to choose among all connections defined on this machine) and if no username and/or password are given, the function will try to do without them, but will ask the user if really needed.
|
45
|
+
# If async parameter is false, the function waits until the end of dialing and returns true upon successful completion.
|
46
|
+
# If async is true, the function only initiates the connection and returns immediately - the result is reported via events (an event is sent anyhow, but if dialing failed it will be a DISCONNECTED one).
|
47
|
+
# @param nameOfISP [String]
|
48
|
+
# @param username [String]
|
49
|
+
# @param password [String]
|
50
|
+
# @param async [Boolean]
|
51
|
+
# @return [Boolean]
|
52
|
+
def dial(nameOfISP=(''), username=(''), password=(''), async=true) end
|
53
|
+
|
54
|
+
# Disable automatic check for connection status change - notice that the {Wx::EVT_DIALUP_XXX} events won't be sent any more either.
|
55
|
+
# @return [void]
|
56
|
+
def disable_auto_check_online_status; end
|
57
|
+
|
58
|
+
# Enable automatic checks for the connection status and sending of <code>wxEVT_DIALUP_CONNECTED/wxEVT_DIALUP_DISCONNECTED</code> events.
|
59
|
+
# The interval parameter is only for Unix where we do the check manually and specifies how often should we repeat the check (each minute by default). Under Windows, the notification about the change of connection status is sent by the system and so we don't do any polling and this parameter is ignored.
|
60
|
+
# false if couldn't set up automatic check for online status.
|
61
|
+
# @param nSeconds [Integer]
|
62
|
+
# @return [Boolean]
|
63
|
+
def enable_auto_check_online_status(nSeconds=60) end
|
64
|
+
|
65
|
+
# This function is only implemented under Windows.
|
66
|
+
# Fills the array with the names of all possible values for the first parameter to {Wx::DialUpManager#dial} on this machine and returns their number (may be 0).
|
67
|
+
# @return [Array<String>]
|
68
|
+
def get_isp_names; end
|
69
|
+
alias_method :isp_names, :get_isp_names
|
70
|
+
|
71
|
+
# Hang up the currently active dial up connection.
|
72
|
+
# @return [Boolean]
|
73
|
+
def hang_up; end
|
74
|
+
|
75
|
+
# Returns true if the computer has a permanent network connection (i.e.
|
76
|
+
# \ is on a LAN) and so there is no need to use {Wx::DialUpManager#dial} function to go online.
|
77
|
+
#
|
78
|
+
# <div class="wxrb-note">
|
79
|
+
# <b>Note:</b>
|
80
|
+
# <p>This function tries to guess the result and it is not always guaranteed to be correct, so it is better to ask user for confirmation or give him a possibility to override it.
|
81
|
+
# </p>
|
82
|
+
# </div>
|
83
|
+
# @return [Boolean]
|
84
|
+
def is_always_online; end
|
85
|
+
alias_method :always_online?, :is_always_online
|
86
|
+
|
87
|
+
# Returns true if (async) dialing is in progress.
|
88
|
+
#
|
89
|
+
# @see Wx::DialUpManager#dial
|
90
|
+
# @return [Boolean]
|
91
|
+
def is_dialing; end
|
92
|
+
alias_method :dialing?, :is_dialing
|
93
|
+
|
94
|
+
# Returns true if the dialup manager was initialized correctly.
|
95
|
+
# If this function returns false, no other functions will work either, so it is a good idea to call this function and check its result before calling any other {Wx::DialUpManager} methods.
|
96
|
+
# @return [Boolean]
|
97
|
+
def is_ok; end
|
98
|
+
alias_method :ok?, :is_ok
|
99
|
+
|
100
|
+
# Returns true if the computer is connected to the network: under Windows, this just means that a RAS connection exists, under Unix we check that the "well-known host" (as specified by {Wx::DialUpManager#set_well_known_host}) is reachable.
|
101
|
+
# @return [Boolean]
|
102
|
+
def is_online; end
|
103
|
+
alias_method :online?, :is_online
|
104
|
+
|
105
|
+
# This method is for Unix only.
|
106
|
+
# Sets the commands to start up the network and to hang up again.
|
107
|
+
# @param commandDial [String]
|
108
|
+
# @param commandHangup [String]
|
109
|
+
# @return [void]
|
110
|
+
def set_connect_command(commandDial=("/USR/BIN/PON"), commandHangup=("/USR/BIN/POFF")) end
|
111
|
+
alias_method :connect_command=, :set_connect_command
|
112
|
+
|
113
|
+
# Sometimes the built-in logic for determining the online status may fail, so, in general, the user should be allowed to override it.
|
114
|
+
# This function allows forcefully setting the online status - whatever our internal algorithm may think about it.
|
115
|
+
# @see Wx::DialUpManager#is_online
|
116
|
+
# @param isOnline [Boolean]
|
117
|
+
# @return [void]
|
118
|
+
def set_online_status(isOnline=true) end
|
119
|
+
alias_method :online_status=, :set_online_status
|
120
|
+
|
121
|
+
# This method is for Unix only.
|
122
|
+
# Under Unix, the value of well-known host is used to check whether we're connected to the internet. It is unused under Windows, but this function is always safe to call. The default value is <code>"www.yahoo.com:80"</code>.
|
123
|
+
# @param hostname [String]
|
124
|
+
# @param portno [Integer]
|
125
|
+
# @return [void]
|
126
|
+
def set_well_known_host(hostname, portno=80) end
|
127
|
+
alias_method :well_known_host=, :set_well_known_host
|
128
|
+
|
129
|
+
# This function should create and return the object of the platform-specific class derived from {Wx::DialUpManager}.
|
130
|
+
# You should delete the pointer when you are done with it.
|
131
|
+
# @return [Wx::DialUpManager]
|
132
|
+
def self.create; end
|
133
|
+
|
134
|
+
end # DialUpManager
|
135
|
+
|
136
|
+
|
137
|
+
end
|
data/lib/wx/doc/gen/dialog.rb
CHANGED
@@ -50,7 +50,7 @@ module Wx
|
|
50
50
|
# Dialogs usually contain either a single button allowing to close the dialog or two buttons, one accepting the changes and the other one discarding them (such button, if present, is automatically activated if the user presses the "Esc" key). By default, buttons with the standard {Wx::StandardID::ID_OK} and {Wx::StandardID::ID_CANCEL} identifiers behave as expected. Starting with wxWidgets 2.7 it is also possible to use a button with a different identifier instead, see {Wx::Dialog#set_affirmative_id} and {Wx::Dialog#set_escape_id}.
|
51
51
|
# Also notice that the {Wx::Dialog#create_button_sizer} should be used to create the buttons appropriate for the current platform and positioned correctly (including their order which is platform-dependent).
|
52
52
|
#
|
53
|
-
#
|
53
|
+
# ## Modal and Modeless
|
54
54
|
#
|
55
55
|
# There are two kinds of dialog, modal and modeless. A modal dialog blocks program flow and user input on other windows until it is dismissed, whereas a modeless dialog behaves more like a frame in that program flow continues, and input in other windows is still possible. To show a modal dialog you should use the {Wx::Dialog#show_modal} method while to show a dialog modelessly you simply use {Wx::Dialog#show}, just as with frames.
|
56
56
|
# Note that dialogs need to be explicitly destroyed when closed and not used anymore. The traditional code for this would be like:
|
@@ -81,7 +81,7 @@ module Wx
|
|
81
81
|
# ```
|
82
82
|
#
|
83
83
|
# An application can define a {Wx::CloseEvent} handler for the dialog to respond to system close events.
|
84
|
-
#
|
84
|
+
# ### Styles
|
85
85
|
#
|
86
86
|
# This class supports the following styles:
|
87
87
|
#
|
@@ -112,7 +112,7 @@ module Wx
|
|
112
112
|
# - {Wx::DIALOG_EX_METAL}: On macOS, frames with this style will be shown with a metallic look. This is an extra style.
|
113
113
|
#
|
114
114
|
# Under Unix or Linux, MWM (the Motif Window Manager) or other window managers recognizing the MHM hints should be running for any of these styles to have an effect.
|
115
|
-
#
|
115
|
+
# ### Events emitted by this class
|
116
116
|
#
|
117
117
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CloseEvent} events.
|
118
118
|
# Event handler methods for events emitted by this class:
|
@@ -121,8 +121,6 @@ module Wx
|
|
121
121
|
#
|
122
122
|
# - {Wx::EvtHandler#evt_init_dialog}(meth = nil, &block): Process a {Wx::EVT_INIT_DIALOG} event. See {Wx::InitDialogEvent}.
|
123
123
|
#
|
124
|
-
# ===
|
125
|
-
#
|
126
124
|
# Category: Common Dialogs
|
127
125
|
# @see wxDialog Overview
|
128
126
|
# @see Wx::Frame
|
@@ -134,7 +132,7 @@ module Wx
|
|
134
132
|
# @overload initialize()
|
135
133
|
# Default constructor.
|
136
134
|
# @return [Wx::Dialog]
|
137
|
-
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::
|
135
|
+
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR)
|
138
136
|
# Constructor.
|
139
137
|
#
|
140
138
|
# @see Wx::Dialog#create
|
@@ -178,7 +176,7 @@ module Wx
|
|
178
176
|
# @param style [Integer]
|
179
177
|
# @param name [String]
|
180
178
|
# @return [Boolean]
|
181
|
-
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::
|
179
|
+
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE, name=Wx::DIALOG_NAME_STR) end
|
182
180
|
|
183
181
|
# Creates a sizer with standard buttons.
|
184
182
|
# flags is a bit list of the following flags: {Wx::OK}, {Wx::CANCEL}, {Wx::YES}, {Wx::NO}, {Wx::APPLY}, {Wx::CLOSE}, {Wx::HELP}, {Wx::NO_DEFAULT}.
|
@@ -189,7 +187,11 @@ module Wx
|
|
189
187
|
def create_button_sizer(flags) end
|
190
188
|
|
191
189
|
# Creates a sizer with standard buttons using {Wx::Dialog#create_button_sizer} separated from the rest of the dialog contents by a horizontal {Wx::StaticLine}.
|
192
|
-
#
|
190
|
+
# <div class="wxrb-note">
|
191
|
+
# <b>Note:</b>
|
192
|
+
# <p>Just like {Wx::Dialog#create_button_sizer}, this function may return NULL if no buttons were created.
|
193
|
+
# </p>
|
194
|
+
# </div>
|
193
195
|
#
|
194
196
|
# This is a combination of {Wx::Dialog#create_button_sizer} and {Wx::Dialog#create_separated_sizer}.
|
195
197
|
# @param flags [Integer]
|
@@ -277,7 +279,11 @@ module Wx
|
|
277
279
|
alias_method :main_button_ids, :get_main_button_ids
|
278
280
|
|
279
281
|
# Gets the return code for this window.
|
280
|
-
#
|
282
|
+
# <div class="wxrb-remark">
|
283
|
+
# <b>Remark:</b>
|
284
|
+
# <p>A return code is normally associated with a modal dialog, where {Wx::Dialog#show_modal} returns a code to the application.
|
285
|
+
# </p>
|
286
|
+
# </div>>
|
281
287
|
# @see Wx::Dialog#set_return_code
|
282
288
|
# @see Wx::Dialog#show_modal
|
283
289
|
# @see Wx::Dialog#end_modal
|
@@ -288,23 +294,33 @@ module Wx
|
|
288
294
|
# Iconizes or restores the dialog.
|
289
295
|
# Windows only.
|
290
296
|
#
|
291
|
-
#
|
297
|
+
# <div class="wxrb-remark">
|
298
|
+
# <b>Remark:</b>
|
299
|
+
# <p>Note that in Windows, iconization has no effect since dialog boxes cannot be iconized. However, applications may need to explicitly restore dialog boxes under Motif which have user-iconizable frames, and under Windows calling Iconize(false) will bring the window to the front, as does Show(true).
|
300
|
+
# </p>
|
301
|
+
# </div>>
|
292
302
|
# @param iconize [Boolean] If true, iconizes the dialog box; if false, shows and restores it.
|
293
303
|
# @return [void]
|
294
304
|
def iconize(iconize=true) end
|
295
305
|
|
296
306
|
# Returns true if the dialog box is iconized.
|
297
307
|
# Windows only.
|
298
|
-
#
|
308
|
+
#
|
309
|
+
# <div class="wxrb-remark">
|
310
|
+
# <b>Remark:</b>
|
311
|
+
# <p>Always returns false under Windows since dialogs cannot be iconized.
|
312
|
+
# </p>
|
313
|
+
# </div>>
|
299
314
|
# @return [Boolean]
|
300
315
|
def is_iconized; end
|
301
316
|
alias_method :iconized?, :is_iconized
|
302
317
|
|
303
318
|
# Returns true if id is in the array of identifiers to be regarded as the main buttons for the non-scrolling area of a dialog.
|
304
|
-
# Availability: only available for the
|
319
|
+
# Availability: only available for the WXMSW port.
|
305
320
|
# @see Automatic Scrolled Dialogs (for more on layout adaptation)
|
306
321
|
# @param id [Integer]
|
307
322
|
# @return [Boolean]
|
323
|
+
# @wxrb_require WXMSW
|
308
324
|
def is_main_button_id(id) end
|
309
325
|
alias_method :main_button_id?, :is_main_button_id
|
310
326
|
|
@@ -327,7 +343,12 @@ module Wx
|
|
327
343
|
# Sets the identifier of the button which should work like the standard "Cancel" button in this dialog.
|
328
344
|
# When the button with this id is clicked, the dialog is closed. Also, when the user presses ESC key in the dialog or closes the dialog using the close button in the title bar, this is mapped to the click of the button with the specified id.
|
329
345
|
# By default, the escape id is the special value {Wx::StandardID::ID_ANY} meaning that {Wx::StandardID::ID_CANCEL} button is used if it's present in the dialog and otherwise the button with {Wx::Dialog#get_affirmative_id} is used. Another special value for id is {Wx::StandardID::ID_NONE} meaning that ESC presses should be ignored. If any other value is given, it is interpreted as the id of the button to map the escape key to.
|
330
|
-
#
|
346
|
+
#
|
347
|
+
# <div class="wxrb-note">
|
348
|
+
# <b>Note:</b>
|
349
|
+
# <p>This method should be used for custom modal dialog implemented in wxWidgets itself, native dialogs such as {Wx::MessageDialog} or {Wx::FileDialog}, handle ESC presses in their own way which cannot be customized.
|
350
|
+
# </p>
|
351
|
+
# </div>
|
331
352
|
# @param id [Integer]
|
332
353
|
# @return [void]
|
333
354
|
def set_escape_id(id) end
|
@@ -405,7 +426,7 @@ module Wx
|
|
405
426
|
|
406
427
|
# Shows a dialog modal to the parent top level window only.
|
407
428
|
# Unlike {Wx::Dialog#show_modal}, dialogs shown with this function only prevent the user from interacting with their parent frame only but not with the rest of the application. They also don't block the program execution but instead return immediately, as {Wx::Dialog#show}, and generate a {Wx::EVT_WINDOW_MODAL_DIALOG_CLOSED} event ({Wx::WindowModalDialogEvent}) later when the dialog is closed.
|
408
|
-
# Currently this function is only fully implemented in
|
429
|
+
# Currently this function is only fully implemented in WXOSX ports, under the other platforms it behaves like {Wx::Dialog#show_modal} (but also sends the above mentioned event).
|
409
430
|
# @see Wx::WindowModalDialogEvent
|
410
431
|
# @see Wx::Dialog#show_window_modal_then_do
|
411
432
|
# @return [void]
|
@@ -443,7 +464,6 @@ module Wx
|
|
443
464
|
# This abstract class is the base for classes that help wxWidgets perform run-time layout adaptation of dialogs.
|
444
465
|
# Principally, this is to cater for small displays by making part of the dialog scroll, but the application developer may find other uses for layout adaption.
|
445
466
|
# By default, there is one instance of {Wx::StandardDialogLayoutAdapter} which can perform adaptation for most custom dialogs and dialogs with book controls such as {Wx::PropertySheetDialog}.
|
446
|
-
# ===
|
447
467
|
#
|
448
468
|
# Category: Window Layout
|
449
469
|
# @see Automatic Scrolled Dialogs
|
@@ -55,7 +55,7 @@ module Wx
|
|
55
55
|
def self.dir_selector(message=Wx::DIR_SELECTOR_PROMPT_STR, default_path=(''), style=0, pos=Wx::DEFAULT_POSITION, parent=nil) end
|
56
56
|
|
57
57
|
# This class represents the directory chooser dialog.
|
58
|
-
#
|
58
|
+
# ### Styles
|
59
59
|
#
|
60
60
|
# This class supports the following styles:
|
61
61
|
#
|
@@ -75,15 +75,19 @@ module Wx
|
|
75
75
|
# Wx::DD_DEFAULT_STYLE | Wx::DD_DIR_MUST_EXIST)
|
76
76
|
# ```
|
77
77
|
# instead of just using {Wx::DD_DIR_MUST_EXIST} style alone.
|
78
|
-
# MacOS 10.11+ does not display a title bar on the dialog. Use {Wx::DirDialog#set_message} to change the string displayed to the user at the top of the dialog after creation. The {Wx::DirDialog#set_title} method is provided for compatibility with pre-10.11 MacOS versions that do still support displaying the title bar.
|
79
78
|
#
|
80
|
-
#
|
79
|
+
# <div class="wxrb-remark">
|
80
|
+
# <b>Remark:</b>
|
81
|
+
# <p>MacOS 10.11+ does not display a title bar on the dialog. Use {Wx::DirDialog#set_message} to change the string displayed to the user at the top of the dialog after creation. The {Wx::DirDialog#set_title} method is provided for compatibility with pre-10.11 MacOS versions that do still support displaying the title bar.
|
82
|
+
# </p>
|
83
|
+
# </div>>
|
81
84
|
#
|
82
85
|
# Category: Common Dialogs
|
83
86
|
# @see wxDirDialog Overview
|
84
87
|
# @see Wx::FileDialog
|
85
88
|
#
|
86
89
|
#
|
90
|
+
# @wxrb_require USE_DIRDLG
|
87
91
|
class DirDialog < Dialog
|
88
92
|
|
89
93
|
# Constructor.
|
@@ -104,13 +108,21 @@ module Wx
|
|
104
108
|
alias_method :message, :get_message
|
105
109
|
|
106
110
|
# Returns the default or user-selected path.
|
107
|
-
#
|
111
|
+
# <div class="wxrb-note">
|
112
|
+
# <b>Note:</b>
|
113
|
+
# <p>This function can't be used with dialogs which have the {Wx::DD_MULTIPLE} style, use {Wx::DirDialog#get_paths} instead.
|
114
|
+
# </p>
|
115
|
+
# </div>
|
108
116
|
# @return [String]
|
109
117
|
def get_path; end
|
110
118
|
alias_method :path, :get_path
|
111
119
|
|
112
120
|
# Fills the array paths with the full paths of the chosen directories.
|
113
|
-
#
|
121
|
+
# <div class="wxrb-note">
|
122
|
+
# <b>Note:</b>
|
123
|
+
# <p>This function should only be used with the dialogs which have {Wx::DD_MULTIPLE} style, use {Wx::DirDialog#get_path} for the others.
|
124
|
+
# </p>
|
125
|
+
# </div>
|
114
126
|
# @param paths [Array<String>]
|
115
127
|
# @return [void]
|
116
128
|
def get_paths(paths) end
|