wxruby3 0.9.5-x64-mingw-ucrt → 0.9.7-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/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +31 -20
- 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/ext.rb +22 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -348
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -38
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- 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 +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -1
- data/lib/wx/doc/gen/colour_dialog.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +1 -1
- data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -1
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +1 -1
- 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_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +1 -1
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- 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 +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -1
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2722 -2718
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -1
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -1
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -1
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -1
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1925
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -382
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -17
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -84
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -282
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -43
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -1
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -1
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -1
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +1 -1
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4198
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -1
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -1
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -1
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- 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 +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- metadata +23 -4
@@ -6,86 +6,90 @@
|
|
6
6
|
|
7
7
|
module Wx::GRID
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
# ### Events using this class
|
12
|
-
#
|
13
|
-
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridEditorCreatedEvent} events.
|
14
|
-
# Event handler methods:
|
15
|
-
#
|
16
|
-
# - {Wx::EvtHandler#evt_grid_editor_created}(meth = nil, &block): The editor for a cell was created. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type.
|
17
|
-
#
|
18
|
-
# - {Wx::EvtHandler#evt_grid_cmd_editor_created}(id, meth = nil, &block): The editor for a cell was created; variant taking a window identifier. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type.
|
19
|
-
#
|
20
|
-
# Category: Grid Related Classes, {Wx::Events}
|
21
|
-
#
|
22
|
-
# @wxrb_require USE_GRID
|
23
|
-
class GridEditorCreatedEvent < CommandEvent
|
24
|
-
|
25
|
-
# @overload initialize()
|
26
|
-
# Default constructor.
|
27
|
-
# @return [Wx::GRID::GridEditorCreatedEvent]
|
28
|
-
# @overload initialize(id, type, obj, row, col, ctrl)
|
29
|
-
# Constructor for initializing all event attributes.
|
30
|
-
# @param id [Integer]
|
31
|
-
# @param type [Wx::Notebook::EventType]
|
32
|
-
# @param obj [Wx::Object]
|
33
|
-
# @param row [Integer]
|
34
|
-
# @param col [Integer]
|
35
|
-
# @param ctrl [Wx::Control]
|
36
|
-
# @return [Wx::GRID::GridEditorCreatedEvent]
|
37
|
-
def initialize(*args) end
|
38
|
-
|
39
|
-
# Returns the column at which the event occurred.
|
40
|
-
# @return [Integer]
|
41
|
-
def get_col; end
|
42
|
-
alias_method :col, :get_col
|
43
|
-
|
44
|
-
# Returns the edit control.
|
9
|
+
module Wx::GRID
|
10
|
+
|
45
11
|
#
|
46
|
-
# This function is preserved for compatibility, but {Wx::GRID::GridEditorCreatedEvent#get_window} should be preferred in the new code as the associated window doesn't need to be of a {Wx::Control}-derived class.
|
47
|
-
# Note that if {Wx::GRID::GridEditorCreatedEvent#set_window} had been called with an object not deriving from {Wx::Control}, this method will return NULL.
|
48
|
-
# @return [Wx::Control]
|
49
|
-
def get_control; end
|
50
|
-
alias_method :control, :get_control
|
51
|
-
|
52
|
-
# Returns the row at which the event occurred.
|
53
|
-
# @return [Integer]
|
54
|
-
def get_row; end
|
55
|
-
alias_method :row, :get_row
|
56
|
-
|
57
|
-
# Returns the edit window.
|
58
|
-
# @return [Wx::Window]
|
59
|
-
def get_window; end
|
60
|
-
alias_method :window, :get_window
|
61
|
-
|
62
|
-
# Sets the column at which the event occurred.
|
63
|
-
# @param col [Integer]
|
64
|
-
# @return [void]
|
65
|
-
def set_col(col) end
|
66
|
-
alias_method :col=, :set_col
|
67
|
-
|
68
|
-
# Sets the edit control.
|
69
12
|
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
|
80
|
-
|
13
|
+
# ### Events using this class
|
14
|
+
#
|
15
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridEditorCreatedEvent} events.
|
16
|
+
# Event handler methods:
|
17
|
+
#
|
18
|
+
# - {Wx::EvtHandler#evt_grid_editor_created}(meth = nil, &block): The editor for a cell was created. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type.
|
19
|
+
#
|
20
|
+
# - {Wx::EvtHandler#evt_grid_cmd_editor_created}(id, meth = nil, &block): The editor for a cell was created; variant taking a window identifier. Processes a {Wx::GRID::EVT_GRID_EDITOR_CREATED} event type.
|
21
|
+
#
|
22
|
+
# Category: Grid Related Classes, {Wx::Events}
|
23
|
+
#
|
24
|
+
# @wxrb_require USE_GRID
|
25
|
+
class GridEditorCreatedEvent < CommandEvent
|
81
26
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
27
|
+
# @overload initialize()
|
28
|
+
# Default constructor.
|
29
|
+
# @return [Wx::GRID::GridEditorCreatedEvent]
|
30
|
+
# @overload initialize(id, type, obj, row, col, ctrl)
|
31
|
+
# Constructor for initializing all event attributes.
|
32
|
+
# @param id [Integer]
|
33
|
+
# @param type [Wx::Notebook::EventType]
|
34
|
+
# @param obj [Wx::Object]
|
35
|
+
# @param row [Integer]
|
36
|
+
# @param col [Integer]
|
37
|
+
# @param ctrl [Wx::Control]
|
38
|
+
# @return [Wx::GRID::GridEditorCreatedEvent]
|
39
|
+
def initialize(*args) end
|
40
|
+
|
41
|
+
# Returns the column at which the event occurred.
|
42
|
+
# @return [Integer]
|
43
|
+
def get_col; end
|
44
|
+
alias_method :col, :get_col
|
45
|
+
|
46
|
+
# Returns the edit control.
|
47
|
+
#
|
48
|
+
# This function is preserved for compatibility, but {Wx::GRID::GridEditorCreatedEvent#get_window} should be preferred in the new code as the associated window doesn't need to be of a {Wx::Control}-derived class.
|
49
|
+
# Note that if {Wx::GRID::GridEditorCreatedEvent#set_window} had been called with an object not deriving from {Wx::Control}, this method will return NULL.
|
50
|
+
# @return [Wx::Control]
|
51
|
+
def get_control; end
|
52
|
+
alias_method :control, :get_control
|
53
|
+
|
54
|
+
# Returns the row at which the event occurred.
|
55
|
+
# @return [Integer]
|
56
|
+
def get_row; end
|
57
|
+
alias_method :row, :get_row
|
58
|
+
|
59
|
+
# Returns the edit window.
|
60
|
+
# @return [Wx::Window]
|
61
|
+
def get_window; end
|
62
|
+
alias_method :window, :get_window
|
63
|
+
|
64
|
+
# Sets the column at which the event occurred.
|
65
|
+
# @param col [Integer]
|
66
|
+
# @return [void]
|
67
|
+
def set_col(col) end
|
68
|
+
alias_method :col=, :set_col
|
69
|
+
|
70
|
+
# Sets the edit control.
|
71
|
+
#
|
72
|
+
# This function is preserved for compatibility, but {Wx::GRID::GridEditorCreatedEvent#set_window} should be preferred in the new code, see {Wx::GRID::GridEditorCreatedEvent#get_control}.
|
73
|
+
# @param ctrl [Wx::Control]
|
74
|
+
# @return [void]
|
75
|
+
def set_control(ctrl) end
|
76
|
+
alias_method :control=, :set_control
|
77
|
+
|
78
|
+
# Sets the row at which the event occurred.
|
79
|
+
# @param row [Integer]
|
80
|
+
# @return [void]
|
81
|
+
def set_row(row) end
|
82
|
+
alias_method :row=, :set_row
|
83
|
+
|
84
|
+
# Sets the edit window.
|
85
|
+
# @param window [Wx::Window]
|
86
|
+
# @return [void]
|
87
|
+
def set_window(window) end
|
88
|
+
alias_method :window=, :set_window
|
89
|
+
|
90
|
+
end # GridEditorCreatedEvent
|
87
91
|
|
88
|
-
end # GridEditorCreatedEvent
|
89
|
-
|
90
92
|
|
91
|
-
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
@@ -6,110 +6,114 @@
|
|
6
6
|
|
7
7
|
module Wx::GRID
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
# ### Events using this class
|
13
|
-
#
|
14
|
-
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridEvent} events.
|
15
|
-
# Event handler methods:
|
16
|
-
#
|
17
|
-
# - {Wx::EvtHandler#evt_grid_cell_changing}(meth = nil, &block): The user is about to change the data in a cell. The new cell value as string is available from {Wx::GRID::GridEvent#get_string} event object method. This event can be vetoed if the change is not allowed. Processes a {Wx::GRID::EVT_GRID_CELL_CHANGING} event type.
|
18
|
-
#
|
19
|
-
# - {Wx::EvtHandler#evt_grid_cell_changed}(meth = nil, &block): The user changed the data in a cell. The old cell value as string is available from {Wx::GRID::GridEvent#get_string} event object method. Notice that vetoing this event still works for backwards compatibility reasons but any new code should only veto EVT_GRID_CELL_CHANGING event and not this one. Processes a {Wx::GRID::EVT_GRID_CELL_CHANGED} event type.
|
20
|
-
#
|
21
|
-
# - {Wx::EvtHandler#evt_grid_cell_left_click}(meth = nil, &block): The user clicked a cell with the left mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_LEFT_CLICK} event type.
|
22
|
-
#
|
23
|
-
# - {Wx::EvtHandler#evt_grid_cell_left_dclick}(meth = nil, &block): The user double-clicked a cell with the left mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_LEFT_DCLICK} event type.
|
24
|
-
#
|
25
|
-
# - {Wx::EvtHandler#evt_grid_cell_right_click}(meth = nil, &block): The user clicked a cell with the right mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_RIGHT_CLICK} event type.
|
26
|
-
#
|
27
|
-
# - {Wx::EvtHandler#evt_grid_cell_right_dclick}(meth = nil, &block): The user double-clicked a cell with the right mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_RIGHT_DCLICK} event type.
|
28
|
-
#
|
29
|
-
# - {Wx::EvtHandler#evt_grid_editor_hidden}(meth = nil, &block): The editor for a cell was hidden. Processes a {Wx::GRID::EVT_GRID_EDITOR_HIDDEN} event type.
|
30
|
-
#
|
31
|
-
# - {Wx::EvtHandler#evt_grid_editor_shown}(meth = nil, &block): The editor for a cell was shown. Processes a {Wx::GRID::EVT_GRID_EDITOR_SHOWN} event type.
|
32
|
-
#
|
33
|
-
# - {Wx::EvtHandler#evt_grid_label_left_click}(meth = nil, &block): The user clicked a label with the left mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_LEFT_CLICK} event type.
|
34
|
-
#
|
35
|
-
# - {Wx::EvtHandler#evt_grid_label_left_dclick}(meth = nil, &block): The user double-clicked a label with the left mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_LEFT_DCLICK} event type.
|
36
|
-
#
|
37
|
-
# - {Wx::EvtHandler#evt_grid_label_right_click}(meth = nil, &block): The user clicked a label with the right mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_RIGHT_CLICK} event type.
|
38
|
-
#
|
39
|
-
# - {Wx::EvtHandler#evt_grid_label_right_dclick}(meth = nil, &block): The user double-clicked a label with the right mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_RIGHT_DCLICK} event type.
|
40
|
-
#
|
41
|
-
# - {Wx::EvtHandler#evt_grid_select_cell}(meth = nil, &block): The given cell is about to be made current, either by user or by the program via a call to {Wx::GRID::Grid#set_grid_cursor} or {Wx::GRID::Grid#go_to_cell}. The event can be vetoed to prevent this from happening and {Wx::GRID::Grid#get_grid_cursor_coords} still returns the previous current cell coordinates during the event handler execution, while the new ones are available via the event object {Wx::GRID::GridEvent#get_row} and {Wx::GRID::GridEvent#get_col} functions. Processes a {Wx::GRID::EVT_GRID_SELECT_CELL} event type.
|
42
|
-
#
|
43
|
-
# - {Wx::EvtHandler#evt_grid_row_move}(meth = nil, &block): The user tries to change the order of the rows in the grid by dragging the row specified by {Wx::GRID::GridEvent#get_row}. This event can be vetoed to either prevent the user from reordering the row change completely (but notice that if you don't want to allow it at all, you simply shouldn't call {Wx::GRID::Grid#enable_drag_row_move} in the first place), vetoed but handled in some way in the handler, e.g. by really moving the row to the new position at the associated table level, or allowed to proceed in which case {Wx::GRID::Grid#set_row_pos} is used to reorder the rows display order without affecting the use of the row indices otherwise. This event macro corresponds to {Wx::GRID::EVT_GRID_ROW_MOVE} event type. It is only available since wxWidgets 3.1.7.
|
44
|
-
#
|
45
|
-
# - {Wx::EvtHandler#evt_grid_col_move}(meth = nil, &block): The user tries to change the order of the columns in the grid by dragging the column specified by {Wx::GRID::GridEvent#get_col}. This event can be vetoed to either prevent the user from reordering the column change completely (but notice that if you don't want to allow it at all, you simply shouldn't call {Wx::GRID::Grid#enable_drag_col_move} in the first place), vetoed but handled in some way in the handler, e.g. by really moving the column to the new position at the associated table level, or allowed to proceed in which case {Wx::GRID::Grid#set_col_pos} is used to reorder the columns display order without affecting the use of the column indices otherwise. This event macro corresponds to {Wx::GRID::EVT_GRID_COL_MOVE} event type.
|
46
|
-
#
|
47
|
-
# - {Wx::EvtHandler#evt_grid_col_sort}(meth = nil, &block): This event is generated when a column is clicked by the user and its name is explained by the fact that the custom reaction to a click on a column is to sort the grid contents by this column. However the grid itself has no special support for sorting and it's up to the handler of this event to update the associated table. But if the event is handled (and not vetoed) the grid supposes that the table was indeed resorted and updates the column to indicate the new sort order and refreshes itself. This event macro corresponds to {Wx::GRID::EVT_GRID_COL_SORT} event type.
|
48
|
-
#
|
49
|
-
# - {Wx::EvtHandler#evt_grid_tabbing}(meth = nil, &block): This event is generated when the user presses TAB or Shift-TAB in the grid. It can be used to customize the simple default TAB handling logic, e.g. to go to the next non-empty cell instead of just the next cell. See also {Wx::GRID::Grid#set_tab_behaviour}. This event is new since wxWidgets 2.9.5.
|
50
|
-
#
|
51
|
-
# Category: Grid Related Classes, {Wx::Events}
|
52
|
-
#
|
53
|
-
# @wxrb_require USE_GRID
|
54
|
-
class GridEvent < NotifyEvent
|
55
|
-
|
56
|
-
# @overload initialize()
|
57
|
-
# Default constructor.
|
58
|
-
# @return [Wx::GRID::GridEvent]
|
59
|
-
# @overload initialize(id, type, obj, row=-1, col=-1, x=-1, y=-1, sel=true, kbd=(Wx::KeyboardState.new()))
|
60
|
-
# Constructor for initializing all event attributes.
|
61
|
-
# @param id [Integer]
|
62
|
-
# @param type [Wx::Notebook::EventType]
|
63
|
-
# @param obj [Wx::Object]
|
64
|
-
# @param row [Integer]
|
65
|
-
# @param col [Integer]
|
66
|
-
# @param x [Integer]
|
67
|
-
# @param y [Integer]
|
68
|
-
# @param sel [Boolean]
|
69
|
-
# @param kbd [Wx::KeyboardState]
|
70
|
-
# @return [Wx::GRID::GridEvent]
|
71
|
-
def initialize(*args) end
|
72
|
-
|
73
|
-
# Returns true if the Alt key was down at the time of the event.
|
74
|
-
# @return [Boolean]
|
75
|
-
def alt_down; end
|
76
|
-
|
77
|
-
# Returns true if the Control key was down at the time of the event.
|
78
|
-
# @return [Boolean]
|
79
|
-
def control_down; end
|
80
|
-
|
81
|
-
# Column at which the event occurred.
|
9
|
+
module Wx::GRID
|
10
|
+
|
11
|
+
# This event class contains information about various grid events.
|
82
12
|
#
|
83
|
-
# Notice that
|
84
|
-
#
|
85
|
-
def get_col; end
|
86
|
-
alias_method :col, :get_col
|
87
|
-
|
88
|
-
# Position in pixels at which the event occurred.
|
89
|
-
# @return [Wx::Point]
|
90
|
-
def get_position; end
|
91
|
-
alias_method :position, :get_position
|
92
|
-
|
93
|
-
# Row at which the event occurred.
|
13
|
+
# Notice that all grid event table macros are available in two versions: EVT_GRID_XXX and EVT_GRID_CMD_XXX. The only difference between the two is that the former doesn't allow to specify the grid window identifier and so takes a single parameter, the event handler, but is not suitable if there is more than one grid control in the window where the event table is used (as it would catch the events from all the grids). The version with CMD takes the id as first argument and the event handler as the second one and so can be used with multiple grids as well. Otherwise there are no difference between the two and only the versions without the id are documented below for brevity.
|
14
|
+
# ### Events using this class
|
94
15
|
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
#
|
101
|
-
#
|
102
|
-
|
103
|
-
|
104
|
-
#
|
105
|
-
#
|
106
|
-
|
16
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridEvent} events.
|
17
|
+
# Event handler methods:
|
18
|
+
#
|
19
|
+
# - {Wx::EvtHandler#evt_grid_cell_changing}(meth = nil, &block): The user is about to change the data in a cell. The new cell value as string is available from {Wx::GRID::GridEvent#get_string} event object method. This event can be vetoed if the change is not allowed. Processes a {Wx::GRID::EVT_GRID_CELL_CHANGING} event type.
|
20
|
+
#
|
21
|
+
# - {Wx::EvtHandler#evt_grid_cell_changed}(meth = nil, &block): The user changed the data in a cell. The old cell value as string is available from {Wx::GRID::GridEvent#get_string} event object method. Notice that vetoing this event still works for backwards compatibility reasons but any new code should only veto EVT_GRID_CELL_CHANGING event and not this one. Processes a {Wx::GRID::EVT_GRID_CELL_CHANGED} event type.
|
22
|
+
#
|
23
|
+
# - {Wx::EvtHandler#evt_grid_cell_left_click}(meth = nil, &block): The user clicked a cell with the left mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_LEFT_CLICK} event type.
|
24
|
+
#
|
25
|
+
# - {Wx::EvtHandler#evt_grid_cell_left_dclick}(meth = nil, &block): The user double-clicked a cell with the left mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_LEFT_DCLICK} event type.
|
26
|
+
#
|
27
|
+
# - {Wx::EvtHandler#evt_grid_cell_right_click}(meth = nil, &block): The user clicked a cell with the right mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_RIGHT_CLICK} event type.
|
28
|
+
#
|
29
|
+
# - {Wx::EvtHandler#evt_grid_cell_right_dclick}(meth = nil, &block): The user double-clicked a cell with the right mouse button. Processes a {Wx::GRID::EVT_GRID_CELL_RIGHT_DCLICK} event type.
|
30
|
+
#
|
31
|
+
# - {Wx::EvtHandler#evt_grid_editor_hidden}(meth = nil, &block): The editor for a cell was hidden. Processes a {Wx::GRID::EVT_GRID_EDITOR_HIDDEN} event type.
|
32
|
+
#
|
33
|
+
# - {Wx::EvtHandler#evt_grid_editor_shown}(meth = nil, &block): The editor for a cell was shown. Processes a {Wx::GRID::EVT_GRID_EDITOR_SHOWN} event type.
|
34
|
+
#
|
35
|
+
# - {Wx::EvtHandler#evt_grid_label_left_click}(meth = nil, &block): The user clicked a label with the left mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_LEFT_CLICK} event type.
|
36
|
+
#
|
37
|
+
# - {Wx::EvtHandler#evt_grid_label_left_dclick}(meth = nil, &block): The user double-clicked a label with the left mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_LEFT_DCLICK} event type.
|
38
|
+
#
|
39
|
+
# - {Wx::EvtHandler#evt_grid_label_right_click}(meth = nil, &block): The user clicked a label with the right mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_RIGHT_CLICK} event type.
|
40
|
+
#
|
41
|
+
# - {Wx::EvtHandler#evt_grid_label_right_dclick}(meth = nil, &block): The user double-clicked a label with the right mouse button. Processes a {Wx::GRID::EVT_GRID_LABEL_RIGHT_DCLICK} event type.
|
42
|
+
#
|
43
|
+
# - {Wx::EvtHandler#evt_grid_select_cell}(meth = nil, &block): The given cell is about to be made current, either by user or by the program via a call to {Wx::GRID::Grid#set_grid_cursor} or {Wx::GRID::Grid#go_to_cell}. The event can be vetoed to prevent this from happening and {Wx::GRID::Grid#get_grid_cursor_coords} still returns the previous current cell coordinates during the event handler execution, while the new ones are available via the event object {Wx::GRID::GridEvent#get_row} and {Wx::GRID::GridEvent#get_col} functions. Processes a {Wx::GRID::EVT_GRID_SELECT_CELL} event type.
|
44
|
+
#
|
45
|
+
# - {Wx::EvtHandler#evt_grid_row_move}(meth = nil, &block): The user tries to change the order of the rows in the grid by dragging the row specified by {Wx::GRID::GridEvent#get_row}. This event can be vetoed to either prevent the user from reordering the row change completely (but notice that if you don't want to allow it at all, you simply shouldn't call {Wx::GRID::Grid#enable_drag_row_move} in the first place), vetoed but handled in some way in the handler, e.g. by really moving the row to the new position at the associated table level, or allowed to proceed in which case {Wx::GRID::Grid#set_row_pos} is used to reorder the rows display order without affecting the use of the row indices otherwise. This event macro corresponds to {Wx::GRID::EVT_GRID_ROW_MOVE} event type. It is only available since wxWidgets 3.1.7.
|
46
|
+
#
|
47
|
+
# - {Wx::EvtHandler#evt_grid_col_move}(meth = nil, &block): The user tries to change the order of the columns in the grid by dragging the column specified by {Wx::GRID::GridEvent#get_col}. This event can be vetoed to either prevent the user from reordering the column change completely (but notice that if you don't want to allow it at all, you simply shouldn't call {Wx::GRID::Grid#enable_drag_col_move} in the first place), vetoed but handled in some way in the handler, e.g. by really moving the column to the new position at the associated table level, or allowed to proceed in which case {Wx::GRID::Grid#set_col_pos} is used to reorder the columns display order without affecting the use of the column indices otherwise. This event macro corresponds to {Wx::GRID::EVT_GRID_COL_MOVE} event type.
|
48
|
+
#
|
49
|
+
# - {Wx::EvtHandler#evt_grid_col_sort}(meth = nil, &block): This event is generated when a column is clicked by the user and its name is explained by the fact that the custom reaction to a click on a column is to sort the grid contents by this column. However the grid itself has no special support for sorting and it's up to the handler of this event to update the associated table. But if the event is handled (and not vetoed) the grid supposes that the table was indeed resorted and updates the column to indicate the new sort order and refreshes itself. This event macro corresponds to {Wx::GRID::EVT_GRID_COL_SORT} event type.
|
50
|
+
#
|
51
|
+
# - {Wx::EvtHandler#evt_grid_tabbing}(meth = nil, &block): This event is generated when the user presses TAB or Shift-TAB in the grid. It can be used to customize the simple default TAB handling logic, e.g. to go to the next non-empty cell instead of just the next cell. See also {Wx::GRID::Grid#set_tab_behaviour}. This event is new since wxWidgets 2.9.5.
|
52
|
+
#
|
53
|
+
# Category: Grid Related Classes, {Wx::Events}
|
54
|
+
#
|
55
|
+
# @wxrb_require USE_GRID
|
56
|
+
class GridEvent < NotifyEvent
|
107
57
|
|
108
|
-
|
109
|
-
|
110
|
-
|
58
|
+
# @overload initialize()
|
59
|
+
# Default constructor.
|
60
|
+
# @return [Wx::GRID::GridEvent]
|
61
|
+
# @overload initialize(id, type, obj, row=-1, col=-1, x=-1, y=-1, sel=true, kbd=(Wx::KeyboardState.new()))
|
62
|
+
# Constructor for initializing all event attributes.
|
63
|
+
# @param id [Integer]
|
64
|
+
# @param type [Wx::Notebook::EventType]
|
65
|
+
# @param obj [Wx::Object]
|
66
|
+
# @param row [Integer]
|
67
|
+
# @param col [Integer]
|
68
|
+
# @param x [Integer]
|
69
|
+
# @param y [Integer]
|
70
|
+
# @param sel [Boolean]
|
71
|
+
# @param kbd [Wx::KeyboardState]
|
72
|
+
# @return [Wx::GRID::GridEvent]
|
73
|
+
def initialize(*args) end
|
74
|
+
|
75
|
+
# Returns true if the Alt key was down at the time of the event.
|
76
|
+
# @return [Boolean]
|
77
|
+
def alt_down; end
|
78
|
+
|
79
|
+
# Returns true if the Control key was down at the time of the event.
|
80
|
+
# @return [Boolean]
|
81
|
+
def control_down; end
|
82
|
+
|
83
|
+
# Column at which the event occurred.
|
84
|
+
#
|
85
|
+
# Notice that for a {Wx::GRID::EVT_GRID_SELECT_CELL} event this column is the column of the newly selected cell while the previously selected cell can be retrieved using {Wx::GRID::Grid#get_grid_cursor_col}.
|
86
|
+
# @return [Integer]
|
87
|
+
def get_col; end
|
88
|
+
alias_method :col, :get_col
|
89
|
+
|
90
|
+
# Position in pixels at which the event occurred.
|
91
|
+
# @return [Wx::Point]
|
92
|
+
def get_position; end
|
93
|
+
alias_method :position, :get_position
|
94
|
+
|
95
|
+
# Row at which the event occurred.
|
96
|
+
#
|
97
|
+
# Notice that for a {Wx::GRID::EVT_GRID_SELECT_CELL} event this row is the row of the newly selected cell while the previously selected cell can be retrieved using {Wx::GRID::Grid#get_grid_cursor_row}.
|
98
|
+
# @return [Integer]
|
99
|
+
def get_row; end
|
100
|
+
alias_method :row, :get_row
|
101
|
+
|
102
|
+
# Returns true if the Meta key was down at the time of the event.
|
103
|
+
# @return [Boolean]
|
104
|
+
def meta_down; end
|
105
|
+
|
106
|
+
# Returns true if the user is selecting grid cells, or false if deselecting.
|
107
|
+
# @return [Boolean]
|
108
|
+
def selecting; end
|
109
|
+
|
110
|
+
# Returns true if the Shift key was down at the time of the event.
|
111
|
+
# @return [Boolean]
|
112
|
+
def shift_down; end
|
113
|
+
|
114
|
+
end # GridEvent
|
111
115
|
|
112
|
-
end # GridEvent
|
113
|
-
|
114
116
|
|
115
|
-
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
@@ -6,95 +6,99 @@
|
|
6
6
|
|
7
7
|
module Wx::GRID
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
# Default constructor.
|
34
|
-
# @return [Wx::GRID::GridRangeSelectEvent]
|
35
|
-
# @overload initialize(id, type, obj, topLeft, bottomRight, sel=true, kbd=(Wx::KeyboardState.new()))
|
36
|
-
# Constructor for initializing all event attributes.
|
37
|
-
# @param id [Integer]
|
38
|
-
# @param type [Wx::Notebook::EventType]
|
39
|
-
# @param obj [Wx::Object]
|
40
|
-
# @param topLeft [Array(Integer, Integer)]
|
41
|
-
# @param bottomRight [Array(Integer, Integer)]
|
42
|
-
# @param sel [Boolean]
|
43
|
-
# @param kbd [Wx::KeyboardState]
|
44
|
-
# @return [Wx::GRID::GridRangeSelectEvent]
|
45
|
-
def initialize(*args) end
|
46
|
-
|
47
|
-
# Returns true if the Alt key was down at the time of the event.
|
48
|
-
# @return [Boolean]
|
49
|
-
def alt_down; end
|
50
|
-
|
51
|
-
# Returns true if the Control key was down at the time of the event.
|
52
|
-
# @return [Boolean]
|
53
|
-
def control_down; end
|
54
|
-
|
55
|
-
# Top left corner of the rectangular area that was (de)selected.
|
56
|
-
# @return [Array(Integer, Integer)]
|
57
|
-
def get_bottom_right_coords; end
|
58
|
-
alias_method :bottom_right_coords, :get_bottom_right_coords
|
59
|
-
|
60
|
-
# Bottom row of the rectangular area that was (de)selected.
|
61
|
-
# @return [Integer]
|
62
|
-
def get_bottom_row; end
|
63
|
-
alias_method :bottom_row, :get_bottom_row
|
64
|
-
|
65
|
-
# Left column of the rectangular area that was (de)selected.
|
66
|
-
# @return [Integer]
|
67
|
-
def get_left_col; end
|
68
|
-
alias_method :left_col, :get_left_col
|
69
|
-
|
70
|
-
# Right column of the rectangular area that was (de)selected.
|
71
|
-
# @return [Integer]
|
72
|
-
def get_right_col; end
|
73
|
-
alias_method :right_col, :get_right_col
|
74
|
-
|
75
|
-
# Top left corner of the rectangular area that was (de)selected.
|
76
|
-
# @return [Array(Integer, Integer)]
|
77
|
-
def get_top_left_coords; end
|
78
|
-
alias_method :top_left_coords, :get_top_left_coords
|
79
|
-
|
80
|
-
# Top row of the rectangular area that was (de)selected.
|
81
|
-
# @return [Integer]
|
82
|
-
def get_top_row; end
|
83
|
-
alias_method :top_row, :get_top_row
|
84
|
-
|
85
|
-
# Returns true if the Meta key was down at the time of the event.
|
86
|
-
# @return [Boolean]
|
87
|
-
def meta_down; end
|
88
|
-
|
89
|
-
# Returns true if the area was selected, false otherwise.
|
90
|
-
# @return [Boolean]
|
91
|
-
def selecting; end
|
9
|
+
module Wx::GRID
|
10
|
+
|
11
|
+
# Events of this class notify about a range of cells being selected.
|
12
|
+
#
|
13
|
+
# When the user uses the mouse for selection, one or more SELECTING events are generated first, with SELECTED event generated at the end, when selection is final. This allows the application to handle either the SELECTING events if it needs to update its state in real-time, as the selection changes, or just the final SELECTED event, if updating its state on every selection change would be too time-consuming.
|
14
|
+
# Note that if the user performs the selection from keyboard, SELECTING events are not generated at all, so SELECTED event still must be handled.
|
15
|
+
# Finally, contrary to most of the other events with the name ending in "ing", SELECTING event can not be vetoed.
|
16
|
+
# ### Events using this class
|
17
|
+
#
|
18
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::GRID::GridRangeSelectEvent} events.
|
19
|
+
# Event handler methods:
|
20
|
+
#
|
21
|
+
# - {Wx::EvtHandler#evt_grid_range_selecting}(meth = nil, &block): The user is selecting a group of contiguous cells. Processes a {Wx::GRID::EVT_GRID_RANGE_SELECTING} event type. This event is available in wxWidgets 3.1.5 and later only.
|
22
|
+
#
|
23
|
+
# - {Wx::EvtHandler#evt_grid_cmd_range_selecting}(id, meth = nil, &block): The user is selecting a group of contiguous cells; variant taking a window identifier. Processes a {Wx::GRID::EVT_GRID_RANGE_SELECTING} event type. This event is available in wxWidgets 3.1.5 and later only.
|
24
|
+
#
|
25
|
+
# - {Wx::EvtHandler#evt_grid_range_selected}(meth = nil, &block): The user selected a group of contiguous cells. Processes a {Wx::GRID::EVT_GRID_RANGE_SELECTED} event type. This event is available in wxWidgets 3.1.5 and later only and was called {Wx::EVT_GRID_RANGE_SELECT} in the previous versions.
|
26
|
+
#
|
27
|
+
# - {Wx::EvtHandler#evt_grid_cmd_range_selected}(id, meth = nil, &block): The user selected a group of contiguous cells; variant taking a window identifier. Processes a {Wx::GRID::EVT_GRID_RANGE_SELECTED} event type. This event is available in wxWidgets 3.1.5 and later only and was called {Wx::EVT_GRID_CMD_RANGE_SELECT} in the previous versions.
|
28
|
+
#
|
29
|
+
# Category: Grid Related Classes, {Wx::Events}
|
30
|
+
#
|
31
|
+
# @wxrb_require USE_GRID
|
32
|
+
class GridRangeSelectEvent < NotifyEvent
|
92
33
|
|
93
|
-
|
94
|
-
|
95
|
-
|
34
|
+
# @overload initialize()
|
35
|
+
# Default constructor.
|
36
|
+
# @return [Wx::GRID::GridRangeSelectEvent]
|
37
|
+
# @overload initialize(id, type, obj, topLeft, bottomRight, sel=true, kbd=(Wx::KeyboardState.new()))
|
38
|
+
# Constructor for initializing all event attributes.
|
39
|
+
# @param id [Integer]
|
40
|
+
# @param type [Wx::Notebook::EventType]
|
41
|
+
# @param obj [Wx::Object]
|
42
|
+
# @param topLeft [Array(Integer, Integer)]
|
43
|
+
# @param bottomRight [Array(Integer, Integer)]
|
44
|
+
# @param sel [Boolean]
|
45
|
+
# @param kbd [Wx::KeyboardState]
|
46
|
+
# @return [Wx::GRID::GridRangeSelectEvent]
|
47
|
+
def initialize(*args) end
|
48
|
+
|
49
|
+
# Returns true if the Alt key was down at the time of the event.
|
50
|
+
# @return [Boolean]
|
51
|
+
def alt_down; end
|
52
|
+
|
53
|
+
# Returns true if the Control key was down at the time of the event.
|
54
|
+
# @return [Boolean]
|
55
|
+
def control_down; end
|
56
|
+
|
57
|
+
# Top left corner of the rectangular area that was (de)selected.
|
58
|
+
# @return [Array(Integer, Integer)]
|
59
|
+
def get_bottom_right_coords; end
|
60
|
+
alias_method :bottom_right_coords, :get_bottom_right_coords
|
61
|
+
|
62
|
+
# Bottom row of the rectangular area that was (de)selected.
|
63
|
+
# @return [Integer]
|
64
|
+
def get_bottom_row; end
|
65
|
+
alias_method :bottom_row, :get_bottom_row
|
66
|
+
|
67
|
+
# Left column of the rectangular area that was (de)selected.
|
68
|
+
# @return [Integer]
|
69
|
+
def get_left_col; end
|
70
|
+
alias_method :left_col, :get_left_col
|
71
|
+
|
72
|
+
# Right column of the rectangular area that was (de)selected.
|
73
|
+
# @return [Integer]
|
74
|
+
def get_right_col; end
|
75
|
+
alias_method :right_col, :get_right_col
|
76
|
+
|
77
|
+
# Top left corner of the rectangular area that was (de)selected.
|
78
|
+
# @return [Array(Integer, Integer)]
|
79
|
+
def get_top_left_coords; end
|
80
|
+
alias_method :top_left_coords, :get_top_left_coords
|
81
|
+
|
82
|
+
# Top row of the rectangular area that was (de)selected.
|
83
|
+
# @return [Integer]
|
84
|
+
def get_top_row; end
|
85
|
+
alias_method :top_row, :get_top_row
|
86
|
+
|
87
|
+
# Returns true if the Meta key was down at the time of the event.
|
88
|
+
# @return [Boolean]
|
89
|
+
def meta_down; end
|
90
|
+
|
91
|
+
# Returns true if the area was selected, false otherwise.
|
92
|
+
# @return [Boolean]
|
93
|
+
def selecting; end
|
94
|
+
|
95
|
+
# Returns true if the Shift key was down at the time of the event.
|
96
|
+
# @return [Boolean]
|
97
|
+
def shift_down; end
|
98
|
+
|
99
|
+
end # GridRangeSelectEvent
|
96
100
|
|
97
|
-
end # GridRangeSelectEvent
|
98
|
-
|
99
101
|
|
100
|
-
end
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|