wxruby3 0.9.0-x64-mingw-ucrt → 0.9.2-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/const.rb +83 -0
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/events/evt_list.rb +24 -0
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/const.rb +66 -66
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/event.rb +0 -6
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/functions.rb +9 -9
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +6 -7
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +20 -8
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +3 -2
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +3 -3
- data/lib/wx/doc/gen/bitmap.rb +34 -17
- data/lib/wx/doc/gen/bitmap_button.rb +13 -10
- data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +25 -13
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +9 -9
- data/lib/wx/doc/gen/check_list_box.rb +8 -9
- data/lib/wx/doc/gen/choice.rb +18 -11
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +8 -9
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +11 -12
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +20 -17
- data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
- data/lib/wx/doc/gen/command_link_button.rb +6 -7
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +12 -10
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +16 -14
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +54 -54
- data/lib/wx/doc/gen/dial_up_event.rb +41 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
- data/lib/wx/doc/gen/dialog.rb +35 -15
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +11 -12
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +4 -4
- data/lib/wx/doc/gen/event.rb +42 -20
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1624
- data/lib/wx/doc/gen/events.rb +170 -181
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +209 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
- data/lib/wx/doc/gen/file_dialog.rb +32 -15
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +10 -11
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +60 -19
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +13 -10
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +8 -9
- data/lib/wx/doc/gen/graphics_context.rb +59 -12
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +29 -7
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +7 -14
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +42 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +8 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +47 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +10 -12
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +13 -7
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +33 -21
- data/lib/wx/doc/gen/list_ctrl.rb +79 -32
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +32 -11
- data/lib/wx/doc/gen/media_ctrl.rb +28 -20
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +117 -95
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +13 -7
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +19 -11
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +19 -10
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +83 -22
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +15 -5
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +2 -2
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +13 -14
- data/lib/wx/doc/gen/radio_button.rb +15 -11
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +3 -4
- data/lib/wx/doc/gen/rearrange_list.rb +5 -6
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +12 -9
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
- data/lib/wx/doc/gen/sash_event.rb +12 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
- data/lib/wx/doc/gen/sash_window.rb +4 -5
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +21 -12
- data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
- data/lib/wx/doc/gen/scrolled_control.rb +34 -12
- data/lib/wx/doc/gen/scrolled_window.rb +34 -12
- data/lib/wx/doc/gen/search_ctrl.rb +10 -11
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +29 -19
- data/lib/wx/doc/gen/spin_button.rb +16 -11
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +78 -20
- data/lib/wx/doc/gen/static_bitmap.rb +12 -7
- data/lib/wx/doc/gen/static_box.rb +13 -11
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +5 -6
- data/lib/wx/doc/gen/static_text.rb +7 -8
- data/lib/wx/doc/gen/status_bar.rb +21 -11
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +92 -27
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +7 -8
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +7 -8
- data/lib/wx/doc/gen/tool_bar.rb +99 -26
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +71 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +8 -4
- data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +200 -50
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -42
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/keyword_defs.rb +43 -6
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +1 -1
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/text/richtext.rb +0 -30
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_app_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -0
- data/tests/test_book_controls.rb +29 -0
- data/tests/test_exceptions.rb +41 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +59 -0
- data/tests/test_std_controls.rb +78 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +38 -3
@@ -4,118 +4,122 @@
|
|
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
|
-
|
9
|
+
class EvtHandler
|
10
|
+
|
11
|
+
# @!group RTC Event handler methods
|
12
|
+
|
13
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_LEFT_CLICK} event, generated when the user releases the left mouse button over an object.
|
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::RTC::RichTextEvent] event the event to handle
|
17
|
+
def evt_richtext_left_click(id, meth = nil, &block) end
|
18
|
+
|
19
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_RIGHT_CLICK} event, generated when the user releases the right mouse button over an object.
|
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::RTC::RichTextEvent] event the event to handle
|
23
|
+
def evt_richtext_right_click(id, meth = nil, &block) end
|
24
|
+
|
25
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_MIDDLE_CLICK} event, generated when the user releases the middle mouse button over an object.
|
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::RTC::RichTextEvent] event the event to handle
|
29
|
+
def evt_richtext_middle_click(id, meth = nil, &block) end
|
30
|
+
|
31
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_LEFT_DCLICK} event, generated when the user double-clicks an object.
|
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::RTC::RichTextEvent] event the event to handle
|
35
|
+
def evt_richtext_left_dclick(id, meth = nil, &block) end
|
36
|
+
|
37
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_RETURN} event, generated when the user presses the return key. Valid event functions: GetFlags, GetPosition.
|
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::RTC::RichTextEvent] event the event to handle
|
41
|
+
def evt_richtext_return(id, meth = nil, &block) end
|
42
|
+
|
43
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_CHARACTER} event, generated when the user presses a character key. Valid event functions: GetFlags, GetPosition, GetCharacter.
|
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::RTC::RichTextEvent] event the event to handle
|
47
|
+
def evt_richtext_character(id, meth = nil, &block) end
|
48
|
+
|
49
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_CONSUMING_CHARACTER} event, generated when the user presses a character key but before it is processed and inserted into the control. Call Veto to prevent normal processing. Valid event functions: GetFlags, GetPosition, GetCharacter, Veto.
|
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::RTC::RichTextEvent] event the event to handle
|
53
|
+
def evt_richtext_consuming_character(id, meth = nil, &block) end
|
54
|
+
|
55
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_DELETE} event, generated when the user presses the backspace or delete key. Valid event functions: GetFlags, GetPosition.
|
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::RTC::RichTextEvent] event the event to handle
|
59
|
+
def evt_richtext_delete(id, meth = nil, &block) end
|
60
|
+
|
61
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_STYLE_CHANGED} event, generated when styling has been applied to the control. Valid event functions: GetPosition, GetRange.
|
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::RTC::RichTextEvent] event the event to handle
|
65
|
+
def evt_richtext_style_changed(id, meth = nil, &block) end
|
66
|
+
|
67
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_CHANGING} event, generated when the control's stylesheet has changed, for example the user added, edited or deleted a style. Valid event functions: GetRange, GetPosition.
|
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::RTC::RichTextEvent] event the event to handle
|
71
|
+
def evt_richtext_stylesheet_changed(id, meth = nil, &block) end
|
72
|
+
|
73
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACING} event, generated when the control's stylesheet is about to be replaced, for example when a file is loaded into the control. Valid event functions: Veto, GetOldStyleSheet, GetNewStyleSheet.
|
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::RTC::RichTextEvent] event the event to handle
|
77
|
+
def evt_richtext_stylesheet_replacing(id, meth = nil, &block) end
|
78
|
+
|
79
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_STYLESHEET_REPLACED} event, generated when the control's stylesheet has been replaced, for example when a file is loaded into the control. Valid event functions: GetOldStyleSheet, GetNewStyleSheet.
|
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::RTC::RichTextEvent] event the event to handle
|
83
|
+
def evt_richtext_stylesheet_replaced(id, meth = nil, &block) end
|
84
|
+
|
85
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_PROPERTIES_CHANGED} event, generated when properties have been applied to the control. Valid event functions: GetPosition, GetRange.
|
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::RTC::RichTextEvent] event the event to handle
|
89
|
+
def evt_richtext_properties_changed(id, meth = nil, &block) end
|
90
|
+
|
91
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_INSERTED} event, generated when content has been inserted into the control. Valid event functions: GetPosition, GetRange.
|
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::RTC::RichTextEvent] event the event to handle
|
95
|
+
def evt_richtext_content_inserted(id, meth = nil, &block) end
|
96
|
+
|
97
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_CONTENT_DELETED} event, generated when content has been deleted from the control. Valid event functions: GetPosition, GetRange.
|
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::RTC::RichTextEvent] event the event to handle
|
101
|
+
def evt_richtext_content_deleted(id, meth = nil, &block) end
|
102
|
+
|
103
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_BUFFER_RESET} event, generated when the buffer has been reset by deleting all content. You can use this to set a default style for the first new paragraph.
|
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::RTC::RichTextEvent] event the event to handle
|
107
|
+
def evt_richtext_buffer_reset(id, meth = nil, &block) end
|
108
|
+
|
109
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_SELECTION_CHANGED} event, generated when the selection range has changed.
|
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::RTC::RichTextEvent] event the event to handle
|
113
|
+
def evt_richtext_selection_changed(id, meth = nil, &block) end
|
114
|
+
|
115
|
+
# Process a {Wx::RTC::EVT_RICHTEXT_FOCUS_OBJECT_CHANGED} event, generated when the current focus object has changed.
|
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::RTC::RichTextEvent] event the event to handle
|
119
|
+
def evt_richtext_focus_object_changed(id, meth = nil, &block) end
|
120
|
+
|
121
|
+
# @!endgroup
|
122
|
+
|
123
|
+
end
|
120
124
|
|
121
125
|
end
|
@@ -7,8 +7,6 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# This class implements a floating or inline text box, containing paragraphs.
|
10
|
-
# ===
|
11
|
-
#
|
12
10
|
# Category: Rich Text
|
13
11
|
# @see Wx::RTC::RichTextParagraphLayoutBox
|
14
12
|
# @see Wx::RTC::RichTextObject
|
@@ -18,6 +16,7 @@ module Wx::RTC
|
|
18
16
|
#
|
19
17
|
#
|
20
18
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
19
|
+
# @wxrb_require USE_RICHTEXT
|
21
20
|
class RichTextBox < RichTextParagraphLayoutBox
|
22
21
|
|
23
22
|
# @overload initialize(parent=nil)
|
@@ -80,6 +79,7 @@ module Wx::RTC
|
|
80
79
|
#
|
81
80
|
#
|
82
81
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
82
|
+
# @wxrb_require USE_RICHTEXT
|
83
83
|
class RichTextCell < RichTextBox
|
84
84
|
|
85
85
|
# @overload initialize(parent=nil)
|
@@ -189,6 +189,7 @@ module Wx::RTC
|
|
189
189
|
#
|
190
190
|
#
|
191
191
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
192
|
+
# @wxrb_require USE_RICHTEXT
|
192
193
|
class RichTextTable < RichTextBox
|
193
194
|
|
194
195
|
# @overload initialize(parent=nil)
|
@@ -7,8 +7,6 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# This is a kind of paragraph layout box, used to represent the whole buffer.
|
10
|
-
# ===
|
11
|
-
#
|
12
10
|
# Category: Rich Text
|
13
11
|
# @see Wx::RTC::RichTextParagraphLayoutBox
|
14
12
|
# @see Wx::RTC::RichTextCtrl
|
@@ -16,6 +14,7 @@ module Wx::RTC
|
|
16
14
|
#
|
17
15
|
#
|
18
16
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
17
|
+
# @wxrb_require USE_RICHTEXT
|
19
18
|
class RichTextBuffer < RichTextParagraphLayoutBox
|
20
19
|
|
21
20
|
# @overload initialize()
|
@@ -656,13 +655,12 @@ module Wx::RTC
|
|
656
655
|
end # RichTextBuffer
|
657
656
|
|
658
657
|
# Manages quick access to a pool of fonts for rendering rich text.
|
659
|
-
# ===
|
660
|
-
#
|
661
658
|
# Category: Rich Text
|
662
659
|
# @see Wx::RTC::RichTextBuffer
|
663
660
|
# @see Wx::RTC::RichTextCtrl
|
664
661
|
#
|
665
662
|
#
|
663
|
+
# @wxrb_require USE_RICHTEXT
|
666
664
|
class RichTextFontTable < Object
|
667
665
|
|
668
666
|
# @overload initialize()
|
@@ -704,7 +702,6 @@ module Wx::RTC
|
|
704
702
|
# The base class for custom field types.
|
705
703
|
# Each type definition handles one field type. Override functions to provide drawing, layout, updating and property editing functionality for a field.
|
706
704
|
# Register field types on application initialisation with the static function {Wx::RTC::RichTextBuffer.add_field_type}. They will be deleted automatically on application exit.
|
707
|
-
# ===
|
708
705
|
#
|
709
706
|
# Category: Rich Text
|
710
707
|
# @see Wx::RTC::RichTextFieldTypeStandard
|
@@ -712,6 +709,7 @@ module Wx::RTC
|
|
712
709
|
# @see Wx::RTC::RichTextCtrl
|
713
710
|
#
|
714
711
|
#
|
712
|
+
# @wxrb_require USE_RICHTEXT
|
715
713
|
class RichTextFieldType < Object
|
716
714
|
|
717
715
|
# @overload initialize(name=(''))
|
@@ -818,7 +816,7 @@ module Wx::RTC
|
|
818
816
|
# A field type that can handle fields with text or bitmap labels, with a small range of styles for implementing rectangular fields and fields that can be used for start and end tags.
|
819
817
|
# The border, text and background colours can be customised; the default is white text on a black background.
|
820
818
|
# The following display styles can be used.
|
821
|
-
#
|
819
|
+
# ### Styles
|
822
820
|
#
|
823
821
|
# This class supports the following styles:
|
824
822
|
#
|
@@ -832,8 +830,6 @@ module Wx::RTC
|
|
832
830
|
#
|
833
831
|
# - {Wx::RTC::RichTextFieldTypeStandard::RICHTEXT_FIELD_STYLE_END_TAG}: Shows an end tag background, with the pointy end facing left.
|
834
832
|
#
|
835
|
-
# ===
|
836
|
-
#
|
837
833
|
# Category: Rich Text
|
838
834
|
# @see Wx::RTC::RichTextFieldType
|
839
835
|
# @see Wx::RTC::RichTextField
|
@@ -841,6 +837,7 @@ module Wx::RTC
|
|
841
837
|
# @see Wx::RTC::RichTextCtrl
|
842
838
|
#
|
843
839
|
#
|
840
|
+
# @wxrb_require USE_RICHTEXT
|
844
841
|
class RichTextFieldTypeStandard < RichTextFieldType
|
845
842
|
|
846
843
|
#
|
@@ -1073,13 +1070,13 @@ module Wx::RTC
|
|
1073
1070
|
|
1074
1071
|
# The base class for custom drawing handlers.
|
1075
1072
|
# Currently, drawing handlers can provide virtual attributes.
|
1076
|
-
# ===
|
1077
1073
|
#
|
1078
1074
|
# Category: Rich Text
|
1079
1075
|
# @see Wx::RTC::RichTextBuffer
|
1080
1076
|
# @see Wx::RTC::RichTextCtrl
|
1081
1077
|
#
|
1082
1078
|
#
|
1079
|
+
# @wxrb_require USE_RICHTEXT
|
1083
1080
|
class RichTextDrawingHandler < Object
|
1084
1081
|
|
1085
1082
|
# Creates a drawing handler object.
|
@@ -7,14 +7,13 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# Implements a rich text data object for clipboard transfer.
|
10
|
-
# ===
|
11
|
-
#
|
12
10
|
# Category: Rich Text
|
13
11
|
# @see Wx::DataObjectSimple
|
14
12
|
# @see Wx::RTC::RichTextBuffer
|
15
13
|
# @see Wx::RTC::RichTextCtrl
|
16
14
|
#
|
17
15
|
#
|
16
|
+
# @wxrb_require USE_RICHTEXT
|
18
17
|
class RichTextBufferDataObject < DataObjectSimple
|
19
18
|
|
20
19
|
# The constructor doesn't copy the pointer, so it shouldn't go away while this object is alive.
|
@@ -7,8 +7,6 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# Objects of this class can contain other objects.
|
10
|
-
# ===
|
11
|
-
#
|
12
10
|
# Category: Rich Text
|
13
11
|
# @see Wx::RTC::RichTextObject
|
14
12
|
# @see Wx::RTC::RichTextBuffer
|
@@ -17,6 +15,7 @@ module Wx::RTC
|
|
17
15
|
#
|
18
16
|
#
|
19
17
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
18
|
+
# @wxrb_require USE_RICHTEXT
|
20
19
|
class RichTextCompositeObject < RichTextObject
|
21
20
|
|
22
21
|
# @param parent [Wx::RTC::RichTextObject]
|
@@ -168,8 +167,6 @@ module Wx::RTC
|
|
168
167
|
end # RichTextCompositeObject
|
169
168
|
|
170
169
|
# This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects.
|
171
|
-
# ===
|
172
|
-
#
|
173
170
|
# Category: Rich Text
|
174
171
|
# @see Wx::RTC::RichTextBuffer
|
175
172
|
# @see Wx::RTC::RichTextCtrl
|
@@ -177,6 +174,7 @@ module Wx::RTC
|
|
177
174
|
#
|
178
175
|
#
|
179
176
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
177
|
+
# @wxrb_require USE_RICHTEXT
|
180
178
|
class RichTextParagraph < RichTextCompositeObject
|
181
179
|
|
182
180
|
# @overload initialize(parent=nil, style=nil)
|
@@ -417,8 +415,6 @@ module Wx::RTC
|
|
417
415
|
end # RichTextParagraph
|
418
416
|
|
419
417
|
# This object represents a line in a paragraph, and stores offsets from the start of the paragraph representing the start and end positions of the line.
|
420
|
-
# ===
|
421
|
-
#
|
422
418
|
# Category: Rich Text
|
423
419
|
# @see Wx::RTC::RichTextBuffer
|
424
420
|
# @see Wx::RTC::RichTextCtrl
|
@@ -426,6 +422,7 @@ module Wx::RTC
|
|
426
422
|
#
|
427
423
|
#
|
428
424
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
425
|
+
# @wxrb_require USE_RICHTEXT
|
429
426
|
class RichTextLine < ::Object
|
430
427
|
|
431
428
|
# @overload initialize(parent)
|
@@ -82,6 +82,7 @@ module Wx::RTC
|
|
82
82
|
#
|
83
83
|
#
|
84
84
|
#
|
85
|
+
# @wxrb_require USE_RICHTEXT
|
85
86
|
class RichTextCtrlSelectionState < Wx::Enum
|
86
87
|
|
87
88
|
#
|
@@ -174,7 +175,7 @@ module Wx::RTC
|
|
174
175
|
# {Wx::RTC::RichTextCtrl} sends notification events: see {Wx::RTC::RichTextEvent}.
|
175
176
|
# It also sends the standard {Wx::TextCtrl} events {Wx::EVT_TEXT_ENTER} and {Wx::EVT_TEXT}, and {Wx::TextUrlEvent} when URL content is clicked.
|
176
177
|
# For more information, see the wxRichTextCtrl Overview.
|
177
|
-
#
|
178
|
+
# ### Styles
|
178
179
|
#
|
179
180
|
# This class supports the following styles:
|
180
181
|
#
|
@@ -184,13 +185,12 @@ module Wx::RTC
|
|
184
185
|
#
|
185
186
|
# - {Wx::RTC::RE_READONLY}: The control will not be editable.
|
186
187
|
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
190
|
-
# </td><td> wxGTK Appearance
|
191
|
-
# </td><td> wxOSX Appearance
|
188
|
+
# Category: Rich Text <div class='appearance'><span class='appearance'>Appearance:</span><table><tr><td> WXMSW Appearance
|
189
|
+
# </td><td> WXGTK Appearance
|
190
|
+
# </td><td> WXOSX Appearance
|
192
191
|
# </td></tr></table></div>
|
193
192
|
#
|
193
|
+
# @wxrb_require USE_RICHTEXT
|
194
194
|
class RichTextCtrl < Control
|
195
195
|
|
196
196
|
include Wx::TextEntry
|
@@ -198,7 +198,7 @@ module Wx::RTC
|
|
198
198
|
# @overload initialize()
|
199
199
|
# Default constructor.
|
200
200
|
# @return [Wx::RTC::RichTextCtrl]
|
201
|
-
# @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
201
|
+
# @overload initialize(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR)
|
202
202
|
# Constructor, creating and showing a rich text control.
|
203
203
|
#
|
204
204
|
# @see Wx::RTC::RichTextCtrl#create
|
@@ -224,7 +224,7 @@ module Wx::RTC
|
|
224
224
|
# @param validator [Wx::Validator]
|
225
225
|
# @param name [String]
|
226
226
|
# @return [Boolean]
|
227
|
-
def create(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::
|
227
|
+
def create(parent, id=-1, value=(''), pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::RTC::RE_MULTILINE, validator=Wx::DEFAULT_VALIDATOR, name=Wx::TEXT_CTRL_NAME_STR) end
|
228
228
|
|
229
229
|
# Initialises the members of the control.
|
230
230
|
# @return [void]
|
@@ -407,12 +407,14 @@ module Wx::RTC
|
|
407
407
|
|
408
408
|
# Get the possible Drag'n'Drop start time.
|
409
409
|
# @return [Wx::DateTime]
|
410
|
+
# @wxrb_require USE_DATETIME
|
410
411
|
def get_drag_start_time; end
|
411
412
|
alias_method :drag_start_time, :get_drag_start_time
|
412
413
|
|
413
414
|
# Set the possible Drag'n'Drop start time.
|
414
415
|
# @param st [Time,Date,DateTime]
|
415
416
|
# @return [void]
|
417
|
+
# @wxrb_require USE_DATETIME
|
416
418
|
def set_drag_start_time(st) end
|
417
419
|
alias_method :drag_start_time=, :set_drag_start_time
|
418
420
|
|
@@ -1839,6 +1841,7 @@ module Wx::RTC
|
|
1839
1841
|
#
|
1840
1842
|
#
|
1841
1843
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
1844
|
+
# @wxrb_require USE_RICHTEXT
|
1842
1845
|
class RichTextContextMenuPropertiesInfo < ::Object
|
1843
1846
|
|
1844
1847
|
# Constructor.
|
@@ -1903,13 +1906,13 @@ module Wx::RTC
|
|
1903
1906
|
|
1904
1907
|
# {Wx::RTC::CommandProcessor} is a class that maintains a history of {Wx::Commands}, with undo/redo functionality built-in.
|
1905
1908
|
# Derive a new class from this if you want different behaviour.
|
1906
|
-
# ===
|
1907
1909
|
#
|
1908
1910
|
# Category: Document/View Framework
|
1909
1911
|
# @see wxCommandProcessor Overview
|
1910
1912
|
# @see Wx::Command
|
1911
1913
|
#
|
1912
1914
|
#
|
1915
|
+
# @wxrb_require USE_RICHTEXT
|
1913
1916
|
class CommandProcessor < Object
|
1914
1917
|
|
1915
1918
|
# Constructor.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# This is the event class for {Wx::RTC::RichTextCtrl} notifications.
|
10
|
-
#
|
10
|
+
# ### Events using this class
|
11
11
|
#
|
12
12
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::RTC::RichTextEvent} events.
|
13
13
|
# Event handler methods:
|
@@ -50,15 +50,14 @@ module Wx::RTC
|
|
50
50
|
#
|
51
51
|
# - {Wx::EvtHandler#evt_richtext_focus_object_changed}(id, meth = nil, &block): Process a {Wx::RTC::EVT_RICHTEXT_FOCUS_OBJECT_CHANGED} event, generated when the current focus object has changed.
|
52
52
|
#
|
53
|
-
# ===
|
54
|
-
#
|
55
53
|
# Category: {Wx::Events}, Rich Text
|
56
54
|
#
|
55
|
+
# @wxrb_require USE_RICHTEXT
|
57
56
|
class RichTextEvent < NotifyEvent
|
58
57
|
|
59
58
|
# @overload initialize(commandType=Wx::EVT_NULL, winid=0)
|
60
59
|
# Constructor.
|
61
|
-
# @param commandType [Wx::
|
60
|
+
# @param commandType [Wx::Slider::EventType] The type of the event.
|
62
61
|
# @param winid [Integer] Window identifier. The value {Wx::StandardID::ID_ANY} indicates a default value.
|
63
62
|
# @return [Wx::RTC::RichTextEvent]
|
64
63
|
# @overload initialize(event)
|
@@ -7,13 +7,12 @@
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
9
|
# The base class for file handlers.
|
10
|
-
# ===
|
11
|
-
#
|
12
10
|
# Category: Rich Text
|
13
11
|
# @see Wx::RTC::RichTextBuffer
|
14
12
|
# @see Wx::RTC::RichTextCtrl
|
15
13
|
#
|
16
14
|
#
|
15
|
+
# @wxrb_require USE_RICHTEXT
|
17
16
|
class RichTextFileHandler < Object
|
18
17
|
|
19
18
|
# Creates a file handler object.
|
@@ -139,21 +138,20 @@ module Wx::RTC
|
|
139
138
|
end # RichTextFileHandler
|
140
139
|
|
141
140
|
# Implements saving a buffer to plain text.
|
142
|
-
# ===
|
143
|
-
#
|
144
141
|
# Category: Rich Text
|
145
142
|
# @see Wx::RTC::RichTextFileHandler
|
146
143
|
# @see Wx::RTC::RichTextBuffer
|
147
144
|
# @see Wx::RTC::RichTextCtrl
|
148
145
|
#
|
149
146
|
#
|
147
|
+
# @wxrb_require USE_RICHTEXT
|
150
148
|
class RichTextPlainTextHandler < RichTextFileHandler
|
151
149
|
|
152
150
|
# @param name [String]
|
153
151
|
# @param ext [String]
|
154
152
|
# @param type [Wx::RichTextFileType]
|
155
153
|
# @return [Wx::RTC::RichTextPlainTextHandler]
|
156
|
-
def initialize(name=("
|
154
|
+
def initialize(name=("TEXT"), ext=("TXT"), type=Wx::RTC::RichTextFileType::RICHTEXT_TYPE_TEXT) end
|
157
155
|
|
158
156
|
# Returns true if we can save using this handler.
|
159
157
|
# @return [Boolean]
|
@@ -43,10 +43,9 @@ module Wx::RTC
|
|
43
43
|
# }
|
44
44
|
# ```
|
45
45
|
#
|
46
|
-
# ===
|
47
|
-
#
|
48
46
|
# Category: Rich Text
|
49
47
|
#
|
48
|
+
# @wxrb_require USE_RICHTEXT
|
50
49
|
class RichTextFormattingDialog < PropertySheetDialog
|
51
50
|
|
52
51
|
#
|
@@ -56,7 +55,7 @@ module Wx::RTC
|
|
56
55
|
# @overload initialize()
|
57
56
|
# Default ctor.
|
58
57
|
# @return [Wx::RTC::RichTextFormattingDialog]
|
59
|
-
# @overload initialize(flags, parent, title=("
|
58
|
+
# @overload initialize(flags, parent, title=("FORMATTING"), id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE)
|
60
59
|
# Constructors.
|
61
60
|
# @param flags [Integer] The pages to show.
|
62
61
|
# @param parent [Wx::Window] The dialog's parent.
|
@@ -84,7 +83,7 @@ module Wx::RTC
|
|
84
83
|
# @param sz [Array(Integer, Integer), Wx::Size]
|
85
84
|
# @param style [Integer]
|
86
85
|
# @return [Boolean]
|
87
|
-
def create(flags, parent, title=(Wx::GetTranslation.new("
|
86
|
+
def create(flags, parent, title=(Wx::GetTranslation.new("FORMATTING")), id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, sz=Wx::DEFAULT_SIZE, style=Wx::DEFAULT_DIALOG_STYLE) end
|
88
87
|
|
89
88
|
# Gets the attributes being edited.
|
90
89
|
# @return [Wx::TextAttr]
|
@@ -219,10 +218,10 @@ module Wx::RTC
|
|
219
218
|
|
220
219
|
# This class provides pages for {Wx::RTC::RichTextFormattingDialog}, and allows other customization of the dialog.
|
221
220
|
# A default instance of this class is provided automatically. If you wish to change the behaviour of the formatting dialog (for example add or replace a page), you may derive from this class, override one or more functions, and call the static function {Wx::RTC::RichTextFormattingDialog.set_formatting_dialog_factory}.
|
222
|
-
# ===
|
223
221
|
#
|
224
222
|
# Category: Rich Text
|
225
223
|
#
|
224
|
+
# @wxrb_require USE_RICHTEXT
|
226
225
|
class RichTextFormattingDialogFactory < Object
|
227
226
|
|
228
227
|
# Constructor.
|