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/list_ctrl.rb
CHANGED
@@ -169,6 +169,7 @@ module Wx
|
|
169
169
|
#
|
170
170
|
#
|
171
171
|
#
|
172
|
+
# @wxrb_require USE_LISTCTRL
|
172
173
|
class ListColumnFormat < Wx::Enum
|
173
174
|
|
174
175
|
#
|
@@ -319,13 +320,23 @@ module Wx
|
|
319
320
|
# Virtual list control can be used as a normal one except that no operations which can take time proportional to the number of items in the control happen this is required to allow having a practically infinite number of items. For example, in a multiple selection virtual list control, the selections won't be sent when many items are selected at once because this could mean iterating over all the items.
|
320
321
|
# Using many of {Wx::ListCtrl} features is shown in the corresponding sample.
|
321
322
|
# To intercept events from a list control, use the event table macros described in {Wx::ListEvent}.
|
322
|
-
# The native wxOSX implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ wxOSX uses the generic implementation for all modes.
|
323
323
|
#
|
324
|
-
#
|
324
|
+
# <div class="wxrb-note">
|
325
|
+
# <b>Note:</b>
|
326
|
+
# <p>The native WXOSX implementation for report mode that was added in wxWidgets 2.8 was removed in wxWidgets 3.1, meaning for wxWidgets 3.1+ WXOSX uses the generic implementation for all modes.
|
327
|
+
# </p>
|
328
|
+
# </div>
|
329
|
+
#
|
330
|
+
# ## Column Ordering
|
325
331
|
#
|
326
332
|
# By default, the columns of a list control appear on the screen in order of their indices, i.e. column 0 appears first, then column 1 next, and so on. However this can be changed by using the {Wx::ListCtrl#set_columns_order} function to arbitrarily reorder the columns visual order.
|
327
333
|
# The user can also rearrange the columns interactively by dragging them. In this case, the index of the column is not the same as its order and the functions {Wx::ListCtrl#get_column_order} and {Wx::ListCtrl#get_column_index_from_order} should be used to translate between them.
|
328
|
-
#
|
334
|
+
#
|
335
|
+
# <div class="wxrb-note">
|
336
|
+
# <b>Note:</b>
|
337
|
+
# <p>All the other functions still work with the column indices, i.e. the visual positioning of the columns on screen doesn't affect the code setting or getting their values for example.
|
338
|
+
# </p>
|
339
|
+
# </div>
|
329
340
|
#
|
330
341
|
# Example of reordering columns:
|
331
342
|
# ```ruby
|
@@ -341,7 +352,7 @@ module Wx
|
|
341
352
|
# # 1 and 2 respectively
|
342
353
|
# ```
|
343
354
|
#
|
344
|
-
#
|
355
|
+
# ### Styles
|
345
356
|
#
|
346
357
|
# This class supports the following styles:
|
347
358
|
#
|
@@ -375,7 +386,7 @@ module Wx
|
|
375
386
|
#
|
376
387
|
# - {Wx::LC_VRULES}: Draws light vertical rules between columns in report mode.
|
377
388
|
#
|
378
|
-
#
|
389
|
+
# ### Events emitted by this class
|
379
390
|
#
|
380
391
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
|
381
392
|
# Event handler methods for events emitted by this class:
|
@@ -424,13 +435,15 @@ module Wx
|
|
424
435
|
#
|
425
436
|
# - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked. Processes a {Wx::EVT_LIST_ITEM_UNCHECKED} event type (new since wxWidgets 3.1.0).
|
426
437
|
#
|
427
|
-
#
|
438
|
+
# <div class="wxrb-note">
|
439
|
+
# <b>Note:</b>
|
440
|
+
# <p>Under WXMSW this control uses {Wx::SystemThemedControl} for an explorer style appearance by default since wxWidgets 3.1.0. If this is not desired, you can call Wx::SystemThemedControl::EnableSystemTheme with false argument to disable this.
|
441
|
+
# </p>
|
442
|
+
# </div>
|
428
443
|
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
# </td><td> wxGTK Appearance
|
433
|
-
# </td><td> wxOSX Appearance
|
444
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
445
|
+
# </td><td> WXGTK Appearance
|
446
|
+
# </td><td> WXOSX Appearance
|
434
447
|
# </td></tr></table></div>
|
435
448
|
# @see wxListCtrl Overview
|
436
449
|
# @see Wx::ListView
|
@@ -442,6 +455,7 @@ module Wx
|
|
442
455
|
# @see Wx::EditableListBox
|
443
456
|
#
|
444
457
|
#
|
458
|
+
# @wxrb_require USE_LISTCTRL
|
445
459
|
class ListCtrl < Control
|
446
460
|
|
447
461
|
# @overload initialize()
|
@@ -482,7 +496,11 @@ module Wx
|
|
482
496
|
def arrange(flag=Wx::LIST_ALIGN_DEFAULT) end
|
483
497
|
|
484
498
|
# Deletes all items and all columns.
|
485
|
-
#
|
499
|
+
# <div class="wxrb-note">
|
500
|
+
# <b>Note:</b>
|
501
|
+
# <p>This sends an event of type {Wx::EVT_LIST_DELETE_ALL_ITEMS} under all platforms.
|
502
|
+
# </p>
|
503
|
+
# </div>
|
486
504
|
# @return [void]
|
487
505
|
def clear_all; end
|
488
506
|
|
@@ -530,7 +548,7 @@ module Wx
|
|
530
548
|
def enable_alternate_row_colours(enable=true) end
|
531
549
|
|
532
550
|
# Enable or disable a beep if there is no match for the currently entered text when searching for the item from keyboard.
|
533
|
-
# The default is to not beep in this case except in
|
551
|
+
# The default is to not beep in this case except in WXMSW where the beep is always generated by the native control and cannot be disabled, i.e. calls to this function do nothing there.
|
534
552
|
# @param on [Boolean]
|
535
553
|
# @return [void]
|
536
554
|
def enable_bell_on_no_match(on=true) end
|
@@ -538,7 +556,7 @@ module Wx
|
|
538
556
|
# Finish editing the label.
|
539
557
|
# This method allows one to programmatically end editing a list control item in place. Usually it will only be called when editing is in progress, i.e. if {Wx::ListCtrl#get_edit_control} returns non-NULL. In particular, do not call it from EVT_LIST_BEGIN_LABEL_EDIT handler as the edit control is not yet fully created by then, just veto the event in this handler instead to prevent the editing from even starting.
|
540
558
|
# Notice that calling this method will result in EVT_LIST_END_LABEL_EDIT event being generated.
|
541
|
-
# Currently only implemented in
|
559
|
+
# Currently only implemented in WXMSW.
|
542
560
|
#
|
543
561
|
# true if item editing was finished or false if no item as being edited.
|
544
562
|
# @param cancel [Boolean] If true, discard the changes made by user, as if Escape key was pressed. Otherwise, accept the changes as if Return was pressed.
|
@@ -601,7 +619,12 @@ module Wx
|
|
601
619
|
|
602
620
|
# Returns the edit control being currently used to edit a label.
|
603
621
|
# Returns NULL if no label is being edited.
|
604
|
-
#
|
622
|
+
#
|
623
|
+
# <div class="wxrb-note">
|
624
|
+
# <b>Note:</b>
|
625
|
+
# <p>It is currently only implemented for WXMSW and the generic version, not for the native macOS version.
|
626
|
+
# </p>
|
627
|
+
# </div>
|
605
628
|
# @return [Wx::TextCtrl]
|
606
629
|
def get_edit_control; end
|
607
630
|
alias_method :edit_control, :get_edit_control
|
@@ -702,7 +725,11 @@ module Wx
|
|
702
725
|
# - {Wx::LIST_NEXT_LEFT}: Searches for an item to the left of the specified item.
|
703
726
|
# - {Wx::LIST_NEXT_RIGHT}: Searches for an item to the right of the specified item.
|
704
727
|
#
|
705
|
-
#
|
728
|
+
# <div class="wxrb-note">
|
729
|
+
# <b>Note:</b>
|
730
|
+
# <p>this parameter is only supported by WXMSW currently and ignored on other platforms.
|
731
|
+
# </p>
|
732
|
+
# </div>
|
706
733
|
#
|
707
734
|
# state can be a bitlist of the following:
|
708
735
|
#
|
@@ -781,7 +808,7 @@ module Wx
|
|
781
808
|
# - {Wx::LIST_HITTEST_ONITEMSTATEICON}: Over the checkbox of an item.
|
782
809
|
# - {Wx::LIST_HITTEST_ONITEM}: Combination of {Wx::LIST_HITTEST_ONITEMICON}, {Wx::LIST_HITTEST_ONITEMLABEL}, {Wx::LIST_HITTEST_ONITEMSTATEICON}.
|
783
810
|
#
|
784
|
-
# If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under
|
811
|
+
# If ptrSubItem is not NULL and the {Wx::ListCtrl} is in the report mode the subitem (or column) number will also be provided. This feature is only available in version 2.7.0 or higher and is currently only implemented under WXMSW and requires at least comctl32.dll of version 4.70 on the host system or the value stored in ptrSubItem will be always -1. To compile this feature into wxWidgets library you need to have access to commctrl.h of version 4.70 that is provided by Microsoft.
|
785
812
|
# @param point [Array(Integer, Integer), Wx::Point]
|
786
813
|
# @return [Array(Integer,Integer)]
|
787
814
|
def hit_test(point) end
|
@@ -859,7 +886,12 @@ module Wx
|
|
859
886
|
|
860
887
|
# Scrolls the list control.
|
861
888
|
# If in icon, small icon or report view mode, dx specifies the number of pixels to scroll. If in list view mode, dx specifies the number of columns to scroll. dy always specifies the number of pixels to scroll vertically.
|
862
|
-
#
|
889
|
+
#
|
890
|
+
# <div class="wxrb-note">
|
891
|
+
# <b>Note:</b>
|
892
|
+
# <p>This method is currently only implemented in the Windows version.
|
893
|
+
# </p>
|
894
|
+
# </div>
|
863
895
|
# @param dx [Integer]
|
864
896
|
# @param dy [Integer]
|
865
897
|
# @return [Boolean]
|
@@ -867,7 +899,12 @@ module Wx
|
|
867
899
|
|
868
900
|
# Sets the background colour.
|
869
901
|
# Note that the {Wx::Window#get_background_colour} function of {Wx::Window} base class can be used to retrieve the current background colour.
|
870
|
-
#
|
902
|
+
#
|
903
|
+
# <div class="wxrb-note">
|
904
|
+
# <b>Note:</b>
|
905
|
+
# <p>If alternate row colouring is enabled, then call {Wx::ListCtrl#enable_alternate_row_colours} again after changing the background colour. This will update the alternate row color to match the new background colour.
|
906
|
+
# </p>
|
907
|
+
# </div>
|
871
908
|
# @param col [Wx::Colour,String,Symbol]
|
872
909
|
# @return [Boolean]
|
873
910
|
def set_background_colour(col) end
|
@@ -892,7 +929,7 @@ module Wx
|
|
892
929
|
|
893
930
|
# Change the font and the colours used for the list control header.
|
894
931
|
# This method can be used to change the appearance of the header shown by the control in report mode (unless {Wx::LC_NO_HEADER} style is used).
|
895
|
-
# Currently it is implemented only for
|
932
|
+
# Currently it is implemented only for WXMSW and does nothing in the other ports.
|
896
933
|
#
|
897
934
|
# true if the attributes have been updated or false if this is not supported by the current platform.
|
898
935
|
# @param attr [Wx::ItemAttr] The object containing the font and text and background colours to use. It may be default, i.e. not specify any custom font nor colours, to reset any previously set custom attribute.
|
@@ -1088,9 +1125,14 @@ module Wx
|
|
1088
1125
|
def extend_rules_and_alternate_colour(extend=true) end
|
1089
1126
|
|
1090
1127
|
# Show the sort indicator of a specific column in a specific direction.
|
1091
|
-
# Sort indicators are only shown in report view and in the native
|
1128
|
+
# Sort indicators are only shown in report view and in the native WXMSW version override any column icon, i.e. if the sort indicator is shown for a column, no (other) icon is shown.
|
1092
1129
|
# This function should typically be called from EVT_LIST_COL_CLICK handler.
|
1093
|
-
#
|
1130
|
+
#
|
1131
|
+
# <div class="wxrb-note">
|
1132
|
+
# <b>Note:</b>
|
1133
|
+
# <p>This does not actually sort the list, use {Wx::ListCtrl#sort_items} for this.
|
1134
|
+
# </p>
|
1135
|
+
# </div>
|
1094
1136
|
# @param col [Integer] The column to set the sort indicator for. If <code>-1</code> is given, then the currently shown sort indicator will be removed.
|
1095
1137
|
# @param ascending [Boolean] If true or false show the sort indicator corresponding to ascending or descending sort order respectively.
|
1096
1138
|
# @return [void]
|
@@ -1153,7 +1195,12 @@ module Wx
|
|
1153
1195
|
# This function may be overridden in the derived class for a control with {Wx::LC_VIRTUAL} style.
|
1154
1196
|
# It should return the attribute for the for the specified item and column or NULL to use the default appearance parameters.
|
1155
1197
|
# The base class version returns <code>OnGetItemAttr(item)</code>.
|
1156
|
-
#
|
1198
|
+
#
|
1199
|
+
# <div class="wxrb-note">
|
1200
|
+
# <b>Note:</b>
|
1201
|
+
# <p>Currently this function is only called under WXMSW, the other ports only support {Wx::ListCtrl#on_get_item_attr}
|
1202
|
+
# </p>
|
1203
|
+
# </div>
|
1157
1204
|
# @see Wx::ListCtrl#on_get_item_attr
|
1158
1205
|
# @see Wx::ListCtrl#on_get_item_text
|
1159
1206
|
# @see Wx::ListCtrl#on_get_item_image
|
@@ -1236,12 +1283,12 @@ module Wx
|
|
1236
1283
|
# - {Wx::LIST_MASK_FORMAT}: The column format field is valid.
|
1237
1284
|
#
|
1238
1285
|
# The {Wx::ListItem} object can also contain item-specific colour and font information: for this you need to call one of {Wx::ListItem#set_text_colour}, {Wx::ListItem#set_background_colour} or {Wx::ListItem#set_font} functions on it passing it the colour/font to use. If the colour/font is not specified, the default list control colour/font is used.
|
1239
|
-
# ===
|
1240
1286
|
#
|
1241
1287
|
# Category: Data Structures
|
1242
1288
|
# @see Wx::ListCtrl
|
1243
1289
|
#
|
1244
1290
|
#
|
1291
|
+
# @wxrb_require USE_LISTCTRL
|
1245
1292
|
class ListItem < Object
|
1246
1293
|
|
1247
1294
|
# Sets client data for the item.
|
@@ -1413,12 +1460,12 @@ module Wx
|
|
1413
1460
|
|
1414
1461
|
# Represents the attributes (colour, font, ...) of an item of a control with multiple items such as e.g.
|
1415
1462
|
# {Wx::ListCtrl}.
|
1416
|
-
# ===
|
1417
1463
|
#
|
1418
1464
|
# Category: Data Structures
|
1419
1465
|
# @see wxListCtrl Overview
|
1420
1466
|
#
|
1421
1467
|
#
|
1468
|
+
# @wxrb_require USE_LISTCTRL
|
1422
1469
|
class ItemAttr < ::Object
|
1423
1470
|
|
1424
1471
|
# @overload initialize()
|
@@ -1503,15 +1550,15 @@ module Wx
|
|
1503
1550
|
# This class currently simply presents a simpler to use interface for the {Wx::ListCtrl} it can be thought of as a façade for that complicated class.
|
1504
1551
|
# Using it is preferable to using {Wx::ListCtrl} directly whenever possible because in the future some ports might implement {Wx::ListView} but not the full set of {Wx::ListCtrl} features.
|
1505
1552
|
# Other than different interface, this class is identical to {Wx::ListCtrl}. In particular, it uses the same events, same window styles and so on.
|
1506
|
-
# ===
|
1507
1553
|
#
|
1508
|
-
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td>
|
1509
|
-
# </td><td>
|
1510
|
-
# </td><td>
|
1554
|
+
# Category: {Wx::Controls} <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
1555
|
+
# </td><td> WXGTK Appearance
|
1556
|
+
# </td><td> WXOSX Appearance
|
1511
1557
|
# </td></tr></table></div>
|
1512
1558
|
# @see Wx::ListView#set_column_image
|
1513
1559
|
#
|
1514
1560
|
#
|
1561
|
+
# @wxrb_require USE_LISTCTRL
|
1515
1562
|
class ListView < ListCtrl
|
1516
1563
|
|
1517
1564
|
# @overload initialize()
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module Wx
|
8
8
|
|
9
9
|
# A list event holds information about events associated with {Wx::ListCtrl} objects.
|
10
|
-
#
|
10
|
+
# ### Events using this class
|
11
11
|
#
|
12
12
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::ListEvent} events.
|
13
13
|
# Event handler methods:
|
@@ -56,16 +56,15 @@ module Wx
|
|
56
56
|
#
|
57
57
|
# - {Wx::EvtHandler#evt_list_item_unchecked}(id, meth = nil, &block): The item has been unchecked (new since wxWidgets 3.1.0).
|
58
58
|
#
|
59
|
-
# ===
|
60
|
-
#
|
61
59
|
# Category: {Wx::Events}
|
62
60
|
# @see Wx::ListCtrl
|
63
61
|
#
|
64
62
|
#
|
63
|
+
# @wxrb_require USE_LISTCTRL
|
65
64
|
class ListEvent < NotifyEvent
|
66
65
|
|
67
66
|
# Constructor.
|
68
|
-
# @param commandType [Wx::
|
67
|
+
# @param commandType [Wx::Slider::EventType]
|
69
68
|
# @param id [Integer]
|
70
69
|
# @return [Wx::ListEvent]
|
71
70
|
def initialize(commandType=Wx::EVT_NULL, id=0) end
|
data/lib/wx/doc/gen/listbook.rb
CHANGED
@@ -35,7 +35,7 @@ module Wx
|
|
35
35
|
# {Wx::Listbook} is a class similar to {Wx::Notebook} but which uses a {Wx::ListCtrl} to show the labels instead of the tabs.
|
36
36
|
# The underlying {Wx::ListCtrl} displays page labels in a one-column report view by default. Calling Wx::BookCtrl::SetImageList will implicitly switch the control to use an icon view.
|
37
37
|
# For usage documentation of this class, please refer to the base abstract class {Wx::BookCtrl}. You can also use the Notebook Sample to see {Wx::Listbook} in action.
|
38
|
-
#
|
38
|
+
# ### Styles
|
39
39
|
#
|
40
40
|
# This class supports the following styles:
|
41
41
|
#
|
@@ -49,7 +49,7 @@ module Wx
|
|
49
49
|
#
|
50
50
|
# - {Wx::LB_BOTTOM}: Place labels below the page area.
|
51
51
|
#
|
52
|
-
#
|
52
|
+
# ### Events emitted by this class
|
53
53
|
#
|
54
54
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::BookCtrlEvent} events.
|
55
55
|
# Event handler methods for events emitted by this class:
|
@@ -58,17 +58,16 @@ module Wx
|
|
58
58
|
#
|
59
59
|
# - {Wx::EvtHandler#evt_listbook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_LISTBOOK_PAGE_CHANGING} event. This event can be vetoed.
|
60
60
|
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# </td><td> wxGTK Appearance
|
65
|
-
# </td><td> wxOSX Appearance
|
61
|
+
# Category: Book Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
62
|
+
# </td><td> WXGTK Appearance
|
63
|
+
# </td><td> WXOSX Appearance
|
66
64
|
# </td></tr></table></div>
|
67
65
|
# @see Wx::BookCtrl
|
68
66
|
# @see Wx::Notebook
|
69
67
|
# @see Notebook Sample
|
70
68
|
#
|
71
69
|
#
|
70
|
+
# @wxrb_require USE_LISTBOOK
|
72
71
|
class Listbook < BookCtrlBase
|
73
72
|
|
74
73
|
# @overload initialize()
|
data/lib/wx/doc/gen/locale.rb
CHANGED
@@ -10,6 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
# This enum is generated by misc/languages/genlang.py When making changes, please put them into misc/languages/langtabl.txt
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_INTL
|
13
14
|
class Language < Wx::Enum
|
14
15
|
|
15
16
|
# User's default/preferred language as got from OS.
|
@@ -3602,6 +3603,7 @@ module Wx
|
|
3602
3603
|
#
|
3603
3604
|
#
|
3604
3605
|
#
|
3606
|
+
# @wxrb_require USE_INTL
|
3605
3607
|
class LayoutDirection < Wx::Enum
|
3606
3608
|
|
3607
3609
|
#
|
@@ -3624,6 +3626,7 @@ module Wx
|
|
3624
3626
|
# @see Wx::LocaleIdent#get_tag
|
3625
3627
|
#
|
3626
3628
|
#
|
3629
|
+
# @wxrb_require USE_INTL
|
3627
3630
|
class LocaleTagType < Wx::Enum
|
3628
3631
|
|
3629
3632
|
# Default (tag as given or else same as {Wx::LocaleTagType::LOCALE_TAGTYPE_SYSTEM})
|
@@ -3659,6 +3662,7 @@ module Wx
|
|
3659
3662
|
# @see Wx::UILocale#get_info
|
3660
3663
|
#
|
3661
3664
|
#
|
3665
|
+
# @wxrb_require USE_INTL
|
3662
3666
|
class LocaleCategory < Wx::Enum
|
3663
3667
|
|
3664
3668
|
# Number formatting.
|
@@ -3686,6 +3690,7 @@ module Wx
|
|
3686
3690
|
# @see Wx::UILocale#get_info
|
3687
3691
|
#
|
3688
3692
|
#
|
3693
|
+
# @wxrb_require USE_INTL
|
3689
3694
|
class LocaleInfo < Wx::Enum
|
3690
3695
|
|
3691
3696
|
# The thousands separator.
|
@@ -3720,6 +3725,7 @@ module Wx
|
|
3720
3725
|
# @see Wx::UILocale#get_localized_name
|
3721
3726
|
#
|
3722
3727
|
#
|
3728
|
+
# @wxrb_require USE_INTL
|
3723
3729
|
class LocaleName < Wx::Enum
|
3724
3730
|
|
3725
3731
|
# Display name of a locale.
|
@@ -3742,6 +3748,7 @@ module Wx
|
|
3742
3748
|
# @see Wx::UILocale#get_localized_name
|
3743
3749
|
#
|
3744
3750
|
#
|
3751
|
+
# @wxrb_require USE_INTL
|
3745
3752
|
class LocaleForm < Wx::Enum
|
3746
3753
|
|
3747
3754
|
# Name should be returned in the language of the locale itself.
|
@@ -3758,6 +3765,7 @@ module Wx
|
|
3758
3765
|
#
|
3759
3766
|
#
|
3760
3767
|
#
|
3768
|
+
# @wxrb_require USE_INTL
|
3761
3769
|
class LocaleInitFlags < Wx::Enum
|
3762
3770
|
|
3763
3771
|
# Don't load {Wx::std}.mo catalog.
|
@@ -3775,13 +3783,16 @@ module Wx
|
|
3775
3783
|
def self.get_locale; end
|
3776
3784
|
|
3777
3785
|
# {Wx::Locale} class encapsulates all language-dependent settings and is a generalization of the C locale concept.
|
3778
|
-
#
|
3786
|
+
# <div class="wxrb-note">
|
3787
|
+
# <b>Note:</b>
|
3788
|
+
# <p>This class is known to have several problems under macOS: first of all, it is impossible to change the application UI locale after launching it under this platform and so using this class doesn't affect the native controls and dialogs there. Additionally, versions of macOS between 11.0 and 12.2 inclusive are affected by a bug when changing C locale can break display of the application menus. Because of this, it is recommended to use {Wx::UILocale} instead of this class for the applications targeting macOS.
|
3789
|
+
# </p>
|
3790
|
+
# </div>
|
3779
3791
|
#
|
3780
3792
|
# In wxWidgets this class manages current locale. It also initializes and activates {Wx::Translations} object that manages message catalogs.
|
3781
3793
|
# For a list of the supported languages, please see {Wx::Language} enum values. These constants may be used to specify the language in {Wx::Locale#init} and are returned by {Wx::Locale.get_system_language}.
|
3782
3794
|
#
|
3783
3795
|
#
|
3784
|
-
# ===
|
3785
3796
|
#
|
3786
3797
|
# Category: Application and System configuration
|
3787
3798
|
# @see Wx::Internationalization
|
@@ -3790,6 +3801,7 @@ module Wx
|
|
3790
3801
|
# @see Wx::Translations
|
3791
3802
|
#
|
3792
3803
|
#
|
3804
|
+
# @wxrb_require USE_INTL
|
3793
3805
|
class Locale < ::Object
|
3794
3806
|
|
3795
3807
|
# @overload initialize()
|
@@ -3950,7 +3962,11 @@ module Wx
|
|
3950
3962
|
def self.get_system_encoding_name; end
|
3951
3963
|
|
3952
3964
|
# Tries to detect the user's default locale setting.
|
3953
|
-
#
|
3965
|
+
# <div class="wxrb-note">
|
3966
|
+
# <b>Note:</b>
|
3967
|
+
# <p>This function is somewhat misleading, as it uses the default system locale to determine its return value, and not just the system language. It is preserved for backwards compatibility, but to actually get the language, and not locale, used by the system by default, call Wx::UILocale#get_system_language instead.
|
3968
|
+
# </p>
|
3969
|
+
# </div>
|
3954
3970
|
#
|
3955
3971
|
# Returns the {Wx::Language} value or {Wx::Language::LANGUAGE_UNKNOWN} if the locale is not recognized, as can notably happen when combining any language with a region where this language is not typically spoken.
|
3956
3972
|
# @see Wx::Translations#get_best_translation.
|
@@ -3988,8 +4004,33 @@ module Wx
|
|
3988
4004
|
#
|
3989
4005
|
#
|
3990
4006
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
4007
|
+
# @wxrb_require USE_INTL
|
3991
4008
|
class LanguageInfo < ::Object
|
3992
4009
|
|
4010
|
+
# Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
|
4011
|
+
# Availability: only available for the WXMSW port.
|
4012
|
+
#
|
4013
|
+
# @return [Integer]
|
4014
|
+
def win_lang; end
|
4015
|
+
# Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
|
4016
|
+
# Availability: only available for the WXMSW port.
|
4017
|
+
#
|
4018
|
+
# @param val [Integer]
|
4019
|
+
# @return [void]
|
4020
|
+
def win_lang=(val); end
|
4021
|
+
|
4022
|
+
# Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
|
4023
|
+
# Availability: only available for the WXMSW port.
|
4024
|
+
#
|
4025
|
+
# @return [Integer]
|
4026
|
+
def win_sublang; end
|
4027
|
+
# Win32 language identifiers (LANG_xxxx, SUBLANG_xxxx).
|
4028
|
+
# Availability: only available for the WXMSW port.
|
4029
|
+
#
|
4030
|
+
# @param val [Integer]
|
4031
|
+
# @return [void]
|
4032
|
+
def win_sublang=(val); end
|
4033
|
+
|
3993
4034
|
# {Wx::Language} id.
|
3994
4035
|
# It should be greater than {Wx::Language::LANGUAGE_USER_DEFINED} when defining your own language info structure.
|
3995
4036
|
#
|
@@ -4075,8 +4116,9 @@ module Wx
|
|
4075
4116
|
def layout_direction=(val); end
|
4076
4117
|
|
4077
4118
|
# Return the LCID corresponding to this language.
|
4078
|
-
# Availability: only available for the
|
4119
|
+
# Availability: only available for the WXMSW port.
|
4079
4120
|
# @return [Integer]
|
4121
|
+
# @wxrb_require WXMSW
|
4080
4122
|
def get_lcid; end
|
4081
4123
|
alias_method :lcid, :get_lcid
|
4082
4124
|
|
data/lib/wx/doc/gen/log.rb
CHANGED
@@ -10,6 +10,7 @@ module Wx
|
|
10
10
|
#
|
11
11
|
#
|
12
12
|
#
|
13
|
+
# @wxrb_require USE_LOG
|
13
14
|
class LogLevelValues < Wx::Enum
|
14
15
|
|
15
16
|
# program can't continue, abort immediately
|
@@ -61,15 +62,19 @@ module Wx
|
|
61
62
|
# {Wx::Log} class defines the interface for the log targets used by wxWidgets logging functions as explained in the Logging Overview.
|
62
63
|
# The only situations when you need to directly use this class is when you want to derive your own log target because the existing ones don't satisfy your needs.
|
63
64
|
# Otherwise, it is completely hidden behind the wxLogXXX() functions and you may not even know about its existence.
|
64
|
-
# For console-mode applications, the default target is {Wx::LogStderr}, so that all {log_xxx} functions print on stderr when {Wx::Setup::USE_GUI} = 0.
|
65
65
|
#
|
66
|
-
#
|
66
|
+
# <div class="wxrb-note">
|
67
|
+
# <b>Note:</b>
|
68
|
+
# <p>For console-mode applications, the default target is {Wx::LogStderr}, so that all {log_xxx} functions print on stderr when {Wx::Setup::USE_GUI} = 0.
|
69
|
+
# </p>
|
70
|
+
# </div>
|
67
71
|
#
|
68
72
|
# Category: {Wx::Logging}
|
69
73
|
# @see Logging Overview
|
70
74
|
# @see wxLogXXX() functions
|
71
75
|
#
|
72
76
|
#
|
77
|
+
# @wxrb_require USE_LOG
|
73
78
|
class Log < ::Object
|
74
79
|
|
75
80
|
# Add the mask to the list of allowed masks for {log_trace}.
|
@@ -294,12 +299,12 @@ module Wx
|
|
294
299
|
# {Wx::LogBuffer} is a very simple implementation of log sink which simply collects all the logged messages in a string (except the debug messages which are output in the usual way immediately as we're presumably not interested in collecting them for later).
|
295
300
|
# The messages from different log function calls are separated by the new lines.
|
296
301
|
# All the messages collected so far can be shown to the user (and the current buffer cleared) by calling the overloaded {Wx::LogBuffer#flush} method.
|
297
|
-
# ===
|
298
302
|
#
|
299
303
|
# Category: {Wx::Logging}
|
300
304
|
#
|
301
305
|
#
|
302
306
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
307
|
+
# @wxrb_require USE_LOG
|
303
308
|
class LogBuffer < Log
|
304
309
|
|
305
310
|
# The default ctor does nothing.
|
@@ -325,10 +330,9 @@ module Wx
|
|
325
330
|
# ...
|
326
331
|
# ```
|
327
332
|
#
|
328
|
-
# ===
|
329
|
-
#
|
330
333
|
# Category: {Wx::Logging}
|
331
334
|
#
|
335
|
+
# @wxrb_require USE_LOG
|
332
336
|
class LogChain < Log
|
333
337
|
|
334
338
|
# Sets the specified logger (which may be NULL) as the default log target but the log messages are also passed to the previous log target if any.
|
@@ -370,12 +374,12 @@ module Wx
|
|
370
374
|
# Also notice that if an error message is logged when several informative messages had been already logged before, the informative messages are discarded on the assumption that they are not useful and may be confusing and hence harmful any more after the error. The warning and error messages are never discarded however and any informational messages logged after the first error one are also kept (as they may contain information about the error recovery). You may override DoLog() method to change this behaviour.
|
371
375
|
# At any rate, it is possible that that several messages were accumulated before this class {Wx::LogGui#flush} method is called. If this is the case, {Wx::LogGui#flush} uses a custom dialog which shows the last message directly and allows the user to view the previously logged ones by expanding the "Details" {Wx::CollapsiblePane} inside it. This custom dialog also provides the buttons for copying the log messages to the clipboard and saving them to a file.
|
372
376
|
# However if only a single message is present when {Wx::LogGui#flush} is called, just a {message_box} is used to show it. This has the advantage of being closer to the native behaviour but it doesn't give the user any possibility to copy or save the message (except for the recent Windows versions where <code>Ctrl-C</code> may be pressed in the message box to copy its contents to the clipboard) so you may want to override {Wx::LogGui#do_show_single_log_message} to customize {Wx::LogGui} the dialogs sample shows how to do this.
|
373
|
-
# ===
|
374
377
|
#
|
375
378
|
# Category: {Wx::Logging}
|
376
379
|
#
|
377
380
|
#
|
378
381
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
382
|
+
# @wxrb_require USE_LOG
|
379
383
|
class LogGui < Log
|
380
384
|
|
381
385
|
# Default constructor.
|
@@ -386,7 +390,6 @@ module Wx
|
|
386
390
|
|
387
391
|
# This class can be used to redirect the log messages to a C file stream (not to be confused with C++ streams).
|
388
392
|
# It is the default log target for the non-GUI wxWidgets applications which send all the output to stderr.
|
389
|
-
# ===
|
390
393
|
#
|
391
394
|
# Category: {Wx::Logging}
|
392
395
|
# @see Wx::LogStream
|
@@ -394,13 +397,13 @@ module Wx
|
|
394
397
|
#
|
395
398
|
#
|
396
399
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
400
|
+
# @wxrb_require USE_LOG
|
397
401
|
class LogStderr < Log
|
398
402
|
|
399
403
|
end # LogStderr
|
400
404
|
|
401
405
|
# Using these target all the log messages can be redirected to a text control.
|
402
406
|
# The text control must have been created with {Wx::TE_MULTILINE} style by the caller previously.
|
403
|
-
# ===
|
404
407
|
#
|
405
408
|
# Category: {Wx::Logging}
|
406
409
|
# @see Wx::TextCtrl
|
@@ -409,6 +412,7 @@ module Wx
|
|
409
412
|
#
|
410
413
|
#
|
411
414
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
415
|
+
# @wxrb_require USE_LOG
|
412
416
|
class LogTextCtrl < Log
|
413
417
|
|
414
418
|
# Constructs a log target which sends all the log messages to the given text control.
|
@@ -423,10 +427,10 @@ module Wx
|
|
423
427
|
# It forwards log messages to the previously installed one in addition to processing them itself.
|
424
428
|
# Unlike {Wx::LogChain} which is usually used directly as is, this class must be derived from to implement {Wx::Log::DoLog} and/or {Wx::Log::DoLogString} methods.
|
425
429
|
# {Wx::LogInterposer} destroys the previous log target in its destructor. If you don't want this to happen, use {Wx::LogInterposerTemp} instead.
|
426
|
-
# ===
|
427
430
|
#
|
428
431
|
# Category: {Wx::Logging}
|
429
432
|
#
|
433
|
+
# @wxrb_require USE_LOG
|
430
434
|
class LogInterposer < LogChain
|
431
435
|
|
432
436
|
# The default constructor installs this object as the current active log target.
|
@@ -437,12 +441,12 @@ module Wx
|
|
437
441
|
|
438
442
|
# This class represents a background log window: to be precise, it collects all log messages in the log frame which it manages but also passes them on to the log target which was active at the moment of its creation.
|
439
443
|
# This allows you, for example, to show all the log messages in a frame but still continue to process them normally by showing the standard log dialog.
|
440
|
-
# ===
|
441
444
|
#
|
442
445
|
# Category: {Wx::Logging}
|
443
446
|
# @see Wx::LogTextCtrl
|
444
447
|
#
|
445
448
|
#
|
449
|
+
# @wxrb_require USE_LOG
|
446
450
|
class LogWindow < LogInterposer
|
447
451
|
|
448
452
|
# Creates the log frame window and starts collecting the messages in it.
|
@@ -513,12 +517,11 @@ module Wx
|
|
513
517
|
# end
|
514
518
|
# ```
|
515
519
|
#
|
516
|
-
# ===
|
517
|
-
#
|
518
520
|
# Category: {Wx::Logging}
|
519
521
|
#
|
520
522
|
#
|
521
523
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
524
|
+
# @wxrb_require USE_LOG
|
522
525
|
class LogNull < ::Object
|
523
526
|
|
524
527
|
end # LogNull
|
@@ -528,6 +531,7 @@ module Wx
|
|
528
531
|
#
|
529
532
|
#
|
530
533
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
534
|
+
# @wxrb_require USE_LOG
|
531
535
|
class LogRecordInfo < ::Object
|
532
536
|
|
533
537
|
end # LogRecordInfo
|
@@ -7,10 +7,15 @@
|
|
7
7
|
module Wx
|
8
8
|
|
9
9
|
# An MDI client window is a child of {Wx::MDIParentFrame}, and manages zero or more {Wx::MDIChildFrame} objects.
|
10
|
+
# <div class="wxrb-remark">
|
11
|
+
# <b>Remark:</b>
|
12
|
+
# <p>
|
13
|
+
# </p>
|
14
|
+
# </div>>
|
15
|
+
#
|
10
16
|
# The client window is the area where MDI child windows exist. It doesn't have to cover the whole parent frame; other windows such as toolbars and a help window might coexist with it. There can be scrollbars on a client window, which are controlled by the parent window style.
|
11
17
|
# The {Wx::MDIClientWindow} class is usually adequate without further derivation, and it is created automatically when the MDI parent frame is created. If the application needs to derive a new class, the function {Wx::MDIParentFrame#on_create_client} must be overridden in order to give an opportunity to use a different class of client window.
|
12
|
-
# Under
|
13
|
-
# ===
|
18
|
+
# Under WXMSW, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized.
|
14
19
|
#
|
15
20
|
# Category: Managed Windows
|
16
21
|
# @see Wx::MDIChildFrame
|
@@ -18,6 +23,7 @@ module Wx
|
|
18
23
|
# @see Wx::Frame
|
19
24
|
#
|
20
25
|
#
|
26
|
+
# @wxrb_require USE_MDI
|
21
27
|
class MDIClientWindow < Window
|
22
28
|
|
23
29
|
# Default constructor.
|