wxruby3 0.9.1-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +4 -5
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +19 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +33 -16
- data/lib/wx/doc/gen/bitmap_button.rb +11 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +23 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +7 -7
- data/lib/wx/doc/gen/check_list_box.rb +5 -6
- data/lib/wx/doc/gen/choice.rb +16 -9
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +16 -13
- data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
- data/lib/wx/doc/gen/command_link_button.rb +4 -5
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +10 -8
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +15 -13
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +1 -2
- data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
- data/lib/wx/doc/gen/dialog.rb +33 -13
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +35 -19
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +162 -169
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +19 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
- data/lib/wx/doc/gen/file_dialog.rb +31 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +56 -15
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +11 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
- data/lib/wx/doc/gen/graphics_context.rb +58 -11
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +4 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +3 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
- data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +12 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +29 -17
- data/lib/wx/doc/gen/list_ctrl.rb +76 -29
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +28 -7
- data/lib/wx/doc/gen/media_ctrl.rb +26 -18
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +41 -19
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +11 -5
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +17 -9
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +17 -8
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +9 -10
- data/lib/wx/doc/gen/radio_button.rb +13 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
- data/lib/wx/doc/gen/rearrange_list.rb +3 -4
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
- data/lib/wx/doc/gen/sash_event.rb +9 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
- data/lib/wx/doc/gen/sash_window.rb +3 -4
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +19 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
- data/lib/wx/doc/gen/scrolled_control.rb +32 -10
- data/lib/wx/doc/gen/scrolled_window.rb +32 -10
- data/lib/wx/doc/gen/search_ctrl.rb +8 -9
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +27 -17
- data/lib/wx/doc/gen/spin_button.rb +15 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +76 -18
- data/lib/wx/doc/gen/static_bitmap.rb +10 -5
- data/lib/wx/doc/gen/static_box.rb +9 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +3 -4
- data/lib/wx/doc/gen/static_text.rb +5 -6
- data/lib/wx/doc/gen/status_bar.rb +19 -9
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +90 -25
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +5 -6
- data/lib/wx/doc/gen/tool_bar.rb +98 -25
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +69 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +6 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +195 -45
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +2 -2
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +16 -0
- data/tests/test_std_controls.rb +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +28 -3
@@ -4,214 +4,218 @@
|
|
4
4
|
# ----------------------------------------------------------------------------
|
5
5
|
|
6
6
|
|
7
|
-
|
7
|
+
module Wx
|
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
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
9
|
+
class EvtHandler
|
10
|
+
|
11
|
+
# @!group STC Event handler methods
|
12
|
+
|
13
|
+
# Process a {Wx::STC::EVT_STC_AUTOCOMP_CANCELLED} event.
|
14
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
15
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
16
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
17
|
+
def evt_stc_autocomp_cancelled(id, meth = nil, &block) end
|
18
|
+
|
19
|
+
# Process a {Wx::STC::EVT_STC_AUTOCOMP_CHAR_DELETED} event.
|
20
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
21
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
22
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
23
|
+
def evt_stc_autocomp_char_deleted(id, meth = nil, &block) end
|
24
|
+
|
25
|
+
# Process a {Wx::STC::EVT_STC_AUTOCOMP_COMPLETED} event.
|
26
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
27
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
28
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
29
|
+
def evt_stc_autocomp_completed(id, meth = nil, &block) end
|
30
|
+
|
31
|
+
# Process a {Wx::STC::EVT_STC_AUTOCOMP_SELECTION} event.
|
32
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
33
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
34
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
35
|
+
def evt_stc_autocomp_selection(id, meth = nil, &block) end
|
36
|
+
|
37
|
+
# Process a {Wx::STC::EVT_STC_AUTOCOMP_SELECTION_CHANGE} event.
|
38
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
39
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
40
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
41
|
+
def evt_stc_autocomp_selection_change(id, meth = nil, &block) end
|
42
|
+
|
43
|
+
# Process a {Wx::STC::EVT_STC_CALLTIP_CLICK} event.
|
44
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
45
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
46
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
47
|
+
def evt_stc_calltip_click(id, meth = nil, &block) end
|
48
|
+
|
49
|
+
# Process a {Wx::STC::EVT_STC_CHANGE} event.
|
50
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
51
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
52
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
53
|
+
def evt_stc_change(id, meth = nil, &block) end
|
54
|
+
|
55
|
+
# Process a {Wx::STC::EVT_STC_CHARADDED} event.
|
56
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
57
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
58
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
59
|
+
def evt_stc_charadded(id, meth = nil, &block) end
|
60
|
+
|
61
|
+
# Process a {Wx::STC::EVT_STC_CLIPBOARD_COPY} event.
|
62
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
63
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
64
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
65
|
+
def evt_stc_clipboard_copy(id, meth = nil, &block) end
|
66
|
+
|
67
|
+
# Process a {Wx::STC::EVT_STC_CLIPBOARD_PASTE} event.
|
68
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
69
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
70
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
71
|
+
def evt_stc_clipboard_paste(id, meth = nil, &block) end
|
72
|
+
|
73
|
+
# Process a {Wx::STC::EVT_STC_DO_DROP} event.
|
74
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
75
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
76
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
77
|
+
def evt_stc_do_drop(id, meth = nil, &block) end
|
78
|
+
|
79
|
+
# Process a {Wx::STC::EVT_STC_DOUBLECLICK} event.
|
80
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
81
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
82
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
83
|
+
def evt_stc_doubleclick(id, meth = nil, &block) end
|
84
|
+
|
85
|
+
# Process a {Wx::STC::EVT_STC_DRAG_OVER} event.
|
86
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
87
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
88
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
89
|
+
def evt_stc_drag_over(id, meth = nil, &block) end
|
90
|
+
|
91
|
+
# Process a {Wx::STC::EVT_STC_DWELLEND} event.
|
92
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
93
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
94
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
95
|
+
def evt_stc_dwellend(id, meth = nil, &block) end
|
96
|
+
|
97
|
+
# Process a {Wx::STC::EVT_STC_DWELLSTART} event.
|
98
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
99
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
100
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
101
|
+
def evt_stc_dwellstart(id, meth = nil, &block) end
|
102
|
+
|
103
|
+
# Process a {Wx::STC::EVT_STC_HOTSPOT_CLICK} event.
|
104
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
105
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
106
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
107
|
+
def evt_stc_hotspot_click(id, meth = nil, &block) end
|
108
|
+
|
109
|
+
# Process a {Wx::STC::EVT_STC_HOTSPOT_DCLICK} event.
|
110
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
111
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
112
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
113
|
+
def evt_stc_hotspot_dclick(id, meth = nil, &block) end
|
114
|
+
|
115
|
+
# Process a {Wx::STC::EVT_STC_HOTSPOT_RELEASE_CLICK} event.
|
116
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
117
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
118
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
119
|
+
def evt_stc_hotspot_release_click(id, meth = nil, &block) end
|
120
|
+
|
121
|
+
# Process a {Wx::STC::EVT_STC_INDICATOR_CLICK} event.
|
122
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
123
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
124
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
125
|
+
def evt_stc_indicator_click(id, meth = nil, &block) end
|
126
|
+
|
127
|
+
# Process a {Wx::STC::EVT_STC_INDICATOR_RELEASE} event.
|
128
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
129
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
130
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
131
|
+
def evt_stc_indicator_release(id, meth = nil, &block) end
|
132
|
+
|
133
|
+
# Process a {Wx::STC::EVT_STC_MACRORECORD} event.
|
134
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
135
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
136
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
137
|
+
def evt_stc_macrorecord(id, meth = nil, &block) end
|
138
|
+
|
139
|
+
# Process a {Wx::STC::EVT_STC_MARGIN_RIGHT_CLICK} event.
|
140
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
141
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
142
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
143
|
+
def evt_stc_margin_right_click(id, meth = nil, &block) end
|
144
|
+
|
145
|
+
# Process a {Wx::STC::EVT_STC_MARGINCLICK} event.
|
146
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
147
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
148
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
149
|
+
def evt_stc_marginclick(id, meth = nil, &block) end
|
150
|
+
|
151
|
+
# Process a {Wx::STC::EVT_STC_MODIFIED} event.
|
152
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
153
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
154
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
155
|
+
def evt_stc_modified(id, meth = nil, &block) end
|
156
|
+
|
157
|
+
# Process a {Wx::STC::EVT_STC_NEEDSHOWN} event.
|
158
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
159
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
160
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
161
|
+
def evt_stc_needshown(id, meth = nil, &block) end
|
162
|
+
|
163
|
+
# Process a {Wx::STC::EVT_STC_PAINTED} event.
|
164
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
165
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
166
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
167
|
+
def evt_stc_painted(id, meth = nil, &block) end
|
168
|
+
|
169
|
+
# Process a {Wx::STC::EVT_STC_ROMODIFYATTEMPT} event.
|
170
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
171
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
172
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
173
|
+
def evt_stc_romodifyattempt(id, meth = nil, &block) end
|
174
|
+
|
175
|
+
# Process a {Wx::STC::EVT_STC_SAVEPOINTLEFT} event.
|
176
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
177
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
178
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
179
|
+
def evt_stc_savepointleft(id, meth = nil, &block) end
|
180
|
+
|
181
|
+
# Process a {Wx::STC::EVT_STC_SAVEPOINTREACHED} event.
|
182
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
183
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
184
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
185
|
+
def evt_stc_savepointreached(id, meth = nil, &block) end
|
186
|
+
|
187
|
+
# Process a {Wx::STC::EVT_STC_START_DRAG} event.
|
188
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
189
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
190
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
191
|
+
def evt_stc_start_drag(id, meth = nil, &block) end
|
192
|
+
|
193
|
+
# Process a {Wx::STC::EVT_STC_STYLENEEDED} event.
|
194
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
195
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
196
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
197
|
+
def evt_stc_styleneeded(id, meth = nil, &block) end
|
198
|
+
|
199
|
+
# Process a {Wx::STC::EVT_STC_UPDATEUI} event.
|
200
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
201
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
202
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
203
|
+
def evt_stc_updateui(id, meth = nil, &block) end
|
204
|
+
|
205
|
+
# Process a {Wx::STC::EVT_STC_USERLISTSELECTION} event.
|
206
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
207
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
208
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
209
|
+
def evt_stc_userlistselection(id, meth = nil, &block) end
|
210
|
+
|
211
|
+
# Process a {Wx::STC::EVT_STC_ZOOM} event.
|
212
|
+
# @param [Integer,Wx::Enum,Wx::Window,Wx::MenuItem,Wx::ToolBarTool,Wx::Timer] id window/control id
|
213
|
+
# @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
|
214
|
+
# @yieldparam [Wx::STC::StyledTextEvent] event the event to handle
|
215
|
+
def evt_stc_zoom(id, meth = nil, &block) end
|
216
|
+
|
217
|
+
# @!endgroup
|
218
|
+
|
219
|
+
end
|
216
220
|
|
217
221
|
end
|
@@ -12,7 +12,7 @@ module Wx::STC
|
|
12
12
|
# {Wx::STC::StyledTextCtrl} is a 1 to 1 mapping of "raw" scintilla interface, whose documentation can be found in the Scintilla website (http://www.scintilla.org/).
|
13
13
|
# Please see {Wx::STC::StyledTextEvent} for the documentation of all event types you can use with {Wx::STC::StyledTextCtrl}.
|
14
14
|
#
|
15
|
-
#
|
15
|
+
# ## Index of the member groups
|
16
16
|
#
|
17
17
|
# Links for quick access to the various categories of {Wx::STC::StyledTextCtrl} functions:
|
18
18
|
#
|
@@ -65,12 +65,11 @@ module Wx::STC
|
|
65
65
|
# - Text entry methods
|
66
66
|
# - Text area methods
|
67
67
|
#
|
68
|
-
# ===
|
69
|
-
#
|
70
68
|
# Category: Scintilla Text Editor
|
71
69
|
# @see Wx::STC::StyledTextEvent
|
72
70
|
#
|
73
71
|
#
|
72
|
+
# @wxrb_require USE_STC
|
74
73
|
class StyledTextCtrl < Control
|
75
74
|
|
76
75
|
include Wx::TextEntry
|
@@ -209,7 +208,11 @@ module Wx::STC
|
|
209
208
|
# Find some text in the document.
|
210
209
|
# The position (starting from zero) in the document at which the text was found or {Wx::STC::STC_INVALID_POSITION} if the search fails.
|
211
210
|
#
|
212
|
-
#
|
211
|
+
# <div class="wxrb-remark">
|
212
|
+
# <b>Remark:</b>
|
213
|
+
# <p>A backwards search can be performed by setting minPos to be greater than maxPos.
|
214
|
+
# </p>
|
215
|
+
# </div>>
|
213
216
|
# @param minPos [Integer] The position (starting from zero) in the document at which to begin the search
|
214
217
|
# @param maxPos [Integer] The last position (starting from zero) in the document to which the search will be restricted.
|
215
218
|
# @param text [String] The text to search for.
|
@@ -2073,7 +2076,12 @@ module Wx::STC
|
|
2073
2076
|
alias_method :phases_draw=, :set_phases_draw
|
2074
2077
|
|
2075
2078
|
# Choose the quality level for text.
|
2076
|
-
# The input should be one of the wxSTC_EFF_QUALITY_* constants.
|
2079
|
+
# The input should be one of the wxSTC_EFF_QUALITY_* constants.
|
2080
|
+
# <div class="wxrb-remark">
|
2081
|
+
# <b>Remark:</b>
|
2082
|
+
# <p>This method only has any effect with the WXMSW port and when technology has been set to {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}.
|
2083
|
+
# </p>
|
2084
|
+
# </div>>
|
2077
2085
|
# @param fontQuality [Integer]
|
2078
2086
|
# @return [void]
|
2079
2087
|
def set_font_quality(fontQuality) end
|
@@ -2097,7 +2105,11 @@ module Wx::STC
|
|
2097
2105
|
alias_method :stc_focus, :get_stc_focus
|
2098
2106
|
|
2099
2107
|
# Set the technology used.
|
2100
|
-
#
|
2108
|
+
# <div class="wxrb-remark">
|
2109
|
+
# <b>Remark:</b>
|
2110
|
+
# <p>For the WXMSW port, the input can be either {Wx::STC::STC_TECHNOLOGY_DEFAULT} or {Wx::STC::STC_TECHNOLOGY_DIRECTWRITE}. With other ports, this method has no effect.
|
2111
|
+
# </p>
|
2112
|
+
# </div>>
|
2101
2113
|
# @param technology [Integer]
|
2102
2114
|
# @return [void]
|
2103
2115
|
def set_technology(technology) end
|
@@ -3131,7 +3143,12 @@ module Wx::STC
|
|
3131
3143
|
def cmd_key_clear_all; end
|
3132
3144
|
|
3133
3145
|
# Set whether a pop up menu is displayed automatically when the user presses the wrong mouse button on certain areas.
|
3134
|
-
# The input should be one of the wxSTC_POPUP_* constants.
|
3146
|
+
# The input should be one of the wxSTC_POPUP_* constants.
|
3147
|
+
# <div class="wxrb-remark">
|
3148
|
+
# <b>Remark:</b>
|
3149
|
+
# <p>When {Wx::ContextMenuEvent} is used to create a custom popup menu, this function should be called with {Wx::STC::STC_POPUP_NEVER}. Otherwise the default menu will be shown instead of the custom one.
|
3150
|
+
# </p>
|
3151
|
+
# </div>>
|
3135
3152
|
# @param popUpMode [Integer]
|
3136
3153
|
# @return [void]
|
3137
3154
|
def use_pop_up(popUpMode) end
|
@@ -3693,7 +3710,7 @@ module Wx::STC
|
|
3693
3710
|
alias_method :current_line, :get_current_line
|
3694
3711
|
|
3695
3712
|
# Extract style settings from a spec-string which is composed of one or more of the following comma separated elements:
|
3696
|
-
# bold turns on bold italic turns on italics fore:[name or
|
3713
|
+
# bold turns on bold italic turns on italics fore:[name or \#RRGGBB] sets the foreground colour back:[name or \#RRGGBB] sets the background colour face:[facename] sets the font face name to use size:[num] sets the font size in points eol turns on eol filling underline turns on underlining
|
3697
3714
|
# @param styleNum [Integer]
|
3698
3715
|
# @param spec [String]
|
3699
3716
|
# @return [void]
|
@@ -3814,7 +3831,7 @@ module Wx::STC
|
|
3814
3831
|
def do_drop_text(x, y, data) end
|
3815
3832
|
|
3816
3833
|
# Specify whether anti-aliased fonts should be used.
|
3817
|
-
# This will have no effect on some platforms, but on some (
|
3834
|
+
# This will have no effect on some platforms, but on some (WXOSX for example) can greatly improve performance.
|
3818
3835
|
# @param useAA [Boolean]
|
3819
3836
|
# @return [void]
|
3820
3837
|
def set_use_anti_aliasing(useAA) end
|
@@ -3837,7 +3854,11 @@ module Wx::STC
|
|
3837
3854
|
def marker_define_bitmap(markerNumber, bmp) end
|
3838
3855
|
|
3839
3856
|
# Writes the text into the text control at the current insertion position.
|
3840
|
-
#
|
3857
|
+
# <div class="wxrb-remark">
|
3858
|
+
# <b>Remark:</b>
|
3859
|
+
# <p>Newlines in the text string are the only control characters allowed, and they will cause appropriate line breaks. See operator<<() and {Wx::STC::StyledTextCtrl#append_text} for more convenient ways of writing to the window. After the write operation, the insertion point will be at the end of the inserted text, so subsequent write operations will be appended. To append text after the user may have interacted with the control, call {Wx::TextCtrl#set_insertion_point_end} before writing.
|
3860
|
+
# </p>
|
3861
|
+
# </div>>
|
3841
3862
|
# @param text [String] Text to write to the text control.
|
3842
3863
|
# @return [void]
|
3843
3864
|
def write_text(text) end
|
@@ -3934,8 +3955,13 @@ module Wx::STC
|
|
3934
3955
|
alias_method :line_text, :get_line_text
|
3935
3956
|
|
3936
3957
|
# Returns the number of lines in the text control buffer.
|
3937
|
-
# The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for
|
3938
|
-
#
|
3958
|
+
# The returned number is the number of logical lines, i.e. just the count of the number of newline characters in the control + 1, for WXGTK and WXOSX/Cocoa ports while it is the number of physical lines, i.e. the count of lines actually shown in the control, in WXMSW. Because of this discrepancy, it is not recommended to use this function.
|
3959
|
+
#
|
3960
|
+
# <div class="wxrb-remark">
|
3961
|
+
# <b>Remark:</b>
|
3962
|
+
# <p>Note that even empty text controls have one line (where the insertion point is), so {Wx::STC::StyledTextCtrl#get_number_of_lines} never returns 0.
|
3963
|
+
# </p>
|
3964
|
+
# </div>>
|
3939
3965
|
# @return [Integer]
|
3940
3966
|
def get_number_of_lines; end
|
3941
3967
|
alias_method :number_of_lines, :get_number_of_lines
|
@@ -3998,7 +4024,7 @@ module Wx::STC
|
|
3998
4024
|
|
3999
4025
|
# Finds the row and column of the character at the specified point.
|
4000
4026
|
# If the return code is not {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} the row and column of the character closest to this position are returned, otherwise the output parameters are not modified.
|
4001
|
-
# Please note that this function is currently only implemented in {Wx::Univ},
|
4027
|
+
# Please note that this function is currently only implemented in {Wx::Univ}, WXMSW and WXGTK2 ports and always returns {Wx::TextCtrlHitTestResult::TE_HT_UNKNOWN} in the other ports.
|
4002
4028
|
# @see Wx::STC::StyledTextCtrl#position_to_xy
|
4003
4029
|
# @see Wx::STC::StyledTextCtrl#xy_to_position
|
4004
4030
|
# @param pt [Array(Integer, Integer), Wx::Point] The position of the point to check, in window device coordinates.
|