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
@@ -8,42 +8,41 @@ module Wx
|
|
8
8
|
|
9
9
|
# This control allows the user to select a directory.
|
10
10
|
# The generic implementation is a button which brings up a {Wx::DirDialog} when clicked. Native implementation may differ but this is usually a (small) widget which give access to the dir-chooser dialog. It is only available if {Wx::Setup::USE_DIRPICKERCTRL} is set to 1 (the default).
|
11
|
-
#
|
11
|
+
# ### Styles
|
12
12
|
#
|
13
13
|
# This class supports the following styles:
|
14
14
|
#
|
15
|
-
# - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under
|
15
|
+
# - {Wx::DIRP_DEFAULT_STYLE}: The default style: includes {Wx::DIRP_DIR_MUST_EXIST} and, under WXMSW only, {Wx::DIRP_USE_TEXTCTRL}.
|
16
16
|
#
|
17
17
|
# - {Wx::DIRP_USE_TEXTCTRL}: Creates a text control to the left of the picker button which is completely managed by the {Wx::DirPickerCtrl} and which can be used by the user to specify a path (see SetPath). The text control is automatically synchronized with button's value. Use functions defined in {Wx::PickerBase} to modify the text control.
|
18
18
|
#
|
19
|
-
# - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native
|
19
|
+
# - {Wx::DIRP_DIR_MUST_EXIST}: Creates a picker which allows selecting only existing directories in the popup {Wx::DirDialog}. Notice that, as with {Wx::FLP_FILE_MUST_EXIST}, it is still possible to enter a non-existent directory even when this file is specified if {Wx::DIRP_USE_TEXTCTRL} style is also used. Also note that if {Wx::DIRP_USE_TEXTCTRL} is not used, the native WXGTK implementation always uses this style as it doesn't support selecting non-existent directories.
|
20
20
|
#
|
21
21
|
# - {Wx::DIRP_CHANGE_DIR}: Change current working directory on each user directory selection change.
|
22
22
|
#
|
23
23
|
# - {Wx::DIRP_SMALL}: Use smaller version of the control with a small "..." button instead of the normal "Browse" one. This flag is new since wxWidgets 2.9.3.
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# ### Events emitted by this class
|
26
26
|
#
|
27
27
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::FileDirPickerEvent} events.
|
28
28
|
# Event handler methods for events emitted by this class:
|
29
29
|
#
|
30
30
|
# - {Wx::EvtHandler#evt_dirpicker_changed}(id, meth = nil, &block): The user changed the directory selected in the control either using the button or using text control (see {Wx::DIRP_USE_TEXTCTRL}; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).
|
31
31
|
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
# </td><td> wxGTK Appearance
|
36
|
-
# </td><td> wxOSX Appearance
|
32
|
+
# Category: Picker Controls <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
33
|
+
# </td><td> WXGTK Appearance
|
34
|
+
# </td><td> WXOSX Appearance
|
37
35
|
# </td></tr></table></div>
|
38
36
|
# @see Wx::DirDialog
|
39
37
|
# @see Wx::FileDirPickerEvent
|
40
38
|
#
|
41
39
|
#
|
40
|
+
# @wxrb_require USE_DIRDLG,USE_DIRPICKERCTRL
|
42
41
|
class DirPickerCtrl < PickerBase
|
43
42
|
|
44
43
|
# @overload initialize()
|
45
44
|
# @return [Wx::DirPickerCtrl]
|
46
|
-
# @overload initialize(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
45
|
+
# @overload initialize(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::DIR_PICKER_CTRL_NAME_STR)
|
47
46
|
# Initializes the object and calls {Wx::DirPickerCtrl#create} with all the parameters.
|
48
47
|
# @param parent [Wx::Window]
|
49
48
|
# @param id [Integer]
|
@@ -69,7 +68,7 @@ module Wx
|
|
69
68
|
# @param validator [Wx::Validator] Validator which can be used for additional data checks.
|
70
69
|
# @param name [String] Control name.
|
71
70
|
# @return [Boolean]
|
72
|
-
def create(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
71
|
+
def create(parent, id, path=(''), message=Wx::DIR_SELECTOR_PROMPT_STR, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::DIRP_DEFAULT_STYLE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::DIR_PICKER_CTRL_NAME_STR) end
|
73
72
|
|
74
73
|
# Returns the absolute path of the currently selected directory as a {Wx::FileName} object.
|
75
74
|
# This function is equivalent to {Wx::DirPickerCtrl#get_path}.
|
@@ -96,7 +95,7 @@ module Wx
|
|
96
95
|
alias_method :initial_directory=, :set_initial_directory
|
97
96
|
|
98
97
|
# Sets the absolute path of the currently selected directory.
|
99
|
-
# If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native
|
98
|
+
# If the control uses {Wx::DIRP_DIR_MUST_EXIST} and does not use {Wx::DIRP_USE_TEXTCTRL} style, the dirname must be a name of an existing directory and will be simply ignored by the native WXGTK implementation if this is not the case.
|
100
99
|
# @param dirname [String]
|
101
100
|
# @return [void]
|
102
101
|
def set_path(dirname) end
|
data/lib/wx/doc/gen/drag_drop.rb
CHANGED
@@ -22,6 +22,7 @@ module Wx
|
|
22
22
|
#
|
23
23
|
#
|
24
24
|
#
|
25
|
+
# @wxrb_require USE_DRAG_AND_DROP
|
25
26
|
class DragResult < Wx::Enum
|
26
27
|
|
27
28
|
# Error prevented the D&D operation from completing.
|
@@ -57,8 +58,6 @@ module Wx
|
|
57
58
|
def self.is_drag_result_ok(res) end
|
58
59
|
|
59
60
|
# This class represents a source for a drag and drop operation.
|
60
|
-
# ===
|
61
|
-
#
|
62
61
|
# Category: Clipboard and Drag & Drop
|
63
62
|
# @see Drag and Drop Overview
|
64
63
|
# @see wxDataObject Overview
|
@@ -67,27 +66,30 @@ module Wx
|
|
67
66
|
# @see Wx::FileDropTarget
|
68
67
|
#
|
69
68
|
#
|
69
|
+
# @wxrb_require USE_DRAG_AND_DROP
|
70
70
|
class DropSource < ::Object
|
71
71
|
|
72
72
|
# @overload initialize(win=nil, iconCopy=Wx::NULL_CURSOR, iconMove=Wx::NULL_CURSOR, iconNone=Wx::NULL_CURSOR)
|
73
73
|
# This constructor requires that you must call {Wx::DropSource#set_data} later.
|
74
74
|
# Note that the type of iconCopy and subsequent parameters differs between different ports: these are cursors under Windows and OS X but icons for GTK. You should use the macro {drop_icon} in portable programs instead of directly using either of these types.
|
75
|
-
# Availability: only available for the
|
75
|
+
# Availability: only available for the WXMSW, WXOSX/Cocoa ports.
|
76
76
|
# @param win [Wx::Window] The window which initiates the drag and drop operation.
|
77
77
|
# @param iconCopy [Wx::Cursor] The icon or cursor used for feedback for copy operation.
|
78
78
|
# @param iconMove [Wx::Cursor] The icon or cursor used for feedback for move operation.
|
79
79
|
# @param iconNone [Wx::Cursor] The icon or cursor used for feedback when operation can't be done.
|
80
80
|
# @return [Wx::DropSource]
|
81
|
+
# @wxrb_require WXMSW|WXOSX
|
81
82
|
# @overload initialize(data, win=nil, iconCopy=Wx::NULL_CURSOR, iconMove=Wx::NULL_CURSOR, iconNone=Wx::NULL_CURSOR)
|
82
83
|
# The constructor taking a {Wx::DataObject}.
|
83
84
|
# Note that the type of iconCopy and subsequent parameters differs between different ports: these are cursors under Windows and OS X but icons for GTK. You should use the macro {drop_icon} in portable programs instead of directly using either of these types.
|
84
|
-
# Availability: only available for the
|
85
|
+
# Availability: only available for the WXMSW, WXOSX/Cocoa ports.
|
85
86
|
# @param data [Wx::DataObject] The data associated with the drop source.
|
86
87
|
# @param win [Wx::Window] The window which initiates the drag and drop operation.
|
87
88
|
# @param iconCopy [Wx::Cursor] The icon or cursor used for feedback for copy operation.
|
88
89
|
# @param iconMove [Wx::Cursor] The icon or cursor used for feedback for move operation.
|
89
90
|
# @param iconNone [Wx::Cursor] The icon or cursor used for feedback when operation can't be done.
|
90
91
|
# @return [Wx::DropSource]
|
92
|
+
# @wxrb_require WXMSW|WXOSX
|
91
93
|
def initialize(*args) end
|
92
94
|
|
93
95
|
# Starts the drag-and-drop operation which will terminate when the user releases the mouse.
|
@@ -112,10 +114,11 @@ module Wx
|
|
112
114
|
def give_feedback(effect) end
|
113
115
|
|
114
116
|
# Set the icon to use for a certain drag result.
|
115
|
-
# Availability: only available for the
|
117
|
+
# Availability: only available for the WXMSW, WXOSX/Cocoa ports.
|
116
118
|
# @param res [Wx::DragResult] The drag result to set the icon for.
|
117
119
|
# @param cursor [Wx::Cursor] The icon to show when this drag result occurs.
|
118
120
|
# @return [void]
|
121
|
+
# @wxrb_require WXMSW|WXOSX
|
119
122
|
def set_cursor(res, cursor) end
|
120
123
|
|
121
124
|
# Sets the data {Wx::DataObject} associated with the drop source.
|
@@ -130,7 +133,6 @@ module Wx
|
|
130
133
|
# This class represents a target for a drag and drop operation.
|
131
134
|
# A {Wx::DataObject} can be associated with it and by default, this object will be filled with the data from the drag source, if the data formats supported by the data object match the drag source data format.
|
132
135
|
# There are various virtual handler functions defined in this class which may be overridden to give visual feedback or react in a more fine-tuned way, e.g. by not accepting data on the whole window area, but only a small portion of it. The normal sequence of calls is {Wx::DropTarget#on_enter}, {Wx::DropTarget#on_drag_over} possibly many times, {Wx::DropTarget#on_drop} and finally {Wx::DropTarget#on_data}.
|
133
|
-
# ===
|
134
136
|
#
|
135
137
|
# Category: Clipboard and Drag & Drop
|
136
138
|
# @see Drag and Drop Overview
|
@@ -142,6 +144,7 @@ module Wx
|
|
142
144
|
# @see Wx::DataObject
|
143
145
|
#
|
144
146
|
#
|
147
|
+
# @wxrb_require USE_DRAG_AND_DROP
|
145
148
|
class DropTarget < ::Object
|
146
149
|
|
147
150
|
# Constructor.
|
@@ -223,8 +226,6 @@ module Wx
|
|
223
226
|
end # DropTarget
|
224
227
|
|
225
228
|
# This is a drop target which accepts files (dragged from File Manager or Explorer).
|
226
|
-
# ===
|
227
|
-
#
|
228
229
|
# Category: Clipboard and Drag & Drop
|
229
230
|
# @see Drag and Drop Overview
|
230
231
|
# @see Wx::DropSource
|
@@ -232,6 +233,7 @@ module Wx
|
|
232
233
|
# @see Wx::TextDropTarget
|
233
234
|
#
|
234
235
|
#
|
236
|
+
# @wxrb_require USE_DRAG_AND_DROP
|
235
237
|
class FileDropTarget < DropTarget
|
236
238
|
|
237
239
|
# Constructor.
|
@@ -249,8 +251,6 @@ module Wx
|
|
249
251
|
end # FileDropTarget
|
250
252
|
|
251
253
|
# A predefined drop target for dealing with text data.
|
252
|
-
# ===
|
253
|
-
#
|
254
254
|
# Category: Clipboard and Drag & Drop
|
255
255
|
# @see Drag and Drop Overview
|
256
256
|
# @see Wx::DropSource
|
@@ -258,6 +258,7 @@ module Wx
|
|
258
258
|
# @see Wx::FileDropTarget
|
259
259
|
#
|
260
260
|
#
|
261
|
+
# @wxrb_require USE_DRAG_AND_DROP
|
261
262
|
class TextDropTarget < DropTarget
|
262
263
|
|
263
264
|
# Constructor.
|
@@ -11,12 +11,12 @@ module Wx
|
|
11
11
|
# To use this class, when you wish to start dragging an image, create a {Wx::DragImage} object and store it somewhere you can access it as the drag progresses. Call {Wx::DragImage#begin_drag} to start, and {Wx::DragImage#end_drag} to stop the drag. To move the image, initially call {Wx::DragImage#show} and then {Wx::DragImage#move}. If you wish to update the screen contents during the drag (for example, highlight an item as in the dragimag sample), first call {Wx::DragImage#hide}, update the screen, call {Wx::DragImage#move}, and then call {Wx::DragImage#show}.
|
12
12
|
# You can drag within one window, or you can use full-screen dragging either across the whole screen, or just restricted to one area of the screen to save resources. If you want the user to drag between two windows, then you will need to use full-screen dragging.
|
13
13
|
# If you wish to draw the image yourself, use {Wx::GenericDragImage} and override {Wx::DragImage#do_draw_image} and {Wx::DragImage#get_image_rect}.
|
14
|
-
# ===
|
15
14
|
#
|
16
15
|
# Category: Clipboard and Drag & Drop
|
17
16
|
# @see Drag Image Sample
|
18
17
|
#
|
19
18
|
#
|
19
|
+
# @wxrb_require USE_DRAGIMAGE
|
20
20
|
class DragImage < Object
|
21
21
|
|
22
22
|
# @overload initialize()
|
@@ -70,7 +70,11 @@ module Wx
|
|
70
70
|
def begin_drag(*args) end
|
71
71
|
|
72
72
|
# Call this when the drag has finished.
|
73
|
-
#
|
73
|
+
# <div class="wxrb-note">
|
74
|
+
# <b>Note:</b>
|
75
|
+
# <p>This function automatically releases mouse capture.
|
76
|
+
# </p>
|
77
|
+
# </div>
|
74
78
|
# @return [Boolean]
|
75
79
|
def end_drag; end
|
76
80
|
|
@@ -22,7 +22,7 @@ module Wx
|
|
22
22
|
EL_DEFAULT_STYLE = 1792
|
23
23
|
|
24
24
|
# An editable listbox is composite control that lets the user easily enter, delete and reorder a list of strings.
|
25
|
-
#
|
25
|
+
# ### Styles
|
26
26
|
#
|
27
27
|
# This class supports the following styles:
|
28
28
|
#
|
@@ -37,19 +37,19 @@ module Wx
|
|
37
37
|
# - {Wx::EL_DEFAULT_STYLE}: Default style: {Wx::EL_ALLOW_NEW}|{Wx::EL_ALLOW_EDIT}|{Wx::EL_ALLOW_DELETE}.
|
38
38
|
#
|
39
39
|
# The control uses a {Wx::ListCtrl} internally and emit its events.
|
40
|
-
# ===
|
41
40
|
#
|
42
41
|
# Category: {Wx::Controls}
|
43
42
|
# @see Wx::ListBox
|
44
43
|
# @see Wx::ListCtrl
|
45
44
|
#
|
46
45
|
#
|
46
|
+
# @wxrb_require USE_EDITABLELISTBOX
|
47
47
|
class EditableListBox < Panel
|
48
48
|
|
49
49
|
# @overload initialize()
|
50
50
|
# Default ctor.
|
51
51
|
# @return [Wx::EditableListBox]
|
52
|
-
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::
|
52
|
+
# @overload initialize(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::EDITABLE_LIST_BOX_NAME_STR)
|
53
53
|
# Constructor, creating and showing a list box.
|
54
54
|
#
|
55
55
|
# @see Wx::EditableListBox#create
|
@@ -73,7 +73,7 @@ module Wx
|
|
73
73
|
# @param style [Integer]
|
74
74
|
# @param name [String]
|
75
75
|
# @return [Boolean]
|
76
|
-
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::
|
76
|
+
def create(parent, id, label, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::EL_DEFAULT_STYLE, name=Wx::EDITABLE_LIST_BOX_NAME_STR) end
|
77
77
|
|
78
78
|
# Replaces current contents with given strings.
|
79
79
|
# @param strings [Array<String>]
|
data/lib/wx/doc/gen/event.rb
CHANGED
@@ -24,7 +24,11 @@ module Wx
|
|
24
24
|
|
25
25
|
# The different categories for a {Wx::Event}; see {Wx::Event#get_event_category}.
|
26
26
|
#
|
27
|
-
#
|
27
|
+
# <div class="wxrb-note">
|
28
|
+
# <b>Note:</b>
|
29
|
+
# <p>They are used as OR-combinable flags by Wx::EventLoopBase::YieldFor.
|
30
|
+
# </p>
|
31
|
+
# </div>
|
28
32
|
#
|
29
33
|
class EventCategory < Wx::Enum
|
30
34
|
|
@@ -80,7 +84,7 @@ module Wx
|
|
80
84
|
#
|
81
85
|
K_CATEGORY_CUT = Wx::KeyCategoryFlags.new(16)
|
82
86
|
|
83
|
-
# union of {Wx::K_CATEGORY}_ARROW, {Wx::K_CATEGORY}_PAGING, and {Wx::K_CATEGORY}_JUMP categories
|
87
|
+
# union of {Wx::KeyCode::K_CATEGORY}_ARROW, {Wx::KeyCode::K_CATEGORY}_PAGING, and {Wx::KeyCode::K_CATEGORY}_JUMP categories
|
84
88
|
#
|
85
89
|
K_CATEGORY_NAVIGATION = Wx::KeyCategoryFlags.new(7)
|
86
90
|
|
@@ -522,6 +526,14 @@ module Wx
|
|
522
526
|
#
|
523
527
|
EVT_FULLSCREEN = 10291
|
524
528
|
|
529
|
+
#
|
530
|
+
#
|
531
|
+
EVT_MOUSE_CAPTURE_CHANGED = 10292
|
532
|
+
|
533
|
+
#
|
534
|
+
#
|
535
|
+
EVT_MOUSE_CAPTURE_LOST = 10293
|
536
|
+
|
525
537
|
#
|
526
538
|
#
|
527
539
|
EVT_PAINT = 10294
|
@@ -554,6 +566,10 @@ module Wx
|
|
554
566
|
#
|
555
567
|
EVT_SYS_COLOUR_CHANGED = 10301
|
556
568
|
|
569
|
+
#
|
570
|
+
#
|
571
|
+
EVT_DISPLAY_CHANGED = 10302
|
572
|
+
|
557
573
|
#
|
558
574
|
#
|
559
575
|
EVT_DPI_CHANGED = 10303
|
@@ -674,9 +690,15 @@ module Wx
|
|
674
690
|
#
|
675
691
|
EVT_WINDOW_MODAL_DIALOG_CLOSED = 10182
|
676
692
|
|
693
|
+
#
|
694
|
+
EVT_MENU_HIGHLIGHT_ALL = 10299
|
695
|
+
|
696
|
+
#
|
697
|
+
EVT_NC_PAINT = 10296
|
698
|
+
|
677
699
|
# Generates a new unique event type.
|
678
700
|
# Usually this function is only used by {define_event} and not called directly.
|
679
|
-
# @return [Wx::
|
701
|
+
# @return [Wx::Slider::EventType]
|
680
702
|
def self.new_event_type; end
|
681
703
|
|
682
704
|
# In a GUI application, this function posts event to the specified dest object using {Wx::EvtHandler#add_pending_event}.
|
@@ -690,8 +712,6 @@ module Wx
|
|
690
712
|
# {Wx::Event} used to be a multipurpose event object, and is an abstract base class for other event classes (see below).
|
691
713
|
# For more information about events, see the Events and Event Handling overview.
|
692
714
|
#
|
693
|
-
# ===
|
694
|
-
#
|
695
715
|
# Category: {Wx::Events}
|
696
716
|
# @see Wx::CommandEvent
|
697
717
|
# @see Wx::MouseEvent
|
@@ -705,7 +725,7 @@ module Wx
|
|
705
725
|
alias_method :event_object, :get_event_object
|
706
726
|
|
707
727
|
# Returns the identifier of the given event type, such as {Wx::EVT_BUTTON}.
|
708
|
-
# @return [Wx::
|
728
|
+
# @return [Wx::Slider::EventType]
|
709
729
|
def get_event_type; end
|
710
730
|
alias_method :event_type, :get_event_type
|
711
731
|
|
@@ -734,7 +754,11 @@ module Wx
|
|
734
754
|
alias_method :timestamp, :get_timestamp
|
735
755
|
|
736
756
|
# Returns true if the event is or is derived from {Wx::CommandEvent} else it returns false.
|
737
|
-
#
|
757
|
+
# <div class="wxrb-note">
|
758
|
+
# <b>Note:</b>
|
759
|
+
# <p>exists only for optimization purposes.
|
760
|
+
# </p>
|
761
|
+
# </div>
|
738
762
|
# @return [Boolean]
|
739
763
|
def is_command_event; end
|
740
764
|
alias_method :command_event?, :is_command_event
|
@@ -751,7 +775,7 @@ module Wx
|
|
751
775
|
alias_method :event_object=, :set_event_object
|
752
776
|
|
753
777
|
# Sets the event type.
|
754
|
-
# @param type [Wx::
|
778
|
+
# @param type [Wx::Slider::EventType]
|
755
779
|
# @return [void]
|
756
780
|
def set_event_type(type) end
|
757
781
|
alias_method :event_type=, :set_event_type
|
@@ -789,7 +813,7 @@ module Wx
|
|
789
813
|
# This event class contains information about command events, which originate from a variety of simple controls.
|
790
814
|
# Note that {Wx::CommandEvents} and {Wx::CommandEvent}-derived event classes by default and unlike other {Wx::Event}-derived classes propagate upward from the source window (the window which emits the event) up to the first parent which processes the event. Be sure to read How Events Propagate Upwards.
|
791
815
|
# More complex controls, such as {Wx::TreeCtrl}, have separate command event classes.
|
792
|
-
#
|
816
|
+
# ### Events using this class
|
793
817
|
#
|
794
818
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
795
819
|
# Event handler methods:
|
@@ -838,32 +862,30 @@ module Wx
|
|
838
862
|
#
|
839
863
|
# - {Wx::EvtHandler#evt_tool_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL} event for a range of identifiers. Pass the ids of the tools.
|
840
864
|
#
|
841
|
-
# - {Wx::EvtHandler#evt_tool_rclicked}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on
|
865
|
+
# - {Wx::EvtHandler#evt_tool_rclicked}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on WXOSX.)
|
842
866
|
#
|
843
|
-
# - {Wx::EvtHandler#evt_tool_rclicked_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on
|
867
|
+
# - {Wx::EvtHandler#evt_tool_rclicked_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on WXOSX.)
|
844
868
|
#
|
845
|
-
# - {Wx::EvtHandler#evt_tool_enter}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_ENTER} event. Pass the id of the toolbar itself. The value of {Wx::CommandEvent#get_selection} is the tool id, or -1 if the mouse cursor has moved off a tool. (Not available on
|
869
|
+
# - {Wx::EvtHandler#evt_tool_enter}(id, meth = nil, &block): Process a {Wx::EVT_TOOL_ENTER} event. Pass the id of the toolbar itself. The value of {Wx::CommandEvent#get_selection} is the tool id, or -1 if the mouse cursor has moved off a tool. (Not available on WXOSX.)
|
846
870
|
#
|
847
|
-
# - {Wx::EvtHandler#evt_command_left_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control (
|
871
|
+
# - {Wx::EvtHandler#evt_command_left_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control (WXMSW only).
|
848
872
|
#
|
849
|
-
# - {Wx::EvtHandler#evt_command_left_dclick}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control (
|
873
|
+
# - {Wx::EvtHandler#evt_command_left_dclick}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control (WXMSW only).
|
850
874
|
#
|
851
|
-
# - {Wx::EvtHandler#evt_command_right_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control (
|
875
|
+
# - {Wx::EvtHandler#evt_command_right_click}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control (WXMSW only).
|
852
876
|
#
|
853
|
-
# - {Wx::EvtHandler#evt_command_set_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control (
|
877
|
+
# - {Wx::EvtHandler#evt_command_set_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control (WXMSW only).
|
854
878
|
#
|
855
|
-
# - {Wx::EvtHandler#evt_command_kill_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control (
|
879
|
+
# - {Wx::EvtHandler#evt_command_kill_focus}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control (WXMSW only).
|
856
880
|
#
|
857
881
|
# - {Wx::EvtHandler#evt_command_enter}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_ENTER} command, which is generated by a control.
|
858
882
|
#
|
859
|
-
# ===
|
860
|
-
#
|
861
883
|
# Category: {Wx::Events}
|
862
884
|
#
|
863
885
|
class CommandEvent < Event
|
864
886
|
|
865
887
|
# Constructor.
|
866
|
-
# @param commandEventType [Wx::
|
888
|
+
# @param commandEventType [Wx::Slider::EventType]
|
867
889
|
# @param id [Integer]
|
868
890
|
# @return [Wx::CommandEvent]
|
869
891
|
def initialize(commandEventType=Wx::EVT_NULL, id=0) end
|
@@ -29,8 +29,6 @@ module Wx
|
|
29
29
|
# end
|
30
30
|
# ```
|
31
31
|
#
|
32
|
-
# ===
|
33
|
-
#
|
34
32
|
# Category: {Wx::Events}
|
35
33
|
# @see How Events are Processed
|
36
34
|
# @see Wx::EvtHandler
|
@@ -41,7 +39,7 @@ module Wx
|
|
41
39
|
class EventBlocker < EvtHandler
|
42
40
|
|
43
41
|
# Adds to the list of event types which should be blocked the given eventType.
|
44
|
-
# @param eventType [Wx::
|
42
|
+
# @param eventType [Wx::Slider::EventType]
|
45
43
|
# @return [void]
|
46
44
|
def block(eventType) end
|
47
45
|
|