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/defs.rb
CHANGED
@@ -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
|
|
@@ -13,10 +13,9 @@ module Wx
|
|
13
13
|
EVT_DIALUP_DISCONNECTED = 10200
|
14
14
|
|
15
15
|
# This is the event class for the dialup events sent by {Wx::DialUpManager}.
|
16
|
-
# ===
|
17
|
-
#
|
18
16
|
# Category: {Wx::Events}
|
19
17
|
#
|
18
|
+
# @wxrb_require USE_DIALUP_MANAGER
|
20
19
|
class DialUpEvent < Event
|
21
20
|
|
22
21
|
# Constructor is only used by {Wx::DialUpManager}.
|
@@ -10,7 +10,7 @@ module Wx
|
|
10
10
|
# in the case of the modem).
|
11
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
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
|
-
#
|
13
|
+
# ### Events emitted by this class
|
14
14
|
#
|
15
15
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::DialUpEvent} events.
|
16
16
|
# Event handler methods for events emitted by this class:
|
@@ -19,8 +19,6 @@ module Wx
|
|
19
19
|
#
|
20
20
|
# - {Wx::EvtHandler#evt_dialup_disconnected}(meth = nil, &block): The connection with the network was lost.
|
21
21
|
#
|
22
|
-
# ===
|
23
|
-
#
|
24
22
|
# Category: {Wx::Networking}
|
25
23
|
# @see Dialup Sample
|
26
24
|
# @see Wx::DialUpEvent
|
@@ -28,10 +26,15 @@ module Wx
|
|
28
26
|
#
|
29
27
|
#
|
30
28
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
29
|
+
# @wxrb_require USE_DIALUP_MANAGER
|
31
30
|
class DialUpManager < ::Object
|
32
31
|
|
33
32
|
# Cancel dialing the number initiated with {Wx::DialUpManager#dial} with async parameter equal to true.
|
34
|
-
#
|
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>
|
35
38
|
# @see Wx::DialUpManager#is_dialing
|
36
39
|
# @return [Boolean]
|
37
40
|
def cancel_dialing; end
|
@@ -71,7 +74,12 @@ module Wx
|
|
71
74
|
|
72
75
|
# Returns true if the computer has a permanent network connection (i.e.
|
73
76
|
# \ is on a LAN) and so there is no need to use {Wx::DialUpManager#dial} function to go online.
|
74
|
-
#
|
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>
|
75
83
|
# @return [Boolean]
|
76
84
|
def is_always_online; end
|
77
85
|
alias_method :always_online?, :is_always_online
|
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
|
@@ -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
|
@@ -8,37 +8,36 @@ module Wx
|
|
8
8
|
|
9
9
|
# This control allows the user to select a directory.
|
10
10
|
# The generic implementation is a button which brings up a {Wx::DirDialog} when clicked. Native implementation may differ but this is usually a (small) widget which give access to the dir-chooser dialog. It is only available if {Wx::Setup::USE_DIRPICKERCTRL} is set to 1 (the default).
|
11
|
-
#
|
11
|
+
# ### Styles
|
12
12
|
#
|
13
13
|
# This class supports the following styles:
|
14
14
|
#
|
15
|
-
# - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under
|
15
|
+
# - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under WXMSW only, {Wx::DIRP_USE_TEXTCTRL}.
|
16
16
|
#
|
17
17
|
# - {Wx::DIRP_USE_TEXTCTRL}: Creates a text control to the left of the picker button which is completely managed by the {Wx::DirPickerCtrl} and which can be used by the user to specify a path (see SetPath). The text control is automatically synchronized with button's value. Use functions defined in {Wx::PickerBase} to modify the text control.
|
18
18
|
#
|
19
|
-
# - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native
|
19
|
+
# - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native WXGTK implementation always uses this style as it doesn't support selecting non-existent directories.
|
20
20
|
#
|
21
21
|
# - {Wx::DIRP_CHANGE_DIR}: Change current working directory on each user directory selection change.
|
22
22
|
#
|
23
23
|
# - {Wx::DIRP_SMALL}: Use smaller version of the control with a small "..." button instead of the normal "Browse" one. This flag is new since wxWidgets 2.9.3.
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# ### Events emitted by this class
|
26
26
|
#
|
27
27
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::FileDirPickerEvent} events.
|
28
28
|
# Event handler methods for events emitted by this class:
|
29
29
|
#
|
30
30
|
# - {Wx::EvtHandler#evt_dirpicker_changed}(id, meth = nil, &block): The user changed the directory selected in the control either using the button or using text control (see {Wx::DIRP_USE_TEXTCTRL}; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).
|
31
31
|
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
# </td><td> wxGTK Appearance
|
36
|
-
# </td><td> wxOSX Appearance
|
32
|
+
# Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
33
|
+
# </td><td> WXGTK Appearance
|
34
|
+
# </td><td> WXOSX Appearance
|
37
35
|
# </td></tr></table></div>
|
38
36
|
# @see Wx::DirDialog
|
39
37
|
# @see Wx::FileDirPickerEvent
|
40
38
|
#
|
41
39
|
#
|
40
|
+
# @wxrb_require USE_DIRDLG,USE_DIRPICKERCTRL
|
42
41
|
class DirPickerCtrl < PickerBase
|
43
42
|
|
44
43
|
# @overload initialize()
|
@@ -96,7 +95,7 @@ module Wx
|
|
96
95
|
alias_method :initial_directory=, :set_initial_directory
|
97
96
|
|
98
97
|
# Sets the absolute path of the currently selected directory.
|
99
|
-
# If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native
|
98
|
+
# If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native WXGTK implementation if this is not the case.
|
100
99
|
# @param dirname [String]
|
101
100
|
# @return [void]
|
102
101
|
def set_path(dirname) end
|