wxruby3 0.9.0.pre.rc.1-x64-mingw-ucrt → 0.9.0.pre.rc.3-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/INSTALL.md +73 -22
- data/README.md +40 -8
- data/assets/hello_button-macos.png +0 -0
- data/assets/hello_button-msw.png +0 -0
- data/assets/hello_button_clicked-macos.png +0 -0
- data/assets/hello_button_clicked-msw.png +0 -0
- data/assets/hello_button_clicked_combi.png +0 -0
- data/assets/hello_world-macos.png +0 -0
- data/assets/hello_world-msw.png +0 -0
- data/assets/hello_world_combi.png +0 -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/core/brush.rb +6 -0
- data/lib/wx/core/event_loop.rb +7 -0
- data/lib/wx/core/events/evt_list.rb +7 -0
- data/lib/wx/core/evthandler.rb +12 -2
- data/lib/wx/core/font.rb +22 -14
- data/lib/wx/core/helpprovider.rb +2 -2
- data/lib/wx/core/image.rb +33 -0
- data/lib/wx/core/listctrl.rb +17 -13
- data/lib/wx/core/log.rb +90 -0
- data/lib/wx/core/menu.rb +5 -0
- data/lib/wx/core/pen.rb +6 -0
- data/lib/wx/core/window.rb +28 -1
- data/lib/wx/doc/app.rb +40 -0
- data/lib/wx/doc/bitmap.rb +11 -15
- data/lib/wx/doc/brush.rb +17 -0
- data/lib/wx/doc/event_loop.rb +7 -0
- data/lib/wx/doc/extra/00_starting.md +6 -6
- data/lib/wx/doc/extra/02_lifecycles.md +9 -8
- data/lib/wx/doc/extra/09_exceptions.md +1 -1
- data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
- data/lib/wx/doc/font.rb +27 -0
- data/lib/wx/doc/functions.rb +51 -23
- data/lib/wx/doc/gc_dc.rb +1 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +6 -6
- data/lib/wx/doc/gen/accessible.rb +6 -2
- data/lib/wx/doc/gen/activity_indicator.rb +65 -0
- data/lib/wx/doc/gen/animation.rb +7 -7
- data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +17 -11
- data/lib/wx/doc/gen/art_provider.rb +61 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
- data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +35 -20
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
- data/lib/wx/doc/gen/bitmap.rb +32 -26
- data/lib/wx/doc/gen/bitmap_button.rb +10 -6
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
- data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
- data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +16 -4
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +19 -7
- data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
- data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
- data/lib/wx/doc/gen/calendar_event.rb +3 -3
- data/lib/wx/doc/gen/caret.rb +2 -2
- data/lib/wx/doc/gen/check_box.rb +10 -6
- data/lib/wx/doc/gen/check_list_box.rb +8 -7
- data/lib/wx/doc/gen/choice.rb +7 -6
- data/lib/wx/doc/gen/choicebook.rb +12 -6
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +9 -6
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
- data/lib/wx/doc/gen/colour.rb +16 -6
- data/lib/wx/doc/gen/colour_dialog.rb +6 -6
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
- data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
- data/lib/wx/doc/gen/combo_box.rb +22 -13
- data/lib/wx/doc/gen/context_help_button.rb +50 -1
- data/lib/wx/doc/gen/control.rb +9 -6
- data/lib/wx/doc/gen/core.rb +5 -2
- data/lib/wx/doc/gen/cursor.rb +16 -11
- data/lib/wx/doc/gen/data_format.rb +2 -2
- data/lib/wx/doc/gen/data_object.rb +23 -16
- data/lib/wx/doc/gen/date_event.rb +3 -3
- data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
- data/lib/wx/doc/gen/dc.rb +37 -12
- data/lib/wx/doc/gen/defs.rb +16 -16
- data/lib/wx/doc/gen/dialog.rb +19 -5
- data/lib/wx/doc/gen/dir_dialog.rb +6 -2
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
- data/lib/wx/doc/gen/drag_drop.rb +15 -15
- data/lib/wx/doc/gen/drag_image.rb +6 -6
- data/lib/wx/doc/gen/editable_list_box.rb +7 -3
- data/lib/wx/doc/gen/event.rb +44 -13
- data/lib/wx/doc/gen/event_blocker.rb +19 -17
- data/lib/wx/doc/gen/event_filter.rb +43 -47
- data/lib/wx/doc/gen/event_list.rb +22 -15
- data/lib/wx/doc/gen/events.rb +215 -79
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +64 -56
- data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
- data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
- data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
- 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 +12 -6
- data/lib/wx/doc/gen/font.rb +39 -29
- data/lib/wx/doc/gen/font_data.rb +9 -5
- data/lib/wx/doc/gen/font_dialog.rb +3 -3
- data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
- data/lib/wx/doc/gen/font_picker_event.rb +2 -1
- data/lib/wx/doc/gen/frame.rb +34 -11
- data/lib/wx/doc/gen/fs_file.rb +4 -17
- data/lib/wx/doc/gen/gauge.rb +11 -7
- data/lib/wx/doc/gen/gcdc.rb +5 -1
- data/lib/wx/doc/gen/gdi_common.rb +35 -33
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
- data/lib/wx/doc/gen/graphics_context.rb +29 -28
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
- 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 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -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 +13 -10
- 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 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
- data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
- data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
- data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
- data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
- data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
- data/lib/wx/doc/gen/grid_sizer.rb +4 -4
- data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
- data/lib/wx/doc/gen/help_controller.rb +18 -12
- data/lib/wx/doc/gen/html/html_cell.rb +36 -18
- data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
- data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
- data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
- data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
- data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
- data/lib/wx/doc/gen/html/html_printout.rb +15 -5
- data/lib/wx/doc/gen/html/html_window.rb +19 -8
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +152 -0
- data/lib/wx/doc/gen/hyperlink_event.rb +44 -0
- data/lib/wx/doc/gen/icon.rb +14 -14
- data/lib/wx/doc/gen/image.rb +119 -64
- data/lib/wx/doc/gen/image_list.rb +10 -6
- data/lib/wx/doc/gen/keyboard_state.rb +7 -7
- data/lib/wx/doc/gen/list_box.rb +30 -21
- data/lib/wx/doc/gen/list_ctrl.rb +169 -78
- data/lib/wx/doc/gen/list_event.rb +24 -2
- data/lib/wx/doc/gen/listbook.rb +12 -6
- data/lib/wx/doc/gen/locale.rb +11 -36
- data/lib/wx/doc/gen/log.rb +122 -45
- data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
- data/lib/wx/doc/gen/mdi_frame.rb +15 -9
- data/lib/wx/doc/gen/media_ctrl.rb +7 -4
- data/lib/wx/doc/gen/media_event.rb +8 -2
- data/lib/wx/doc/gen/memory_dc.rb +23 -27
- data/lib/wx/doc/gen/menu.rb +9 -9
- data/lib/wx/doc/gen/menu_bar.rb +4 -10
- data/lib/wx/doc/gen/menu_item.rb +115 -34
- data/lib/wx/doc/gen/message_dialog.rb +48 -30
- data/lib/wx/doc/gen/mini_frame.rb +12 -3
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/non_owned_window.rb +6 -7
- data/lib/wx/doc/gen/notebook.rb +20 -15
- data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/object.rb +2 -2
- data/lib/wx/doc/gen/palette.rb +3 -3
- data/lib/wx/doc/gen/panel.rb +4 -3
- data/lib/wx/doc/gen/pen.rb +25 -12
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
- data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
- data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
- data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
- data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
- data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
- data/lib/wx/doc/gen/picker_base.rb +12 -11
- data/lib/wx/doc/gen/platform_info.rb +7 -7
- data/lib/wx/doc/gen/popup_window.rb +6 -6
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/print_data.rb +24 -18
- data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
- data/lib/wx/doc/gen/prt/printer.rb +22 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
- data/lib/wx/doc/gen/radio_box.rb +12 -18
- data/lib/wx/doc/gen/radio_button.rb +8 -6
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
- data/lib/wx/doc/gen/region.rb +9 -8
- data/lib/wx/doc/gen/region_iterator.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +3 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
- data/lib/wx/doc/gen/sash_window.rb +8 -3
- data/lib/wx/doc/gen/scroll_bar.rb +29 -8
- data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
- data/lib/wx/doc/gen/scrolled_control.rb +41 -23
- data/lib/wx/doc/gen/scrolled_window.rb +41 -23
- data/lib/wx/doc/gen/search_ctrl.rb +15 -8
- data/lib/wx/doc/gen/simplebook.rb +2 -2
- data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/sizer.rb +29 -28
- data/lib/wx/doc/gen/slider.rb +49 -16
- data/lib/wx/doc/gen/spin_button.rb +15 -9
- data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
- data/lib/wx/doc/gen/spin_event.rb +5 -2
- data/lib/wx/doc/gen/splash_screen.rb +16 -12
- data/lib/wx/doc/gen/splitter_event.rb +6 -2
- data/lib/wx/doc/gen/splitter_window.rb +20 -4
- data/lib/wx/doc/gen/static_bitmap.rb +5 -5
- data/lib/wx/doc/gen/static_box.rb +36 -32
- data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
- data/lib/wx/doc/gen/static_line.rb +5 -4
- data/lib/wx/doc/gen/static_text.rb +12 -6
- data/lib/wx/doc/gen/status_bar.rb +14 -5
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
- data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
- data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
- data/lib/wx/doc/gen/system_options.rb +11 -1
- data/lib/wx/doc/gen/system_settings.rb +3 -3
- data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
- data/lib/wx/doc/gen/text_attr.rb +11 -7
- data/lib/wx/doc/gen/text_ctrl.rb +61 -92
- data/lib/wx/doc/gen/text_entry.rb +28 -40
- data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
- data/lib/wx/doc/gen/text_validator.rb +0 -11
- data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
- data/lib/wx/doc/gen/timer.rb +8 -4
- data/lib/wx/doc/gen/timer_event.rb +19 -26
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +6 -5
- data/lib/wx/doc/gen/tool_bar.rb +41 -24
- data/lib/wx/doc/gen/tool_tip.rb +2 -2
- data/lib/wx/doc/gen/toolbook.rb +6 -3
- data/lib/wx/doc/gen/top_level_window.rb +35 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
- data/lib/wx/doc/gen/tree_event.rb +23 -2
- data/lib/wx/doc/gen/treebook.rb +6 -2
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +9 -3
- data/lib/wx/doc/gen/v_list_box.rb +2 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/validator.rb +7 -5
- data/lib/wx/doc/gen/variant.rb +34 -97
- data/lib/wx/doc/gen/window.rb +157 -102
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +17 -4
- data/lib/wx/doc/gen/wizard_event.rb +9 -2
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
- data/lib/wx/doc/gen/xml_node.rb +3 -3
- data/lib/wx/doc/gen/xml_resource.rb +12 -9
- data/lib/wx/doc/image.rb +42 -12
- data/lib/wx/doc/list_ctrl.rb +32 -0
- data/lib/wx/doc/log.rb +28 -0
- data/lib/wx/doc/pen.rb +17 -0
- data/lib/wx/doc/prt/printer_dc.rb +2 -2
- data/lib/wx/doc/radio_box.rb +20 -0
- data/lib/wx/doc/scaled_dc.rb +1 -1
- data/lib/wx/doc/text_validator.rb +12 -0
- data/lib/wx/doc/window.rb +27 -0
- data/lib/wx/keyword_defs.rb +77 -76
- data/lib/wx/prt/keyword_defs.rb +5 -1
- 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/install.rb +17 -6
- data/rakelib/lib/config/linux.rb +4 -2
- data/rakelib/lib/config/macosx.rb +120 -1
- data/rakelib/lib/config/mingw.rb +6 -1
- data/rakelib/lib/config/unixish.rb +26 -11
- data/rakelib/lib/config.rb +15 -6
- data/samples/aui/aui.rb +432 -363
- data/samples/propgrid/propgrid.rb +3 -0
- data/samples/sampler/editor.rb +33 -25
- data/samples/sampler/sample.rb +2 -2
- data/samples/sampler/stc_editor.rb +4 -2
- data/tests/lib/item_container_tests.rb +82 -0
- data/tests/lib/text_entry_tests.rb +80 -0
- data/tests/lib/wxapp_runner.rb +12 -0
- data/tests/lib/wxframe_runner.rb +89 -4
- data/tests/test_art.rb +9 -0
- data/tests/test_box_sizer.rb +161 -0
- data/tests/test_ext_controls.rb +28 -0
- data/tests/test_font.rb +239 -0
- data/tests/test_grid_sizer.rb +148 -0
- data/tests/test_intl.rb +5 -1
- data/tests/test_list_ctrl.rb +53 -0
- data/tests/test_log.rb +163 -0
- data/tests/test_std_controls.rb +321 -37
- data/tests/test_timer.rb +95 -0
- data/tests/test_window.rb +340 -0
- metadata +36 -2
data/lib/wx/doc/gen/event.rb
CHANGED
@@ -684,7 +684,7 @@ module Wx
|
|
684
684
|
|
685
685
|
# Generates a new unique event type.
|
686
686
|
# Usually this function is only used by {define_event} and not called directly.
|
687
|
-
# @return [
|
687
|
+
# @return [Wx::AUI::AuiMDIChildFrame::EventType]
|
688
688
|
def self.new_event_type; end
|
689
689
|
|
690
690
|
# In a GUI application, this function posts event to the specified dest object using {Wx::EvtHandler#add_pending_event}.
|
@@ -713,7 +713,7 @@ module Wx
|
|
713
713
|
alias_method :event_object, :get_event_object
|
714
714
|
|
715
715
|
# Returns the identifier of the given event type, such as {Wx::EVT_BUTTON}.
|
716
|
-
# @return [
|
716
|
+
# @return [Wx::AUI::AuiMDIChildFrame::EventType]
|
717
717
|
def get_event_type; end
|
718
718
|
alias_method :event_type, :get_event_type
|
719
719
|
|
@@ -759,7 +759,7 @@ module Wx
|
|
759
759
|
alias_method :event_object=, :set_event_object
|
760
760
|
|
761
761
|
# Sets the event type.
|
762
|
-
# @param type [
|
762
|
+
# @param type [Wx::AUI::AuiMDIChildFrame::EventType]
|
763
763
|
# @return [void]
|
764
764
|
def set_event_type(type) end
|
765
765
|
alias_method :event_type=, :set_event_type
|
@@ -801,36 +801,67 @@ module Wx
|
|
801
801
|
#
|
802
802
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::CommandEvent} events.
|
803
803
|
# Event handler methods:
|
804
|
+
#
|
804
805
|
# - {Wx::EvtHandler#evt_command}(id, event, meth = nil, &block): Process a command, supplying the window identifier, command event identifier, and member function.
|
806
|
+
#
|
805
807
|
# - {Wx::EvtHandler#evt_command_range}(id1, id2, event, meth = nil, &block): Process a command for a range of window identifiers, supplying the minimum and maximum window identifiers, command event identifier, and member function.
|
808
|
+
#
|
806
809
|
# - {Wx::EvtHandler#evt_button}(id, meth = nil, &block): Process a {Wx::EVT_BUTTON} command, which is generated by a {Wx::Button} control.
|
810
|
+
#
|
807
811
|
# - {Wx::EvtHandler#evt_checkbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKBOX} command, which is generated by a {Wx::CheckBox} control.
|
812
|
+
#
|
808
813
|
# - {Wx::EvtHandler#evt_choice}(id, meth = nil, &block): Process a {Wx::EVT_CHOICE} command, which is generated by a {Wx::Choice} control.
|
814
|
+
#
|
809
815
|
# - {Wx::EvtHandler#evt_combobox}(id, meth = nil, &block): Process a {Wx::EVT_COMBOBOX} command, which is generated by a {Wx::ComboBox} control.
|
816
|
+
#
|
810
817
|
# - {Wx::EvtHandler#evt_listbox}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX} command, which is generated by a {Wx::ListBox} control.
|
818
|
+
#
|
811
819
|
# - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} command, which is generated by a {Wx::ListBox} control.
|
820
|
+
#
|
812
821
|
# - {Wx::EvtHandler#evt_checklistbox}(id, meth = nil, &block): Process a {Wx::EVT_CHECKLISTBOX} command, which is generated by a {Wx::CheckListBox} control.
|
822
|
+
#
|
813
823
|
# - {Wx::EvtHandler#evt_menu}(id, meth = nil, &block): Process a {Wx::EVT_MENU} command, which is generated by a menu item.
|
824
|
+
#
|
814
825
|
# - {Wx::EvtHandler#evt_menu_range}(id1, id2, meth = nil, &block): Process a {Wx::EVT_MENU} command, which is generated by a range of menu items.
|
826
|
+
#
|
815
827
|
# - {Wx::EvtHandler#evt_context_menu}(meth = nil, &block): Process the event generated when the user has requested a popup menu to appear by pressing a special keyboard key (under Windows) or by right clicking the mouse.
|
828
|
+
#
|
816
829
|
# - {Wx::EvtHandler#evt_radiobox}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBOX} command, which is generated by a {Wx::RadioBox} control.
|
830
|
+
#
|
817
831
|
# - {Wx::EvtHandler#evt_radiobutton}(id, meth = nil, &block): Process a {Wx::EVT_RADIOBUTTON} command, which is generated by a {Wx::RadioButton} control.
|
832
|
+
#
|
818
833
|
# - {Wx::EvtHandler#evt_scrollbar}(id, meth = nil, &block): Process a {Wx::EVT_SCROLLBAR} command, which is generated by a {Wx::ScrollBar} control. This is provided for compatibility only; more specific scrollbar event macros should be used instead (see {Wx::ScrollEvent}).
|
834
|
+
#
|
819
835
|
# - {Wx::EvtHandler#evt_slider}(id, meth = nil, &block): Process a {Wx::EVT_SLIDER} command, which is generated by a {Wx::Slider} control.
|
836
|
+
#
|
820
837
|
# - {Wx::EvtHandler#evt_text}(id, meth = nil, &block): Process a {Wx::EVT_TEXT} command, which is generated by a {Wx::TextCtrl} control.
|
838
|
+
#
|
821
839
|
# - {Wx::EvtHandler#evt_text_enter}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_ENTER} command, which is generated by a {Wx::TextCtrl} control. Note that you must use {Wx::TE_PROCESS_ENTER} flag when creating the control if you want it to generate such events.
|
840
|
+
#
|
822
841
|
# - {Wx::EvtHandler#evt_text_maxlen}(id, meth = nil, &block): Process a {Wx::EVT_TEXT_MAXLEN} command, which is generated by a {Wx::TextCtrl} control when the user tries to enter more characters into it than the limit previously set with SetMaxLength().
|
842
|
+
#
|
823
843
|
# - {Wx::EvtHandler#evt_togglebutton}(id, meth = nil, &block): Process a {Wx::EVT_TOGGLEBUTTON} event.
|
844
|
+
#
|
824
845
|
# - {Wx::EvtHandler#evt_tool}(id, meth = nil, &block): Process a {Wx::EVT_TOOL} event (a synonym for {Wx::EVT_MENU}). Pass the id of the tool.
|
846
|
+
#
|
825
847
|
# - {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.
|
826
|
-
#
|
827
|
-
# - {Wx::EvtHandler#
|
828
|
-
#
|
829
|
-
# - {Wx::EvtHandler#
|
830
|
-
#
|
831
|
-
# - {Wx::EvtHandler#
|
832
|
-
#
|
833
|
-
# - {Wx::EvtHandler#
|
848
|
+
#
|
849
|
+
# - {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.)
|
850
|
+
#
|
851
|
+
# - {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.)
|
852
|
+
#
|
853
|
+
# - {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.)
|
854
|
+
#
|
855
|
+
# - {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).
|
856
|
+
#
|
857
|
+
# - {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).
|
858
|
+
#
|
859
|
+
# - {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).
|
860
|
+
#
|
861
|
+
# - {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).
|
862
|
+
#
|
863
|
+
# - {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).
|
864
|
+
#
|
834
865
|
# - {Wx::EvtHandler#evt_command_enter}(id, meth = nil, &block): Process a {Wx::EVT_COMMAND_ENTER} command, which is generated by a control.
|
835
866
|
#
|
836
867
|
# ===
|
@@ -840,9 +871,9 @@ module Wx
|
|
840
871
|
class CommandEvent < Event
|
841
872
|
|
842
873
|
# Constructor.
|
843
|
-
# @param commandEventType [
|
874
|
+
# @param commandEventType [Wx::AUI::AuiMDIChildFrame::EventType]
|
844
875
|
# @param id [Integer]
|
845
|
-
# @return [CommandEvent]
|
876
|
+
# @return [Wx::CommandEvent]
|
846
877
|
def initialize(commandEventType=Wx::EVT_NULL, id=0) end
|
847
878
|
|
848
879
|
# Returns client data pointer for a listbox or choice selection event (not valid for a deselection).
|
@@ -9,22 +9,24 @@ module Wx
|
|
9
9
|
# This class is a special event handler which allows discarding any event (or a set of event types) directed to a specific window.
|
10
10
|
# Example:
|
11
11
|
#
|
12
|
-
# ```
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
12
|
+
# ```ruby
|
13
|
+
# class MyWindow
|
14
|
+
#
|
15
|
+
# ...
|
16
|
+
#
|
17
|
+
# def do_something
|
18
|
+
# # block all events directed to this window
|
19
|
+
# Wx::EventBlocker.blocked_for(self) do
|
20
|
+
# # while we do 1000 function_that_sends_events calls
|
21
|
+
# 1000.times { |i| function_that_sends_events(i) }
|
22
|
+
# end
|
23
|
+
# # old event handler restored; generated event(s) from next call will be processed
|
24
|
+
# function_that_sends_events(0)
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# ...
|
28
|
+
#
|
29
|
+
# end
|
28
30
|
# ```
|
29
31
|
#
|
30
32
|
# ===
|
@@ -39,7 +41,7 @@ module Wx
|
|
39
41
|
class EventBlocker < EvtHandler
|
40
42
|
|
41
43
|
# Adds to the list of event types which should be blocked the given eventType.
|
42
|
-
# @param eventType [
|
44
|
+
# @param eventType [Wx::AUI::AuiMDIChildFrame::EventType]
|
43
45
|
# @return [void]
|
44
46
|
def block(eventType) end
|
45
47
|
|
@@ -9,51 +9,44 @@ module Wx
|
|
9
9
|
# A global event filter for pre-processing all the events generated in the program.
|
10
10
|
# This is a very simple class which just provides {Wx::EventFilter#filter_event} virtual method to be called by {Wx::EvtHandler} before starting process of any event. Thus, inheriting from this class and overriding {Wx::EventFilter#filter_event} allows capturing and possibly handling or ignoring all the events happening in the program. Of course, having event filters adds additional overhead to every event processing and so should not be used lightly and your {Wx::EventFilter#filter_event} code should try to return as quickly as possible, especially for the events it is not interested in.
|
11
11
|
# An example of using this class:
|
12
|
-
# ```
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# {
|
51
|
-
# return wxDateTime::Now() - diff > m_last;
|
52
|
-
# }
|
53
|
-
#
|
54
|
-
# private:
|
55
|
-
# wxDateTime m_last;
|
56
|
-
# };
|
12
|
+
# ```ruby
|
13
|
+
# # This class allows determining the last time the user has worked with
|
14
|
+
# # this application:
|
15
|
+
# class LastActivityTimeDetector < Wx::EventFilter
|
16
|
+
# def initialize
|
17
|
+
# Wx::EvtHandler.add_filter(self)
|
18
|
+
#
|
19
|
+
# @last = Time.now
|
20
|
+
# end
|
21
|
+
#
|
22
|
+
# def clear
|
23
|
+
# Wx::EvtHandler.remove_filter(self)
|
24
|
+
# end
|
25
|
+
#
|
26
|
+
# def filter_event(event)
|
27
|
+
# # Update the last user activity
|
28
|
+
# t = event.get_event_type
|
29
|
+
# case t
|
30
|
+
# when Wx::EVT_KEY_DOWN,
|
31
|
+
# Wx::EVT_MOTION,
|
32
|
+
# Wx::EVT_LEFT_DOWN,
|
33
|
+
# Wx::EVT_RIGHT_DOWN,
|
34
|
+
# Wx::EVT_MIDDLE_DOWN
|
35
|
+
# @last = Time.now
|
36
|
+
# end
|
37
|
+
#
|
38
|
+
# # Continue processing the event normally as well.
|
39
|
+
# Event_Skip
|
40
|
+
# end
|
41
|
+
#
|
42
|
+
# # This function could be called periodically from some timer to
|
43
|
+
# # do something (e.g. hide sensitive data or log out from remote
|
44
|
+
# # server) if the user has been inactive for some time period.
|
45
|
+
# def is_inactive_for?(diff)
|
46
|
+
# (Time.now - diff) > @last
|
47
|
+
# end
|
48
|
+
#
|
49
|
+
# end
|
57
50
|
# ```
|
58
51
|
#
|
59
52
|
# Notice that {Wx::App} derives from {Wx::EventFilter} and is registered as an event filter during its creation so you may also override {Wx::EventFilter#filter_event} method in your {Wx::App}-derived class and, in fact, this is often the most convenient way to do it. However creating a new class deriving directly from {Wx::EventFilter} allows isolating the event filtering code in its own separate class and also having several independent filters, if necessary.
|
@@ -78,13 +71,16 @@ module Wx
|
|
78
71
|
# Default constructor.
|
79
72
|
# Constructor does not register this filter using {Wx::EvtHandler.add_filter}, it's your responsibility to do it when necessary.
|
80
73
|
# Notice that the objects of this class can't be copied.
|
81
|
-
# @return [EventFilter]
|
74
|
+
# @return [Wx::EventFilter]
|
82
75
|
def initialize; end
|
83
76
|
|
84
77
|
# Override this method to implement event pre-processing.
|
85
78
|
# This method allows filtering all the events processed by the program, so you should try to return quickly from it to avoid slowing down the program to a crawl.
|
86
79
|
# Although the return type of this method is int, this is only due to backwards compatibility concerns and the actual return value must be one of the Event_XXX constants defined above:
|
87
|
-
#
|
80
|
+
#
|
81
|
+
# - Event_Skip to continue processing the event normally (this should be used in most cases).
|
82
|
+
# - Event_Ignore to not process this event at all (this can be used to suppress some events).
|
83
|
+
# - Event_Processed to not process this event normally but indicate that it was already processed by the event filter and so no default processing should take place either (this should only be used if the filter really did process the event).
|
88
84
|
# @param event [Wx::Event]
|
89
85
|
# @return [Integer]
|
90
86
|
def filter_event(event) end
|
@@ -356,17 +356,17 @@ class Wx::EvtHandler
|
|
356
356
|
# @yieldparam [Wx::MoveEvent] event the event to handle
|
357
357
|
def evt_move(meth = nil, &block) end
|
358
358
|
|
359
|
-
# Process a {Wx::EVT_MOVE_START} event, which is generated when the user starts to move or size a window.
|
359
|
+
# Process a {Wx::EVT_MOVE_START} event, which is generated when the user starts to move or size a window. wxMSW only. See {Wx::MoveEvent}.
|
360
360
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
361
361
|
# @yieldparam [Wx::MoveEvent] event the event to handle
|
362
362
|
def evt_move_start(meth = nil, &block) end
|
363
363
|
|
364
|
-
# Process a {Wx::EVT_MOVING} event, which is generated while the user is moving the window.
|
364
|
+
# Process a {Wx::EVT_MOVING} event, which is generated while the user is moving the window. wxMSW only.
|
365
365
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
366
366
|
# @yieldparam [Wx::MoveEvent] event the event to handle
|
367
367
|
def evt_moving(meth = nil, &block) end
|
368
368
|
|
369
|
-
# Process a {Wx::EVT_MOVE_END} event, which is generated when the user stops moving or sizing a window.
|
369
|
+
# Process a {Wx::EVT_MOVE_END} event, which is generated when the user stops moving or sizing a window. wxMSW only. See {Wx::MoveEvent}.
|
370
370
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
371
371
|
# @yieldparam [Wx::MoveEvent] event the event to handle
|
372
372
|
def evt_move_end(meth = nil, &block) end
|
@@ -672,14 +672,14 @@ class Wx::EvtHandler
|
|
672
672
|
# @yieldparam [Wx::ColourPickerEvent] event the event to handle
|
673
673
|
def evt_colourpicker_changed(id, meth = nil, &block) end
|
674
674
|
|
675
|
-
# The user changed the currently selected colour in the dialog associated with the control. This event is sent immediately when the selection changes and you must also handle EVT_COLOUR_CANCELLED to revert to the previously selected colour if the selection ends up not being accepted. This event is new since wxWidgets 3.1.3 and currently is only implemented in
|
675
|
+
# The user changed the currently selected colour in the dialog associated with the control. This event is sent immediately when the selection changes and you must also handle EVT_COLOUR_CANCELLED to revert to the previously selected colour if the selection ends up not being accepted. This event is new since wxWidgets 3.1.3 and currently is only implemented in wxMSW.
|
676
676
|
# Processes a {Wx::EVT_COLOURPICKER_CURRENT_CHANGED} event.
|
677
677
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
678
678
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
679
679
|
# @yieldparam [Wx::ColourPickerEvent] event the event to handle
|
680
680
|
def evt_colourpicker_current_changed(id, meth = nil, &block) end
|
681
681
|
|
682
|
-
# The user cancelled the colour dialog associated with the control, i.e. closed it without accepting the selection. This event is new since wxWidgets 3.1.3 and currently is only implemented in
|
682
|
+
# The user cancelled the colour dialog associated with the control, i.e. closed it without accepting the selection. This event is new since wxWidgets 3.1.3 and currently is only implemented in wxMSW.
|
683
683
|
# Processes a {Wx::EVT_COLOURPICKER_DIALOG_CANCELLED} event.
|
684
684
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
685
685
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
@@ -1112,6 +1112,13 @@ class Wx::EvtHandler
|
|
1112
1112
|
# @yieldparam [Wx::MediaEvent] event the event to handle
|
1113
1113
|
def evt_media_pause(id, meth = nil, &block) end
|
1114
1114
|
|
1115
|
+
# User clicked on a hyperlink.
|
1116
|
+
# Processes a {Wx::EVT_HYPERLINK} event.
|
1117
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1118
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1119
|
+
# @yieldparam [Wx::HyperlinkEvent] event the event to handle
|
1120
|
+
def evt_hyperlink(id, meth = nil, &block) end
|
1121
|
+
|
1115
1122
|
# Process a {Wx::EVT_BUTTON} event, when the button is clicked.
|
1116
1123
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1117
1124
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
@@ -1142,7 +1149,7 @@ class Wx::EvtHandler
|
|
1142
1149
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1143
1150
|
def evt_listbox(id, meth = nil, &block) end
|
1144
1151
|
|
1145
|
-
# Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. On some platforms (notably
|
1152
|
+
# Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. On some platforms (notably wxGTK2) pressing the enter key is handled as an equivalent of a double-click.
|
1146
1153
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1147
1154
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1148
1155
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
@@ -1232,50 +1239,50 @@ class Wx::EvtHandler
|
|
1232
1239
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1233
1240
|
def evt_tool_range(id1, id2, meth = nil, &block) end
|
1234
1241
|
|
1235
|
-
# Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on
|
1242
|
+
# Process a {Wx::EVT_TOOL_RCLICKED} event. Pass the id of the tool. (Not available on wxOSX.)
|
1236
1243
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1237
1244
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1238
1245
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1239
1246
|
def evt_tool_rclicked(id, meth = nil, &block) end
|
1240
1247
|
|
1241
|
-
# Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on
|
1248
|
+
# Process a {Wx::EVT_TOOL_RCLICKED} event for a range of ids. Pass the ids of the tools. (Not available on wxOSX.)
|
1242
1249
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id1 first window/control id of range
|
1243
1250
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id2 last window/control id of range
|
1244
1251
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1245
1252
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1246
1253
|
def evt_tool_rclicked_range(id1, id2, meth = nil, &block) end
|
1247
1254
|
|
1248
|
-
# 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
|
1255
|
+
# 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.)
|
1249
1256
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1250
1257
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1251
1258
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1252
1259
|
def evt_tool_enter(id, meth = nil, &block) end
|
1253
1260
|
|
1254
|
-
# Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control (
|
1261
|
+
# Process a {Wx::EVT_COMMAND_LEFT_CLICK} command, which is generated by a control (wxMSW only).
|
1255
1262
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1256
1263
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1257
1264
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1258
1265
|
def evt_command_left_click(id, meth = nil, &block) end
|
1259
1266
|
|
1260
|
-
# Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control (
|
1267
|
+
# Process a {Wx::EVT_COMMAND_LEFT_DCLICK} command, which is generated by a control (wxMSW only).
|
1261
1268
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1262
1269
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1263
1270
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1264
1271
|
def evt_command_left_dclick(id, meth = nil, &block) end
|
1265
1272
|
|
1266
|
-
# Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control (
|
1273
|
+
# Process a {Wx::EVT_COMMAND_RIGHT_CLICK} command, which is generated by a control (wxMSW only).
|
1267
1274
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1268
1275
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1269
1276
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1270
1277
|
def evt_command_right_click(id, meth = nil, &block) end
|
1271
1278
|
|
1272
|
-
# Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control (
|
1279
|
+
# Process a {Wx::EVT_COMMAND_SET_FOCUS} command, which is generated by a control (wxMSW only).
|
1273
1280
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1274
1281
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1275
1282
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1276
1283
|
def evt_command_set_focus(id, meth = nil, &block) end
|
1277
1284
|
|
1278
|
-
# Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control (
|
1285
|
+
# Process a {Wx::EVT_COMMAND_KILL_FOCUS} command, which is generated by a control (wxMSW only).
|
1279
1286
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1280
1287
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1281
1288
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
@@ -1306,7 +1313,7 @@ class Wx::EvtHandler
|
|
1306
1313
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|
1307
1314
|
def evt_text_url(id, meth = nil, &block) end
|
1308
1315
|
|
1309
|
-
# Process a {Wx::EVT_COMBOBOX_DROPDOWN} event, which is generated when the list box part of the combo box is shown (drops down). Notice that this event is only supported by
|
1316
|
+
# Process a {Wx::EVT_COMBOBOX_DROPDOWN} event, which is generated when the list box part of the combo box is shown (drops down). Notice that this event is only supported by wxMSW, wxGTK with GTK+ 2.10 or later, and wxOSX/Cocoa.
|
1310
1317
|
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
1311
1318
|
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
1312
1319
|
# @yieldparam [Wx::CommandEvent] event the event to handle
|