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/frame.rb
CHANGED
@@ -19,9 +19,14 @@ module Wx
|
|
19
19
|
# It usually has thick borders and a title bar, and can optionally contain a menu bar, toolbar and status bar. A frame can contain any window that is not a frame or dialog.
|
20
20
|
# A frame that has a status bar and toolbar, created via the {Wx::Frame#create_status_bar} and {Wx::Frame#create_tool_bar} functions, manages these windows and adjusts the value returned by {Wx::Frame#get_client_size} to reflect the remaining size available to application windows.
|
21
21
|
# If a frame is to be used as an input form, the controls should not be created as its children. Instead, a {Wx::Panel} should be created as the sole child of the frame, serving as the parent of the actual controls (the frame will size the panel so it always fills its client area). Doing this will ensure that tabbing between the controls works and the frame background has the expected colour. Moreover, as a frame is by default resizable, it could be better to use {Wx::ScrolledWindow} instead of {Wx::Panel}, to make sure the controls are easily accessible regardless of the frame size. However, please consider whether it would not be better to use {Wx::Dialog} instead of {Wx::Frame}, where using a panel like this is not needed and {Wx::Dialog} also offers other benefits such as creating specialized sizers (e.g., for buttons, with their platform-correct order).
|
22
|
-
# An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
|
23
22
|
#
|
24
|
-
#
|
23
|
+
# <div class="wxrb-remark">
|
24
|
+
# <b>Remark:</b>
|
25
|
+
# <p>An application should normally define a {Wx::CloseEvent} handler for the frame to respond to system close events, for example so that related data and subwindows can be cleaned up.
|
26
|
+
# </p>
|
27
|
+
# </div>>
|
28
|
+
#
|
29
|
+
# ## Default event processing
|
25
30
|
#
|
26
31
|
# {Wx::Frame} processes the following events:
|
27
32
|
#
|
@@ -29,7 +34,7 @@ module Wx
|
|
29
34
|
#
|
30
35
|
# - {Wx::EVT_MENU_HIGHLIGHT}: the default implementation displays the help string associated with the selected item in the first pane of the status bar, if there is one.
|
31
36
|
#
|
32
|
-
#
|
37
|
+
# ### Styles
|
33
38
|
#
|
34
39
|
# This class supports the following styles:
|
35
40
|
#
|
@@ -45,7 +50,7 @@ module Wx
|
|
45
50
|
#
|
46
51
|
# - {Wx::MAXIMIZE}: Displays the frame maximized. Windows and GTK+ only.
|
47
52
|
#
|
48
|
-
# - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under
|
53
|
+
# - {Wx::MAXIMIZE_BOX}: Displays a maximize box on the frame. Notice that under WXGTK {Wx::RESIZE_BORDER} must be used as well or this style is ignored.
|
49
54
|
#
|
50
55
|
# - {Wx::CLOSE_BOX}: Displays a close box on the frame.
|
51
56
|
#
|
@@ -57,7 +62,7 @@ module Wx
|
|
57
62
|
#
|
58
63
|
# - {Wx::FRAME_TOOL_WINDOW}: Causes a frame with a small title bar to be created; the frame does not appear in the taskbar under Windows or GTK+.
|
59
64
|
#
|
60
|
-
# - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In
|
65
|
+
# - {Wx::FRAME_NO_TASKBAR}: Creates an otherwise normal frame but it does not appear in the taskbar under Windows or GTK+ (note that it will minimize to the desktop window under Windows which may seem strange to the users and thus it might be better to use this style only without {Wx::MINIMIZE_BOX} style). In WXGTK, the flag is respected only if the window manager supports _NET_WM_STATE_SKIP_TASKBAR hint.
|
61
66
|
#
|
62
67
|
# - {Wx::FRAME_FLOAT_ON_PARENT}: The frame will always be on top of its parent (unlike {Wx::STAY_ON_TOP}). A frame created with this style must have a non-NULL parent.
|
63
68
|
#
|
@@ -71,7 +76,7 @@ module Wx
|
|
71
76
|
#
|
72
77
|
# See also the Window Styles.
|
73
78
|
#
|
74
|
-
#
|
79
|
+
# ### Extra Styles
|
75
80
|
#
|
76
81
|
# This class supports the following extra styles:
|
77
82
|
#
|
@@ -79,7 +84,7 @@ module Wx
|
|
79
84
|
#
|
80
85
|
# - {Wx::FRAME_EX_METAL}: On macOS, frames with this style will be shown with a metallic look. This is an extra style.
|
81
86
|
#
|
82
|
-
#
|
87
|
+
# ### Events emitted by this class
|
83
88
|
#
|
84
89
|
# Event handler methods for events emitted by this class:
|
85
90
|
#
|
@@ -95,8 +100,6 @@ module Wx
|
|
95
100
|
#
|
96
101
|
# - {Wx::EvtHandler#evt_menu_highlight_all}(meth = nil, &block): A menu item has been highlighted, i.e. the currently selected menu item has changed. See {Wx::MenuEvent}.
|
97
102
|
#
|
98
|
-
# ===
|
99
|
-
#
|
100
103
|
# Category: Managed Windows
|
101
104
|
# @see Wx::MDIParentFrame
|
102
105
|
# @see Wx::MDIChildFrame
|
@@ -109,9 +112,13 @@ module Wx
|
|
109
112
|
# @overload initialize()
|
110
113
|
# Default constructor.
|
111
114
|
# @return [Wx::Frame]
|
112
|
-
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::
|
115
|
+
# @overload initialize(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR)
|
113
116
|
# Constructor, creating the window.
|
114
|
-
#
|
117
|
+
# <div class="wxrb-remark">
|
118
|
+
# <b>Remark:</b>
|
119
|
+
# <p>For Motif, MWM (the Motif Window Manager) should be running for any window styles to work (otherwise all styles take effect).
|
120
|
+
# </p>
|
121
|
+
# </div>>
|
115
122
|
# @see Wx::Frame#create
|
116
123
|
# @param parent [Wx::Window] The window parent. This may be, and often is, NULL. If it is non-NULL, the frame will be minimized when its parent is minimized and restored when it is restored (although it will still be possible to minimize and restore just this frame itself).
|
117
124
|
# @param id [Integer] The window identifier. It may take a value of -1 to indicate a default value.
|
@@ -138,12 +145,16 @@ module Wx
|
|
138
145
|
# @param style [Integer]
|
139
146
|
# @param name [String]
|
140
147
|
# @return [Boolean]
|
141
|
-
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::
|
148
|
+
def create(parent, id, title, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_FRAME_STYLE, name=Wx::FRAME_NAME_STR) end
|
142
149
|
|
143
150
|
# Creates a status bar at the bottom of the frame.
|
144
151
|
# A pointer to the status bar if it was created successfully, NULL otherwise.
|
145
152
|
#
|
146
|
-
#
|
153
|
+
# <div class="wxrb-remark">
|
154
|
+
# <b>Remark:</b>
|
155
|
+
# <p>The width of the status bar is the whole width of the frame (adjusted automatically when resizing), and the height and text size are chosen by the host windowing system.
|
156
|
+
# </p>
|
157
|
+
# </div>>
|
147
158
|
# @see Wx::Frame#set_status_text
|
148
159
|
# @see Wx::Frame#on_create_status_bar
|
149
160
|
# @see Wx::Frame#get_status_bar
|
@@ -152,12 +163,16 @@ module Wx
|
|
152
163
|
# @param id [Integer] The status bar window identifier. If -1, an identifier will be chosen by wxWidgets.
|
153
164
|
# @param name [String] The status bar window name.
|
154
165
|
# @return [Wx::StatusBar]
|
155
|
-
def create_status_bar(number=1, style=Wx::STB_DEFAULT_STYLE, id=0, name=Wx::
|
166
|
+
def create_status_bar(number=1, style=Wx::STB_DEFAULT_STYLE, id=0, name=Wx::STATUS_BAR_NAME_STR) end
|
156
167
|
|
157
168
|
# Creates a toolbar at the top or left of the frame.
|
158
169
|
# A pointer to the toolbar if it was created successfully, NULL otherwise.
|
159
170
|
#
|
160
|
-
#
|
171
|
+
# <div class="wxrb-remark">
|
172
|
+
# <b>Remark:</b>
|
173
|
+
# <p>By default, the toolbar is an instance of {Wx::ToolBar}. To use a different class, override {Wx::Frame#on_create_tool_bar}. When a toolbar has been created with this function, or made known to the frame with {Wx::Frame#set_tool_bar}, the frame will manage the toolbar position and adjust the return value from {Wx::Window#get_client_size} to reflect the available space for application windows. Under Pocket PC, you should always use this function for creating the toolbar to be managed by the frame, so that wxWidgets can use a combined menubar and toolbar. Where you manage your own toolbars, create a {Wx::ToolBar} as usual.
|
174
|
+
# </p>
|
175
|
+
# </div>>
|
161
176
|
# @see Wx::Frame#create_status_bar
|
162
177
|
# @see Wx::Frame#on_create_tool_bar
|
163
178
|
# @see Wx::Frame#set_tool_bar
|
@@ -166,7 +181,7 @@ module Wx
|
|
166
181
|
# @param id [Integer] The toolbar window identifier. If -1, an identifier will be chosen by wxWidgets.
|
167
182
|
# @param name [String] The toolbar window name.
|
168
183
|
# @return [Wx::ToolBar]
|
169
|
-
def create_tool_bar(style=Wx::TB_DEFAULT_STYLE, id=Wx::StandardID::ID_ANY, name=Wx::
|
184
|
+
def create_tool_bar(style=Wx::TB_DEFAULT_STYLE, id=Wx::StandardID::ID_ANY, name=Wx::TOOL_BAR_NAME_STR) end
|
170
185
|
|
171
186
|
# Method used to show help string of the selected menu toolbar item.
|
172
187
|
# This method is called by the default {Wx::EVT_MENU_HIGHLIGHT} event handler and also by {Wx::ToolBar} to show the optional help string associated with the selected menu or toolbar item. It can be overridden if the default behaviour of showing this string in the frame status bar is not appropriate.
|
@@ -221,7 +236,11 @@ module Wx
|
|
221
236
|
def process_command(id) end
|
222
237
|
|
223
238
|
# Tells the frame to show the given menu bar.
|
224
|
-
#
|
239
|
+
# <div class="wxrb-remark">
|
240
|
+
# <b>Remark:</b>
|
241
|
+
# <p>If the frame is destroyed, the menu bar and its menus will be destroyed also, so do not delete the menu bar explicitly (except by resetting the frame's menu bar to another frame or NULL). Under Windows, a size event is generated, so be sure to initialize data members properly before calling {Wx::Frame#set_menu_bar}. Note that on some platforms, it is not possible to call this function twice for the same frame object.
|
242
|
+
# </p>
|
243
|
+
# </div>>
|
225
244
|
# @see Wx::Frame#get_menu_bar
|
226
245
|
# @see Wx::MenuBar
|
227
246
|
# @see Wx::Menu.
|
@@ -250,7 +269,11 @@ module Wx
|
|
250
269
|
# Sets the status bar text and updates the status bar display.
|
251
270
|
# This is a simple wrapper for {Wx::StatusBar#set_status_text} which doesn't do anything if the frame has no status bar, i.e. {Wx::Frame#get_status_bar} returns NULL.
|
252
271
|
#
|
253
|
-
#
|
272
|
+
# <div class="wxrb-remark">
|
273
|
+
# <b>Remark:</b>
|
274
|
+
# <p>Use an empty string to clear the status bar.
|
275
|
+
# </p>
|
276
|
+
# </div>>
|
254
277
|
# @see Wx::Frame#create_status_bar
|
255
278
|
# @see Wx::StatusBar
|
256
279
|
# @param text [String] The text for the status field.
|
@@ -260,7 +283,11 @@ module Wx
|
|
260
283
|
alias_method :status_text=, :set_status_text
|
261
284
|
|
262
285
|
# Sets the widths of the fields in the status bar.
|
263
|
-
#
|
286
|
+
# <div class="wxrb-remark">
|
287
|
+
# <b>Remark:</b>
|
288
|
+
# <p>The widths of the variable fields are calculated from the total width of all fields, minus the sum of widths of the non-variable fields, divided by the number of variable fields.
|
289
|
+
# </p>
|
290
|
+
# </div>>
|
264
291
|
# @param widths_field [Array<Integer>] Must contain an array of n integers, each of which is a status field width in pixels. A value of -1 indicates that the field is variable width; at least one field must be -1. You should delete this array after calling {Wx::Frame#set_status_widths}.
|
265
292
|
# @return [void]
|
266
293
|
def set_status_widths(widths_field) end
|
@@ -271,6 +298,20 @@ module Wx
|
|
271
298
|
def set_tool_bar(toolBar) end
|
272
299
|
alias_method :tool_bar=, :set_tool_bar
|
273
300
|
|
301
|
+
# MSW-specific function for accessing the taskbar button under Windows 7 or later.
|
302
|
+
# Returns a {Wx::TaskBarButton} pointer representing the taskbar button of the window under Windows 7 or later. The returned {Wx::TaskBarButton} may be used, if non-NULL, to access the functionality including thumbnail representations, thumbnail toolbars, notification and status overlays, and progress indicators.
|
303
|
+
# The returned pointer must not be deleted, it is owned by the frame and will be only deleted when the frame itself is destroyed.
|
304
|
+
# This function is not available in the other ports by design, any occurrences of it in the portable code must be guarded by
|
305
|
+
# ```ruby
|
306
|
+
# if Wx::PLATFORM == 'WXMSW'
|
307
|
+
# #...
|
308
|
+
# end
|
309
|
+
# ```
|
310
|
+
# preprocessor guards.
|
311
|
+
# @return [Wx::TaskBarButton]
|
312
|
+
# @wxrb_require WXMSW,USE_TASKBARBUTTON
|
313
|
+
def msw_get_task_bar_button; end
|
314
|
+
|
274
315
|
# @param text [String]
|
275
316
|
# @param number [Integer]
|
276
317
|
# @return [void]
|
data/lib/wx/doc/gen/fs_file.rb
CHANGED
@@ -10,6 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
#
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_FILESYSTEM
|
13
14
|
class FileSystemOpenFlags < Wx::Enum
|
14
15
|
|
15
16
|
# Open for reading.
|
@@ -24,6 +25,7 @@ module Wx
|
|
24
25
|
|
25
26
|
# Parameter indicating how file offset should be interpreted.
|
26
27
|
#
|
28
|
+
# @wxrb_require USE_FILESYSTEM
|
27
29
|
class SeekMode < Wx::Enum
|
28
30
|
|
29
31
|
# Seek from the file beginning.
|
@@ -42,6 +44,7 @@ module Wx
|
|
42
44
|
|
43
45
|
# IO stream error codes.
|
44
46
|
#
|
47
|
+
# @wxrb_require USE_FILESYSTEM
|
45
48
|
class StreamError < Wx::Enum
|
46
49
|
|
47
50
|
# No error occurred.
|
@@ -64,9 +67,12 @@ module Wx
|
|
64
67
|
|
65
68
|
# This class represents a single file opened by {Wx::FileSystem}.
|
66
69
|
# It provides more information than wxWidgets' input streams (stream, filename, mime type, anchor).
|
67
|
-
# Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
|
68
70
|
#
|
69
|
-
#
|
71
|
+
# <div class="wxrb-note">
|
72
|
+
# <b>Note:</b>
|
73
|
+
# <p>Any pointer returned by a method of {Wx::FSFile} is valid only as long as the {Wx::FSFile} object exists. For example a call to {Wx::FSFile#get_stream} doesn't create the stream but only returns the pointer to it. In other words after 10 calls to {Wx::FSFile#get_stream} you will have obtained ten identical pointers.
|
74
|
+
# </p>
|
75
|
+
# </div>
|
70
76
|
#
|
71
77
|
# Category: Virtual File System, File Handling
|
72
78
|
# @see Wx::FileSystemHandler
|
@@ -74,6 +80,7 @@ module Wx
|
|
74
80
|
# @see wxFileSystem Overview
|
75
81
|
#
|
76
82
|
#
|
83
|
+
# @wxrb_require USE_FILESYSTEM
|
77
84
|
class FSFile < Object
|
78
85
|
|
79
86
|
# Constructor.
|
@@ -96,19 +103,19 @@ module Wx
|
|
96
103
|
|
97
104
|
# Returns anchor (if present).
|
98
105
|
# The term of <b>anchor</b> can be easily explained using few examples:
|
99
|
-
# index.htm
|
106
|
+
# index.htm\#anchor // 'anchor' is anchor
|
100
107
|
# index/{Wx::001}.htm // NO anchor here!
|
101
|
-
# archive/main.zip
|
102
|
-
# archive/main.zip
|
108
|
+
# archive/main.zip\#zip:index.htm\#global // 'global'
|
109
|
+
# archive/main.zip\#zip:index.htm // NO anchor here!
|
103
110
|
#
|
104
|
-
# Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi
|
111
|
+
# Usually an anchor is presented only if the MIME type is 'text/html'. But it may have some meaning with other files; for example myanim.avi\#200 may refer to position in animation or reality.wrl::MyView may refer to a predefined view in VRML.
|
105
112
|
# @return [Wx::String]
|
106
113
|
def get_anchor; end
|
107
114
|
alias_method :anchor, :get_anchor
|
108
115
|
|
109
116
|
# Returns full location of the file, including path and protocol.
|
110
117
|
# Examples: http://www.{Wx::widgets}.org
|
111
|
-
# http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip
|
118
|
+
# http://www.ms.mff.cuni.cz/~vsla8348/{Wx::html}/archive.zip\#zip:info.txt
|
112
119
|
# file:/home/vasek/index.htm
|
113
120
|
# relative-file.htm
|
114
121
|
# @return [Wx::String]
|
@@ -136,7 +143,6 @@ module Wx
|
|
136
143
|
|
137
144
|
# This class is the base class of most stream related classes in wxWidgets.
|
138
145
|
# It must not be used directly.
|
139
|
-
# ===
|
140
146
|
#
|
141
147
|
# Category: {Wx::Streams}
|
142
148
|
# @see Wx::StreamBuffer
|
@@ -144,6 +150,7 @@ module Wx
|
|
144
150
|
#
|
145
151
|
#
|
146
152
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
153
|
+
# @wxrb_require USE_FILESYSTEM
|
147
154
|
class StreamBase < ::Object
|
148
155
|
|
149
156
|
# Creates a dummy stream object.
|
@@ -193,12 +200,12 @@ module Wx
|
|
193
200
|
# {Wx::InputStream} is an abstract base class which may not be used directly.
|
194
201
|
# It is the base class of all streams which provide a {Wx::InputStream#read} function, i.e. which can be used to read data from a source (e.g. a file, a socket, etc).
|
195
202
|
# If you want to create your own input stream, you'll need to derive from this class and implement the protected {Wx::InputStream#on_sys_read} function only.
|
196
|
-
# ===
|
197
203
|
#
|
198
204
|
# Category: {Wx::Streams}
|
199
205
|
#
|
200
206
|
#
|
201
207
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
208
|
+
# @wxrb_require USE_FILESYSTEM
|
202
209
|
class InputStream < StreamBase
|
203
210
|
|
204
211
|
# Creates a dummy input stream.
|
@@ -259,12 +266,12 @@ module Wx
|
|
259
266
|
# {Wx::OutputStream} is an abstract base class which may not be used directly.
|
260
267
|
# It is the base class of all streams which provide a {Wx::OutputStream#write} function, i.e. which can be used to output data (e.g. to a file, to a socket, etc).
|
261
268
|
# If you want to create your own output stream, you'll need to derive from this class and implement the protected {Wx::OutputStream#on_sys_write} function only.
|
262
|
-
# ===
|
263
269
|
#
|
264
270
|
# Category: {Wx::Streams}
|
265
271
|
#
|
266
272
|
#
|
267
273
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
274
|
+
# @wxrb_require USE_FILESYSTEM
|
268
275
|
class OutputStream < StreamBase
|
269
276
|
|
270
277
|
# Creates a dummy {Wx::OutputStream} object.
|
data/lib/wx/doc/gen/gauge.rb
CHANGED
@@ -26,7 +26,7 @@ module Wx
|
|
26
26
|
# The first is the usual working mode (see {Wx::Gauge#set_value} and {Wx::Gauge#set_range}) while the second can be used when the program is doing some processing but you don't know how much progress is being done. In this case, you can periodically call the {Wx::Gauge#pulse} function to make the progress bar switch to indeterminate mode (graphically it's usually a set of blocks which move or bounce in the bar control).
|
27
27
|
# {Wx::Gauge} supports dynamic switch between these two work modes.
|
28
28
|
# There are no user commands for the gauge.
|
29
|
-
#
|
29
|
+
# ### Styles
|
30
30
|
#
|
31
31
|
# This class supports the following styles:
|
32
32
|
#
|
@@ -40,22 +40,21 @@ module Wx
|
|
40
40
|
#
|
41
41
|
# - {Wx::GA_PROGRESS}: Reflect the value of gauge in the application taskbar button under Windows 7 and later and the dock icon under macOS, ignored under the other platforms. This flag is only available in wxWidgets 3.1.0 and later.
|
42
42
|
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# </td><td> wxGTK Appearance
|
47
|
-
# </td><td> wxOSX Appearance
|
43
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
44
|
+
# </td><td> WXGTK Appearance
|
45
|
+
# </td><td> WXOSX Appearance
|
48
46
|
# </td></tr></table></div>
|
49
47
|
# @see Wx::Slider
|
50
48
|
# @see Wx::ScrollBar
|
51
49
|
#
|
52
50
|
#
|
51
|
+
# @wxrb_require USE_GAUGE
|
53
52
|
class Gauge < Control
|
54
53
|
|
55
54
|
# @overload initialize()
|
56
55
|
# Default constructor.
|
57
56
|
# @return [Wx::Gauge]
|
58
|
-
# @overload initialize(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
57
|
+
# @overload initialize(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GAUGE_NAME_STR)
|
59
58
|
# Constructor, creating and showing a gauge.
|
60
59
|
#
|
61
60
|
# @see Wx::Gauge#create
|
@@ -81,7 +80,7 @@ module Wx
|
|
81
80
|
# @param validator [Wx::Validator]
|
82
81
|
# @param name [String]
|
83
82
|
# @return [Boolean]
|
84
|
-
def create(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
83
|
+
def create(parent, id, range, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::GA_HORIZONTAL, validator=Wx::DEFAULT_VALIDATOR, name=Wx::GAUGE_NAME_STR) end
|
85
84
|
|
86
85
|
# Returns the maximum position of the gauge.
|
87
86
|
#
|
@@ -103,13 +102,17 @@ module Wx
|
|
103
102
|
alias_method :vertical?, :is_vertical
|
104
103
|
|
105
104
|
# Switch the gauge to indeterminate mode (if required) and makes the gauge move a bit to indicate the user that some progress has been made.
|
106
|
-
#
|
105
|
+
# <div class="wxrb-note">
|
106
|
+
# <b>Note:</b>
|
107
|
+
# <p>After calling this function the value returned by {Wx::Gauge#get_value} is undefined and thus you need to explicitly call {Wx::Gauge#set_value} if you want to restore the determinate mode.
|
108
|
+
# </p>
|
109
|
+
# </div>
|
107
110
|
# @return [void]
|
108
111
|
def pulse; end
|
109
112
|
|
110
113
|
# Sets the range (maximum value) of the gauge.
|
111
114
|
# This function makes the gauge switch to determinate mode, if it's not already.
|
112
|
-
# When the gauge is in indeterminate mode, under
|
115
|
+
# When the gauge is in indeterminate mode, under WXMSW the gauge repeatedly goes from zero to range and back; under other ports when in indeterminate mode, the range setting is ignored.
|
113
116
|
# @see Wx::Gauge#get_range
|
114
117
|
# @param range [Integer]
|
115
118
|
# @return [void]
|
@@ -8,7 +8,6 @@ module Wx
|
|
8
8
|
|
9
9
|
# The {Wx::GBSizerItem} class is used by the {Wx::GridBagSizer} for tracking the items in the sizer.
|
10
10
|
# It adds grid position and spanning information to the normal {Wx::SizerItem} by adding {Wx::GBPosition} and {Wx::GBSpan} attributes. Most of the time you will not need to use a {Wx::GBSizerItem} directly in your code, but there are a couple of cases where it is handy.
|
11
|
-
# ===
|
12
11
|
#
|
13
12
|
# Category: Window Layout
|
14
13
|
#
|
data/lib/wx/doc/gen/gcdc.rb
CHANGED
@@ -15,8 +15,6 @@ module Wx
|
|
15
15
|
# - Similarly, {Wx::RasterOperationMode} parameter of {Wx::GCDC#blit} and {Wx::GCDC#stretch_blit} can only be one of the supported logical functions listed above, using any other function will result in an assertion failure and not drawing anything.
|
16
16
|
# - For Direct2D-based {Wx::GraphicsContext}, only true-type fonts can be used in the font-related functions.
|
17
17
|
#
|
18
|
-
# ===
|
19
|
-
#
|
20
18
|
# Category: Device Contexts
|
21
19
|
# @see Wx::DC
|
22
20
|
# @see Wx::GraphicsContext
|
@@ -24,6 +22,7 @@ module Wx
|
|
24
22
|
#
|
25
23
|
#
|
26
24
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
25
|
+
# @wxrb_require USE_GRAPHICS_CONTEXT
|
27
26
|
class GCDC < DC
|
28
27
|
|
29
28
|
# Retrieves associated {Wx::GraphicsContext}.
|
@@ -120,7 +120,7 @@ module Wx
|
|
120
120
|
|
121
121
|
# Standard cursors.
|
122
122
|
#
|
123
|
-
# Notice that under
|
123
|
+
# Notice that under WXMSW some of these cursors are defined in wx.rc file and not by the system itself so you should include this file from your own resource file (possibly creating a trivial resource file just containing a single include line if you don't need it otherwise) to be able to use them.
|
124
124
|
# See {Wx::Cursor}.
|
125
125
|
#
|
126
126
|
class StockCursor < Wx::Enum
|
@@ -300,12 +300,24 @@ module Wx
|
|
300
300
|
DEFAULT_SIZE = nil
|
301
301
|
|
302
302
|
# Returns true if the display is colour, false otherwise.
|
303
|
-
#
|
303
|
+
# <div class="wxrb-note">
|
304
|
+
# <b>Note:</b>
|
305
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display and compare it with 1 instead.
|
306
|
+
# </p>
|
307
|
+
# </div>
|
308
|
+
#
|
309
|
+
# Include file: \#include <wx/gdicmn.h>
|
304
310
|
# @return [Boolean]
|
305
311
|
def self.colour_display; end
|
306
312
|
|
307
313
|
# Returns the depth of the display (a value of 1 denotes a monochrome display).
|
308
|
-
#
|
314
|
+
# <div class="wxrb-note">
|
315
|
+
# <b>Note:</b>
|
316
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_depth to retrieve the depth of the appropriate display instead.
|
317
|
+
# </p>
|
318
|
+
# </div>
|
319
|
+
#
|
320
|
+
# Include file: \#include <wx/gdicmn.h>
|
309
321
|
# @return [Integer]
|
310
322
|
def self.display_depth; end
|
311
323
|
|
@@ -325,13 +337,26 @@ module Wx
|
|
325
337
|
|
326
338
|
# Returns the display resolution in pixels per inch.
|
327
339
|
# The x component of the returned {Wx::Size} object contains the horizontal resolution and the y one the vertical resolution.
|
328
|
-
#
|
340
|
+
#
|
341
|
+
# <div class="wxrb-note">
|
342
|
+
# <b>Note:</b>
|
343
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_ppi to retrieve the resolution of the appropriate display instead.
|
344
|
+
# </p>
|
345
|
+
# </div>
|
346
|
+
#
|
347
|
+
# Include file: \#include <wx/gdicmn.h>
|
329
348
|
# @see Wx::Display
|
330
349
|
# @return [Wx::Size]
|
331
350
|
def self.get_display_ppi; end
|
332
351
|
|
333
352
|
# Returns the display size in pixels.
|
334
|
-
#
|
353
|
+
# <div class="wxrb-note">
|
354
|
+
# <b>Note:</b>
|
355
|
+
# <p>Use of this function is not recommended in the new code as it only works for the primary display. Use Wx::Display#get_geometry to retrieve the size of the appropriate display instead.
|
356
|
+
# </p>
|
357
|
+
# </div>
|
358
|
+
#
|
359
|
+
# Include file: \#include <wx/gdicmn.h>
|
335
360
|
# @see Wx::Display
|
336
361
|
# @return [Wx::Size]
|
337
362
|
def self.get_display_size; end
|
@@ -345,7 +370,6 @@ module Wx
|
|
345
370
|
# A {Wx::Point} is a useful data structure for graphics operations.
|
346
371
|
# It contains integer x and y members. See {Wx::RealPoint} for a floating point version.
|
347
372
|
# Note that the width and height stored inside a {Wx::Point} object may be negative and that {Wx::Point} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_POSITION} instance).
|
348
|
-
# ===
|
349
373
|
#
|
350
374
|
# Category: Data Structures
|
351
375
|
# Predefined objects/pointers: {Wx::DEFAULT_POSITION}
|
@@ -426,7 +450,6 @@ module Wx
|
|
426
450
|
# It simply contains integer x and y members.
|
427
451
|
# Note that the width and height stored inside a {Wx::Size} object may be negative and that {Wx::Size} functions do not perform any check against negative values (this is used to e.g. store the special -1 value in {Wx::DEFAULT_SIZE} instance). See also {Wx::Size#is_fully_specified} and {Wx::Size#set_defaults} for utility functions regarding the special -1 value.
|
428
452
|
# {Wx::Size} is used throughout wxWidgets as well as {Wx::Point} which, although almost equivalent to {Wx::Size}, has a different meaning: {Wx::Point} represents a position while {Wx::Size} represents the size.
|
429
|
-
# ===
|
430
453
|
#
|
431
454
|
# Category: Data Structures
|
432
455
|
# Predefined objects/pointers: {Wx::DEFAULT_SIZE}
|
@@ -589,7 +612,6 @@ module Wx
|
|
589
612
|
#
|
590
613
|
# In other words, the rectangle left and right boundaries are at x and <code>x+width-1</code> and its top and bottom boundaries are at y and <code>y+height-1</code> respectively.
|
591
614
|
# Note that the x and y coordinates may be negative, but width and height are always strictly positive for non-empty rectangles.
|
592
|
-
# ===
|
593
615
|
#
|
594
616
|
# Category: Data Structures
|
595
617
|
# @see Wx::Point
|
@@ -895,7 +917,6 @@ module Wx
|
|
895
917
|
# A {Wx::RealPoint} is a useful data structure for graphics operations.
|
896
918
|
# It contains floating point x and y members. See {Wx::Point} for an integer version.
|
897
919
|
# Note that the coordinates stored inside a {Wx::RealPoint} object may be negative and that {Wx::RealPoint} functions do not perform any check against negative values.
|
898
|
-
# ===
|
899
920
|
#
|
900
921
|
# Category: Data Structures
|
901
922
|
# @see Wx::Point
|
@@ -1083,8 +1104,6 @@ module Wx
|
|
1083
1104
|
#
|
1084
1105
|
# YELLOW GREEN
|
1085
1106
|
#
|
1086
|
-
# ===
|
1087
|
-
#
|
1088
1107
|
# Category: Graphics Device Interface (GDI)
|
1089
1108
|
# @see Wx::Colour
|
1090
1109
|
#
|
@@ -9,7 +9,6 @@ module Wx
|
|
9
9
|
# This class allows platforms to implement functionality to optimise GDI objects, such as {Wx::Pen}, {Wx::Brush} and {Wx::Font}.
|
10
10
|
# On Windows, the underling GDI objects are a scarce resource and are cleaned up when a usage count goes to zero. On some platforms this class may not have any special functionality.
|
11
11
|
# Since the functionality of this class is platform-specific, it is not documented here in detail.
|
12
|
-
# ===
|
13
12
|
#
|
14
13
|
# Category: Graphics Device Interface (GDI)
|
15
14
|
# @see Wx::Pen
|
@@ -8,7 +8,7 @@ module Wx
|
|
8
8
|
|
9
9
|
# This control can be used to place a directory listing (with optional files) on an arbitrary window.
|
10
10
|
# The control contains a {Wx::TreeCtrl} window representing the directory hierarchy, and optionally, a {Wx::Choice} window containing a list of filters.
|
11
|
-
#
|
11
|
+
# ### Styles
|
12
12
|
#
|
13
13
|
# This class supports the following styles:
|
14
14
|
#
|
@@ -24,13 +24,11 @@ module Wx
|
|
24
24
|
#
|
25
25
|
# - {Wx::DIRCTRL_MULTIPLE}: Allows multiple files and folders to be selected.
|
26
26
|
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
# </td><td> wxGTK Appearance
|
31
|
-
# </td><td> wxOSX Appearance
|
27
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
28
|
+
# </td><td> WXGTK Appearance
|
29
|
+
# </td><td> WXOSX Appearance
|
32
30
|
# </td></tr></table></div>
|
33
|
-
#
|
31
|
+
# ### Events emitted by this class
|
34
32
|
#
|
35
33
|
# Event handler methods for events emitted by this class:
|
36
34
|
#
|
@@ -38,12 +36,13 @@ module Wx
|
|
38
36
|
#
|
39
37
|
# - {Wx::EvtHandler#evt_dirctrl_fileactivated}(id, meth = nil, &block): The user activated a file by double-clicking or pressing Enter. Available since wxWidgets 2.9.5.
|
40
38
|
#
|
39
|
+
# @wxrb_require USE_DIRDLG|USE_FILEDLG
|
41
40
|
class GenericDirCtrl < Control
|
42
41
|
|
43
42
|
# @overload initialize()
|
44
43
|
# Default constructor.
|
45
44
|
# @return [Wx::GenericDirCtrl]
|
46
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::
|
45
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TREE_CTRL_NAME_STR)
|
47
46
|
# Main constructor.
|
48
47
|
# @param parent [Wx::Window] Parent window.
|
49
48
|
# @param id [Integer] Window identifier.
|
@@ -78,7 +77,7 @@ module Wx
|
|
78
77
|
# @param defaultFilter [Integer]
|
79
78
|
# @param name [String]
|
80
79
|
# @return [Boolean]
|
81
|
-
def create(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::
|
80
|
+
def create(parent, id=Wx::StandardID::ID_ANY, dir=Wx::DIR_DIALOG_DEFAULT_FOLDER_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRCTRL_DEFAULT_STYLE, filter=(''), defaultFilter=0, name=Wx::TREE_CTRL_NAME_STR) end
|
82
81
|
|
83
82
|
# Tries to expand as much of the given path as possible, so that the filename or directory is visible in the tree control.
|
84
83
|
# @param path [String]
|