wxruby3 0.9.5-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +31 -20
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -348
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -38
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -1
- data/lib/wx/doc/gen/colour_dialog.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +1 -1
- data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -1
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +1 -1
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +1 -1
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -1
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2722 -2718
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -1
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -1
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -1
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -1
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1925
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -382
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -17
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -84
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -282
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -43
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -1
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -1
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -1
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +1 -1
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4198
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -1
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -1
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -1
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- metadata +23 -4
@@ -6,529 +6,533 @@
|
|
6
6
|
|
7
7
|
module Wx::RTC
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
# @see Wx::RTC::RichTextObject
|
13
|
-
# @see Wx::RTC::RichTextBuffer
|
14
|
-
# @see Wx::RTC::RichTextCtrl
|
15
|
-
#
|
16
|
-
#
|
17
|
-
#
|
18
|
-
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
19
|
-
# @wxrb_require USE_RICHTEXT
|
20
|
-
class RichTextCompositeObject < RichTextObject
|
21
|
-
|
22
|
-
# @param parent [Wx::RTC::RichTextObject]
|
23
|
-
# @return [Wx::RTC::RichTextCompositeObject]
|
24
|
-
def initialize(parent=nil) end
|
25
|
-
|
26
|
-
# Hit-testing: returns a flag indicating hit test details, plus information about position.
|
9
|
+
module Wx::RTC
|
10
|
+
|
11
|
+
# Objects of this class can contain other objects.
|
27
12
|
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# @
|
32
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
33
|
-
# @param pt [Array(Integer, Integer), Wx::Point]
|
34
|
-
# @param textPosition [Integer]
|
35
|
-
# @param flags [Integer]
|
36
|
-
# @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
37
|
-
def hit_test(dc, context, pt, textPosition, flags=0) end
|
38
|
-
|
39
|
-
# Finds the absolute position and row height for the given character position.
|
40
|
-
# @param dc [Wx::DC]
|
41
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
42
|
-
# @param index [Integer]
|
43
|
-
# @param pt [Array(Integer, Integer), Wx::Point]
|
44
|
-
# @param height [int]
|
45
|
-
# @param forceLineStart [Boolean]
|
46
|
-
# @return [Boolean]
|
47
|
-
def find_position(dc, context, index, pt, height, forceLineStart) end
|
48
|
-
|
49
|
-
# Calculates the range of the object.
|
13
|
+
# Category: Rich Text
|
14
|
+
# @see Wx::RTC::RichTextObject
|
15
|
+
# @see Wx::RTC::RichTextBuffer
|
16
|
+
# @see Wx::RTC::RichTextCtrl
|
50
17
|
#
|
51
|
-
# By default, guess that the object is 1 unit long.
|
52
|
-
# @param start [Integer]
|
53
|
-
# @param end_ [Integer]
|
54
|
-
# @return [Integer]
|
55
|
-
def calculate_range(start, end_) end
|
56
|
-
|
57
|
-
# Deletes the given range.
|
58
|
-
# @param range [Range]
|
59
|
-
# @return [Boolean]
|
60
|
-
def delete_range(range) end
|
61
|
-
|
62
|
-
# Returns any text in this object for the given range.
|
63
|
-
# @param range [Range]
|
64
|
-
# @return [String]
|
65
|
-
def get_text_for_range(range) end
|
66
|
-
alias_method :text_for_range, :get_text_for_range
|
67
|
-
|
68
|
-
# Returns the object size for the given range.
|
69
18
|
#
|
70
|
-
# Returns false if the range is invalid for this object.
|
71
|
-
# @param range [Range]
|
72
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
73
|
-
# @param descent [int]
|
74
|
-
# @param dc [Wx::DC]
|
75
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
76
|
-
# @param flags [Integer]
|
77
|
-
# @param position [Array(Integer, Integer), Wx::Point]
|
78
|
-
# @param parentSize [Array(Integer, Integer), Wx::Size]
|
79
|
-
# @param partialExtents [Array,nil]
|
80
|
-
# @return [Boolean]
|
81
|
-
def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
|
82
|
-
alias_method :range_size, :get_range_size
|
83
|
-
|
84
|
-
# Dump object data to the given output stream for debugging.
|
85
|
-
# @param stream [Wx::TextOutputStream]
|
86
|
-
# @return [void]
|
87
|
-
def dump(stream) end
|
88
|
-
|
89
|
-
# Invalidates the object at the given range.
|
90
19
|
#
|
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
|
-
|
20
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
21
|
+
# @wxrb_require USE_RICHTEXT
|
22
|
+
class RichTextCompositeObject < RichTextObject
|
23
|
+
|
24
|
+
# @param parent [Wx::RTC::RichTextObject]
|
25
|
+
# @return [Wx::RTC::RichTextCompositeObject]
|
26
|
+
def initialize(parent=nil) end
|
27
|
+
|
28
|
+
# Hit-testing: returns a flag indicating hit test details, plus information about position.
|
29
|
+
#
|
30
|
+
# contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
|
31
|
+
# The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
|
32
|
+
# One of the {Wx::RTC::RichTextHitTestFlags} values.
|
33
|
+
# @param dc [Wx::DC]
|
34
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
35
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
36
|
+
# @param textPosition [Integer]
|
37
|
+
# @param flags [Integer]
|
38
|
+
# @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
39
|
+
def hit_test(dc, context, pt, textPosition, flags=0) end
|
40
|
+
|
41
|
+
# Finds the absolute position and row height for the given character position.
|
42
|
+
# @param dc [Wx::DC]
|
43
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
44
|
+
# @param index [Integer]
|
45
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
46
|
+
# @param height [int]
|
47
|
+
# @param forceLineStart [Boolean]
|
48
|
+
# @return [Boolean]
|
49
|
+
def find_position(dc, context, index, pt, height, forceLineStart) end
|
50
|
+
|
51
|
+
# Calculates the range of the object.
|
52
|
+
#
|
53
|
+
# By default, guess that the object is 1 unit long.
|
54
|
+
# @param start [Integer]
|
55
|
+
# @param end_ [Integer]
|
56
|
+
# @return [Integer]
|
57
|
+
def calculate_range(start, end_) end
|
58
|
+
|
59
|
+
# Deletes the given range.
|
60
|
+
# @param range [Range]
|
61
|
+
# @return [Boolean]
|
62
|
+
def delete_range(range) end
|
63
|
+
|
64
|
+
# Returns any text in this object for the given range.
|
65
|
+
# @param range [Range]
|
66
|
+
# @return [String]
|
67
|
+
def get_text_for_range(range) end
|
68
|
+
alias_method :text_for_range, :get_text_for_range
|
69
|
+
|
70
|
+
# Returns the object size for the given range.
|
71
|
+
#
|
72
|
+
# Returns false if the range is invalid for this object.
|
73
|
+
# @param range [Range]
|
74
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
75
|
+
# @param descent [int]
|
76
|
+
# @param dc [Wx::DC]
|
77
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
78
|
+
# @param flags [Integer]
|
79
|
+
# @param position [Array(Integer, Integer), Wx::Point]
|
80
|
+
# @param parentSize [Array(Integer, Integer), Wx::Size]
|
81
|
+
# @param partialExtents [Array,nil]
|
82
|
+
# @return [Boolean]
|
83
|
+
def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
|
84
|
+
alias_method :range_size, :get_range_size
|
85
|
+
|
86
|
+
# Dump object data to the given output stream for debugging.
|
87
|
+
# @param stream [Wx::TextOutputStream]
|
88
|
+
# @return [void]
|
89
|
+
def dump(stream) end
|
90
|
+
|
91
|
+
# Invalidates the object at the given range.
|
92
|
+
#
|
93
|
+
# With no argument, invalidates the whole object.
|
94
|
+
# @param invalidRange [Range]
|
95
|
+
# @return [void]
|
96
|
+
def invalidate(invalidRange=Wx::RICHTEXT_ALL) end
|
97
|
+
|
98
|
+
# Returns the children.
|
99
|
+
# @return [Array<Wx::RTC::RichTextObject>]
|
100
|
+
def get_children; end
|
101
|
+
alias_method :children, :get_children
|
102
|
+
|
103
|
+
# Returns the number of children.
|
104
|
+
# @return [Integer]
|
105
|
+
def get_child_count; end
|
106
|
+
alias_method :child_count, :get_child_count
|
107
|
+
|
108
|
+
# Returns the nth child.
|
109
|
+
# @param n [Integer]
|
110
|
+
# @return [Wx::RTC::RichTextObject]
|
111
|
+
def get_child(n) end
|
112
|
+
alias_method :child, :get_child
|
113
|
+
|
114
|
+
# Returns true if this object is composite.
|
115
|
+
# @return [Boolean]
|
116
|
+
def is_composite; end
|
117
|
+
alias_method :composite?, :is_composite
|
118
|
+
|
119
|
+
# Returns true if no user editing can be done inside the object.
|
120
|
+
#
|
121
|
+
# This returns true for simple objects, false for most composite objects, but true for fields, which if composite, should not be user-edited.
|
122
|
+
# @return [Boolean]
|
123
|
+
def is_atomic; end
|
124
|
+
alias_method :atomic?, :is_atomic
|
125
|
+
|
126
|
+
# Returns true if the buffer is empty.
|
127
|
+
# @return [Boolean]
|
128
|
+
def is_empty; end
|
129
|
+
alias_method :empty?, :is_empty
|
130
|
+
|
131
|
+
# Returns the child object at the given character position.
|
132
|
+
# @param pos [Integer]
|
133
|
+
# @return [Wx::RTC::RichTextObject]
|
134
|
+
def get_child_at_position(pos) end
|
135
|
+
alias_method :child_at_position, :get_child_at_position
|
136
|
+
|
137
|
+
# @param obj [Wx::RTC::RichTextCompositeObject]
|
138
|
+
# @return [void]
|
139
|
+
def copy(obj) end
|
140
|
+
|
141
|
+
# Appends a child, returning the position.
|
142
|
+
# @param child [Wx::RTC::RichTextObject]
|
143
|
+
# @return [Integer]
|
144
|
+
def append_child(child) end
|
145
|
+
|
146
|
+
# Inserts the child in front of the given object, or at the beginning.
|
147
|
+
# @param child [Wx::RTC::RichTextObject]
|
148
|
+
# @param inFrontOf [Wx::RTC::RichTextObject]
|
149
|
+
# @return [Boolean]
|
150
|
+
def insert_child(child, inFrontOf) end
|
151
|
+
|
152
|
+
# Removes and optionally deletes the specified child.
|
153
|
+
# @param child [Wx::RTC::RichTextObject]
|
154
|
+
# @param deleteChild [Boolean]
|
155
|
+
# @return [Boolean]
|
156
|
+
def remove_child(child, deleteChild=false) end
|
157
|
+
|
158
|
+
# Deletes all the children.
|
159
|
+
# @return [Boolean]
|
160
|
+
def delete_children; end
|
161
|
+
|
162
|
+
# Recursively merges all pieces that can be merged.
|
163
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
164
|
+
# @param range [Range]
|
165
|
+
# @return [Boolean]
|
166
|
+
def defragment(context, range=Wx::RICHTEXT_ALL) end
|
167
|
+
|
168
|
+
# Moves the object recursively, by adding the offset from old to new.
|
169
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
170
|
+
# @return [void]
|
171
|
+
def move(pt) end
|
172
|
+
|
173
|
+
end # RichTextCompositeObject
|
174
|
+
|
175
|
+
# This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects.
|
118
176
|
#
|
119
|
-
#
|
120
|
-
# @
|
121
|
-
|
122
|
-
alias_method :atomic?, :is_atomic
|
123
|
-
|
124
|
-
# Returns true if the buffer is empty.
|
125
|
-
# @return [Boolean]
|
126
|
-
def is_empty; end
|
127
|
-
alias_method :empty?, :is_empty
|
128
|
-
|
129
|
-
# Returns the child object at the given character position.
|
130
|
-
# @param pos [Integer]
|
131
|
-
# @return [Wx::RTC::RichTextObject]
|
132
|
-
def get_child_at_position(pos) end
|
133
|
-
alias_method :child_at_position, :get_child_at_position
|
134
|
-
|
135
|
-
# @param obj [Wx::RTC::RichTextCompositeObject]
|
136
|
-
# @return [void]
|
137
|
-
def copy(obj) end
|
138
|
-
|
139
|
-
# Appends a child, returning the position.
|
140
|
-
# @param child [Wx::RTC::RichTextObject]
|
141
|
-
# @return [Integer]
|
142
|
-
def append_child(child) end
|
143
|
-
|
144
|
-
# Inserts the child in front of the given object, or at the beginning.
|
145
|
-
# @param child [Wx::RTC::RichTextObject]
|
146
|
-
# @param inFrontOf [Wx::RTC::RichTextObject]
|
147
|
-
# @return [Boolean]
|
148
|
-
def insert_child(child, inFrontOf) end
|
149
|
-
|
150
|
-
# Removes and optionally deletes the specified child.
|
151
|
-
# @param child [Wx::RTC::RichTextObject]
|
152
|
-
# @param deleteChild [Boolean]
|
153
|
-
# @return [Boolean]
|
154
|
-
def remove_child(child, deleteChild=false) end
|
155
|
-
|
156
|
-
# Deletes all the children.
|
157
|
-
# @return [Boolean]
|
158
|
-
def delete_children; end
|
159
|
-
|
160
|
-
# Recursively merges all pieces that can be merged.
|
161
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
162
|
-
# @param range [Range]
|
163
|
-
# @return [Boolean]
|
164
|
-
def defragment(context, range=Wx::RICHTEXT_ALL) end
|
165
|
-
|
166
|
-
# Moves the object recursively, by adding the offset from old to new.
|
167
|
-
# @param pt [Array(Integer, Integer), Wx::Point]
|
168
|
-
# @return [void]
|
169
|
-
def move(pt) end
|
170
|
-
|
171
|
-
end # RichTextCompositeObject
|
172
|
-
|
173
|
-
# This object represents a single paragraph containing various objects such as text content, images, and further paragraph layout objects.
|
174
|
-
#
|
175
|
-
# Category: Rich Text
|
176
|
-
# @see Wx::RTC::RichTextBuffer
|
177
|
-
# @see Wx::RTC::RichTextCtrl
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
182
|
-
# @wxrb_require USE_RICHTEXT
|
183
|
-
class RichTextParagraph < RichTextCompositeObject
|
184
|
-
|
185
|
-
# @overload initialize(parent=nil, style=nil)
|
186
|
-
# Constructor taking a parent and style.
|
187
|
-
# @param parent [Wx::RTC::RichTextObject]
|
188
|
-
# @param style [Wx::RTC::RichTextAttr]
|
189
|
-
# @return [Wx::RTC::RichTextParagraph]
|
190
|
-
# @overload initialize(text, parent=nil, paraStyle=nil, charStyle=nil)
|
191
|
-
# Constructor taking a text string, a parent and paragraph and character attributes.
|
192
|
-
# @param text [String]
|
193
|
-
# @param parent [Wx::RTC::RichTextObject]
|
194
|
-
# @param paraStyle [Wx::RTC::RichTextAttr]
|
195
|
-
# @param charStyle [Wx::RTC::RichTextAttr]
|
196
|
-
# @return [Wx::RTC::RichTextParagraph]
|
197
|
-
# @overload initialize(obj)
|
198
|
-
# @param obj [Wx::RTC::RichTextParagraph]
|
199
|
-
# @return [Wx::RTC::RichTextParagraph]
|
200
|
-
def initialize(*args) end
|
201
|
-
|
202
|
-
# @return [void]
|
203
|
-
def init; end
|
204
|
-
|
205
|
-
# Draw the item, within the given range.
|
177
|
+
# Category: Rich Text
|
178
|
+
# @see Wx::RTC::RichTextBuffer
|
179
|
+
# @see Wx::RTC::RichTextCtrl
|
206
180
|
#
|
207
|
-
# Some objects may ignore the range (for example paragraphs) while others must obey it (lines, to implement wrapping)
|
208
|
-
# @param dc [Wx::DC]
|
209
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
210
|
-
# @param range [Range]
|
211
|
-
# @param selection [Wx::RTC::RichTextSelection]
|
212
|
-
# @param rect [Wx::Rect]
|
213
|
-
# @param descent [Integer]
|
214
|
-
# @param style [Integer]
|
215
|
-
# @return [Boolean]
|
216
|
-
def draw(dc, context, range, selection, rect, descent, style) end
|
217
|
-
|
218
|
-
# Lay the item out at the specified position with the given size constraint.
|
219
181
|
#
|
220
|
-
# Layout must set the cached size. rect is the available space for the object, and parentRect is the container that is used to determine a relative size or position (for example if a text box must be 50% of the parent text box).
|
221
|
-
# @param dc [Wx::DC]
|
222
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
223
|
-
# @param rect [Wx::Rect]
|
224
|
-
# @param parentRect [Wx::Rect]
|
225
|
-
# @param style [Integer]
|
226
|
-
# @return [Boolean]
|
227
|
-
def layout(dc, context, rect, parentRect, style) end
|
228
|
-
|
229
|
-
# Returns the object size for the given range.
|
230
182
|
#
|
231
|
-
#
|
232
|
-
# @
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
183
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
184
|
+
# @wxrb_require USE_RICHTEXT
|
185
|
+
class RichTextParagraph < RichTextCompositeObject
|
186
|
+
|
187
|
+
# @overload initialize(parent=nil, style=nil)
|
188
|
+
# Constructor taking a parent and style.
|
189
|
+
# @param parent [Wx::RTC::RichTextObject]
|
190
|
+
# @param style [Wx::RTC::RichTextAttr]
|
191
|
+
# @return [Wx::RTC::RichTextParagraph]
|
192
|
+
# @overload initialize(text, parent=nil, paraStyle=nil, charStyle=nil)
|
193
|
+
# Constructor taking a text string, a parent and paragraph and character attributes.
|
194
|
+
# @param text [String]
|
195
|
+
# @param parent [Wx::RTC::RichTextObject]
|
196
|
+
# @param paraStyle [Wx::RTC::RichTextAttr]
|
197
|
+
# @param charStyle [Wx::RTC::RichTextAttr]
|
198
|
+
# @return [Wx::RTC::RichTextParagraph]
|
199
|
+
# @overload initialize(obj)
|
200
|
+
# @param obj [Wx::RTC::RichTextParagraph]
|
201
|
+
# @return [Wx::RTC::RichTextParagraph]
|
202
|
+
def initialize(*args) end
|
203
|
+
|
204
|
+
# @return [void]
|
205
|
+
def init; end
|
206
|
+
|
207
|
+
# Draw the item, within the given range.
|
208
|
+
#
|
209
|
+
# Some objects may ignore the range (for example paragraphs) while others must obey it (lines, to implement wrapping)
|
210
|
+
# @param dc [Wx::DC]
|
211
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
212
|
+
# @param range [Range]
|
213
|
+
# @param selection [Wx::RTC::RichTextSelection]
|
214
|
+
# @param rect [Wx::Rect]
|
215
|
+
# @param descent [Integer]
|
216
|
+
# @param style [Integer]
|
217
|
+
# @return [Boolean]
|
218
|
+
def draw(dc, context, range, selection, rect, descent, style) end
|
219
|
+
|
220
|
+
# Lay the item out at the specified position with the given size constraint.
|
221
|
+
#
|
222
|
+
# Layout must set the cached size. rect is the available space for the object, and parentRect is the container that is used to determine a relative size or position (for example if a text box must be 50% of the parent text box).
|
223
|
+
# @param dc [Wx::DC]
|
224
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
225
|
+
# @param rect [Wx::Rect]
|
226
|
+
# @param parentRect [Wx::Rect]
|
227
|
+
# @param style [Integer]
|
228
|
+
# @return [Boolean]
|
229
|
+
def layout(dc, context, rect, parentRect, style) end
|
230
|
+
|
231
|
+
# Returns the object size for the given range.
|
232
|
+
#
|
233
|
+
# Returns false if the range is invalid for this object.
|
234
|
+
# @param range [Range]
|
235
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
236
|
+
# @param descent [int]
|
237
|
+
# @param dc [Wx::DC]
|
238
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
239
|
+
# @param flags [Integer]
|
240
|
+
# @param position [Array(Integer, Integer), Wx::Point]
|
241
|
+
# @param parentSize [Array(Integer, Integer), Wx::Size]
|
242
|
+
# @param partialExtents [Array,nil]
|
243
|
+
# @return [Boolean]
|
244
|
+
def get_range_size(range, size, descent, dc, context, flags, position=(Wx::Point.new(0, 0)), parentSize=Wx::DEFAULT_SIZE, partialExtents=nil) end
|
245
|
+
alias_method :range_size, :get_range_size
|
246
|
+
|
247
|
+
# Finds the absolute position and row height for the given character position.
|
248
|
+
# @param dc [Wx::DC]
|
249
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
250
|
+
# @param index [Integer]
|
251
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
252
|
+
# @param height [int]
|
253
|
+
# @param forceLineStart [Boolean]
|
254
|
+
# @return [Boolean]
|
255
|
+
def find_position(dc, context, index, pt, height, forceLineStart) end
|
256
|
+
|
257
|
+
# Hit-testing: returns a flag indicating hit test details, plus information about position.
|
258
|
+
#
|
259
|
+
# contextObj is returned to specify what object position is relevant to, since otherwise there's an ambiguity. @ obj might not be a child of contextObj, since we may be referring to the container itself if we have no hit on a child - for example if we click outside an object.
|
260
|
+
# The function puts the position in textPosition if one is found. pt is in logical units (a zero y position is at the beginning of the buffer).
|
261
|
+
# One of the {Wx::RTC::RichTextHitTestFlags} values.
|
262
|
+
# @param dc [Wx::DC]
|
263
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
264
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
265
|
+
# @param textPosition [Integer]
|
266
|
+
# @param flags [Integer]
|
267
|
+
# @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
268
|
+
def hit_test(dc, context, pt, textPosition, flags=0) end
|
269
|
+
|
270
|
+
# Calculates the range of the object.
|
271
|
+
#
|
272
|
+
# By default, guess that the object is 1 unit long.
|
273
|
+
# @param start [Integer]
|
274
|
+
# @param end_ [Integer]
|
275
|
+
# @return [Integer]
|
276
|
+
def calculate_range(start, end_) end
|
277
|
+
|
278
|
+
# Returns the XML node name of this object.
|
279
|
+
#
|
280
|
+
# This must be overridden for {Wx::XmlNode}-base XML export to work.
|
281
|
+
# @return [String]
|
282
|
+
def get_xml_node_name; end
|
283
|
+
alias_method :xml_node_name, :get_xml_node_name
|
284
|
+
|
285
|
+
# Returns the cached lines.
|
286
|
+
# @return [Array<Wx::RTC::RichTextLine]
|
287
|
+
def get_lines; end
|
288
|
+
alias_method :lines, :get_lines
|
289
|
+
|
290
|
+
# Copies the object.
|
291
|
+
# @param obj [Wx::RTC::RichTextParagraph]
|
292
|
+
# @return [void]
|
293
|
+
def copy(obj) end
|
294
|
+
|
295
|
+
# Clones the object.
|
296
|
+
# @return [Wx::RTC::RichTextObject]
|
297
|
+
def clone; end
|
298
|
+
|
299
|
+
# Clears the cached lines.
|
300
|
+
# @return [void]
|
301
|
+
def clear_lines; end
|
302
|
+
|
303
|
+
# Applies paragraph styles such as centering to the wrapped lines.
|
304
|
+
# @param line [Wx::RTC::RichTextLine]
|
305
|
+
# @param attr [Wx::RTC::RichTextAttr]
|
306
|
+
# @param rect [Wx::Rect]
|
307
|
+
# @param dc [Wx::DC]
|
308
|
+
# @return [void]
|
309
|
+
def apply_paragraph_style(line, attr, rect, dc) end
|
310
|
+
|
311
|
+
# Inserts text at the given position.
|
312
|
+
# @param pos [Integer]
|
313
|
+
# @param text [String]
|
314
|
+
# @return [Boolean]
|
315
|
+
def insert_text(pos, text) end
|
316
|
+
|
317
|
+
# Splits an object at this position if necessary, and returns the previous object, or NULL if inserting at the beginning.
|
318
|
+
# @param pos [Integer]
|
319
|
+
# @return [Array(Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
320
|
+
def split_at(pos) end
|
321
|
+
|
322
|
+
# Moves content to a list from this point.
|
323
|
+
# @param obj [Wx::RTC::RichTextObject]
|
324
|
+
# @param list [Array<Wx::RTC::RichTextObject>]
|
325
|
+
# @return [void]
|
326
|
+
def move_to_list(obj, list) end
|
327
|
+
|
328
|
+
# Adds content back from a list.
|
329
|
+
# @param list [Array<Wx::RTC::RichTextObject>]
|
330
|
+
# @return [void]
|
331
|
+
def move_from_list(list) end
|
332
|
+
|
333
|
+
# Returns the plain text searching from the start or end of the range.
|
334
|
+
#
|
335
|
+
# The resulting string may be shorter than the range given.
|
336
|
+
# @param text [String]
|
337
|
+
# @param range [Range]
|
338
|
+
# @param fromStart [Boolean]
|
339
|
+
# @return [Boolean]
|
340
|
+
def get_contiguous_plain_text(text, range, fromStart=true) end
|
341
|
+
alias_method :contiguous_plain_text, :get_contiguous_plain_text
|
342
|
+
|
343
|
+
# Finds a suitable wrap position.
|
344
|
+
#
|
345
|
+
# wrapPosition is the last position in the line to the left of the split.
|
346
|
+
# @param range [Range]
|
347
|
+
# @param dc [Wx::DC]
|
348
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
349
|
+
# @param availableSpace [Integer]
|
350
|
+
# @param wrapPosition [Integer]
|
351
|
+
# @param partialExtents [Array,nil]
|
352
|
+
# @return [Array(Boolean,Integer)]
|
353
|
+
def find_wrap_position(range, dc, context, availableSpace, wrapPosition, partialExtents) end
|
354
|
+
|
355
|
+
# Finds the object at the given position.
|
356
|
+
# @param position [Integer]
|
357
|
+
# @return [Wx::RTC::RichTextObject]
|
358
|
+
def find_object_at_position(position) end
|
359
|
+
|
360
|
+
# Returns the bullet text for this paragraph.
|
361
|
+
# @return [String]
|
362
|
+
def get_bullet_text; end
|
363
|
+
alias_method :bullet_text, :get_bullet_text
|
364
|
+
|
365
|
+
# Allocates or reuses a line object.
|
366
|
+
# @param pos [Integer]
|
367
|
+
# @return [Wx::RTC::RichTextLine]
|
368
|
+
def allocate_line(pos) end
|
369
|
+
|
370
|
+
# Clears remaining unused line objects, if any.
|
371
|
+
# @param lineCount [Integer]
|
372
|
+
# @return [Boolean]
|
373
|
+
def clear_unused_lines(lineCount) end
|
374
|
+
|
375
|
+
# @overload get_combined_attributes(contentStyle, includingBoxAttr=false)
|
376
|
+
# Returns combined attributes of the base style, paragraph style and character style.
|
377
|
+
#
|
378
|
+
# We use this to dynamically retrieve the actual style.
|
379
|
+
# @param contentStyle [Wx::RTC::RichTextAttr]
|
380
|
+
# @param includingBoxAttr [Boolean]
|
381
|
+
# @return [Wx::RTC::RichTextAttr]
|
382
|
+
# @overload get_combined_attributes(includingBoxAttr=false)
|
383
|
+
# Returns the combined attributes of the base style and paragraph style.
|
384
|
+
# @param includingBoxAttr [Boolean]
|
385
|
+
# @return [Wx::RTC::RichTextAttr]
|
386
|
+
def get_combined_attributes(*args) end
|
387
|
+
alias_method :combined_attributes, :get_combined_attributes
|
388
|
+
|
389
|
+
# Returns the first position from pos that has a line break character.
|
390
|
+
# @param pos [Integer]
|
391
|
+
# @return [Integer]
|
392
|
+
def get_first_line_break_position(pos) end
|
393
|
+
alias_method :first_line_break_position, :get_first_line_break_position
|
394
|
+
|
395
|
+
# Lays out the floating objects.
|
396
|
+
# @param dc [Wx::DC]
|
397
|
+
# @param context [Wx::RTC::RichTextDrawingContext]
|
398
|
+
# @param rect [Wx::Rect]
|
399
|
+
# @param parentRect [Wx::Rect]
|
400
|
+
# @param style [Integer]
|
401
|
+
# @param floatCollector [Wx::RTC::RichTextFloatCollector]
|
402
|
+
# @return [void]
|
403
|
+
def layout_float(dc, context, rect, parentRect, style, floatCollector) end
|
404
|
+
|
405
|
+
# Whether the paragraph is impacted by floating objects from above.
|
406
|
+
# @return [Integer]
|
407
|
+
def get_impacted_by_floating_objects; end
|
408
|
+
alias_method :impacted_by_floating_objects, :get_impacted_by_floating_objects
|
409
|
+
|
410
|
+
# Sets whether the paragraph is impacted by floating objects from above.
|
411
|
+
# @param i [Integer]
|
412
|
+
# @return [void]
|
413
|
+
def set_impacted_by_floating_objects(i) end
|
414
|
+
alias_method :impacted_by_floating_objects=, :set_impacted_by_floating_objects
|
415
|
+
|
416
|
+
# Creates a default tabstop array.
|
417
|
+
# @return [void]
|
418
|
+
def self.init_default_tabs; end
|
419
|
+
|
420
|
+
# Clears the default tabstop array.
|
421
|
+
# @return [void]
|
422
|
+
def self.clear_default_tabs; end
|
423
|
+
|
424
|
+
# Returns the default tabstop array.
|
425
|
+
# @return [Wx::ArrayInt]
|
426
|
+
def self.get_default_tabs; end
|
427
|
+
|
428
|
+
end # RichTextParagraph
|
429
|
+
|
430
|
+
# 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.
|
256
431
|
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
# @param dc [Wx::DC]
|
261
|
-
# @param context [Wx::RTC::RichTextDrawingContext]
|
262
|
-
# @param pt [Array(Integer, Integer), Wx::Point]
|
263
|
-
# @param textPosition [Integer]
|
264
|
-
# @param flags [Integer]
|
265
|
-
# @return [Array(Integer,Integer,Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
266
|
-
def hit_test(dc, context, pt, textPosition, flags=0) end
|
267
|
-
|
268
|
-
# Calculates the range of the object.
|
432
|
+
# Category: Rich Text
|
433
|
+
# @see Wx::RTC::RichTextBuffer
|
434
|
+
# @see Wx::RTC::RichTextCtrl
|
269
435
|
#
|
270
|
-
# By default, guess that the object is 1 unit long.
|
271
|
-
# @param start [Integer]
|
272
|
-
# @param end_ [Integer]
|
273
|
-
# @return [Integer]
|
274
|
-
def calculate_range(start, end_) end
|
275
|
-
|
276
|
-
# Returns the XML node name of this object.
|
277
436
|
#
|
278
|
-
# This must be overridden for {Wx::XmlNode}-base XML export to work.
|
279
|
-
# @return [String]
|
280
|
-
def get_xml_node_name; end
|
281
|
-
alias_method :xml_node_name, :get_xml_node_name
|
282
|
-
|
283
|
-
# Returns the cached lines.
|
284
|
-
# @return [Array<Wx::RTC::RichTextLine]
|
285
|
-
def get_lines; end
|
286
|
-
alias_method :lines, :get_lines
|
287
|
-
|
288
|
-
# Copies the object.
|
289
|
-
# @param obj [Wx::RTC::RichTextParagraph]
|
290
|
-
# @return [void]
|
291
|
-
def copy(obj) end
|
292
|
-
|
293
|
-
# Clones the object.
|
294
|
-
# @return [Wx::RTC::RichTextObject]
|
295
|
-
def clone; end
|
296
|
-
|
297
|
-
# Clears the cached lines.
|
298
|
-
# @return [void]
|
299
|
-
def clear_lines; end
|
300
|
-
|
301
|
-
# Applies paragraph styles such as centering to the wrapped lines.
|
302
|
-
# @param line [Wx::RTC::RichTextLine]
|
303
|
-
# @param attr [Wx::RTC::RichTextAttr]
|
304
|
-
# @param rect [Wx::Rect]
|
305
|
-
# @param dc [Wx::DC]
|
306
|
-
# @return [void]
|
307
|
-
def apply_paragraph_style(line, attr, rect, dc) end
|
308
|
-
|
309
|
-
# Inserts text at the given position.
|
310
|
-
# @param pos [Integer]
|
311
|
-
# @param text [String]
|
312
|
-
# @return [Boolean]
|
313
|
-
def insert_text(pos, text) end
|
314
|
-
|
315
|
-
# Splits an object at this position if necessary, and returns the previous object, or NULL if inserting at the beginning.
|
316
|
-
# @param pos [Integer]
|
317
|
-
# @return [Array(Wx::RTC::RichTextObject,Wx::RTC::RichTextObject)]
|
318
|
-
def split_at(pos) end
|
319
|
-
|
320
|
-
# Moves content to a list from this point.
|
321
|
-
# @param obj [Wx::RTC::RichTextObject]
|
322
|
-
# @param list [Array<Wx::RTC::RichTextObject>]
|
323
|
-
# @return [void]
|
324
|
-
def move_to_list(obj, list) end
|
325
|
-
|
326
|
-
# Adds content back from a list.
|
327
|
-
# @param list [Array<Wx::RTC::RichTextObject>]
|
328
|
-
# @return [void]
|
329
|
-
def move_from_list(list) end
|
330
|
-
|
331
|
-
# Returns the plain text searching from the start or end of the range.
|
332
437
|
#
|
333
|
-
#
|
334
|
-
# @
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
438
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
439
|
+
# @wxrb_require USE_RICHTEXT
|
440
|
+
class RichTextLine < ::Object
|
441
|
+
|
442
|
+
# @overload initialize(parent)
|
443
|
+
# @param parent [Wx::RTC::RichTextParagraph]
|
444
|
+
# @return [Wx::RTC::RichTextLine]
|
445
|
+
# @overload initialize(obj)
|
446
|
+
# @param obj [Wx::RTC::RichTextLine]
|
447
|
+
# @return [Wx::RTC::RichTextLine]
|
448
|
+
def initialize(*args) end
|
449
|
+
|
450
|
+
# @overload set_range(range)
|
451
|
+
# Sets the range associated with this line.
|
452
|
+
# @param range [Range]
|
453
|
+
# @return [void]
|
454
|
+
# @overload set_range(from, to)
|
455
|
+
# Sets the range associated with this line.
|
456
|
+
# @param from [Integer]
|
457
|
+
# @param to [Integer]
|
458
|
+
# @return [void]
|
459
|
+
def set_range(*args) end
|
460
|
+
alias_method :range=, :set_range
|
461
|
+
|
462
|
+
# Returns the parent paragraph.
|
463
|
+
# @return [Wx::RTC::RichTextParagraph]
|
464
|
+
def get_parent; end
|
465
|
+
alias_method :parent, :get_parent
|
466
|
+
|
467
|
+
# Returns the range.
|
468
|
+
# @return [Wx::RichTextRange]
|
469
|
+
def get_range; end
|
470
|
+
alias_method :range, :get_range
|
471
|
+
|
472
|
+
# Returns the absolute range.
|
473
|
+
# @return [Range]
|
474
|
+
def get_absolute_range; end
|
475
|
+
alias_method :absolute_range, :get_absolute_range
|
476
|
+
|
477
|
+
# Returns the line size as calculated by Layout.
|
478
|
+
# @return [Wx::Size]
|
479
|
+
def get_size; end
|
480
|
+
alias_method :size, :get_size
|
481
|
+
|
482
|
+
# Sets the line size as calculated by Layout.
|
483
|
+
# @param sz [Array(Integer, Integer), Wx::Size]
|
484
|
+
# @return [void]
|
485
|
+
def set_size(sz) end
|
486
|
+
alias_method :size=, :set_size
|
487
|
+
|
488
|
+
# Returns the object position relative to the parent.
|
489
|
+
# @return [Wx::Point]
|
490
|
+
def get_position; end
|
491
|
+
alias_method :position, :get_position
|
492
|
+
|
493
|
+
# Sets the object position relative to the parent.
|
494
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
495
|
+
# @return [void]
|
496
|
+
def set_position(pos) end
|
497
|
+
alias_method :position=, :set_position
|
498
|
+
|
499
|
+
# Returns the absolute object position.
|
500
|
+
# @return [Wx::Point]
|
501
|
+
def get_absolute_position; end
|
502
|
+
alias_method :absolute_position, :get_absolute_position
|
503
|
+
|
504
|
+
# Returns the rectangle enclosing the line.
|
505
|
+
# @return [Wx::Rect]
|
506
|
+
def get_rect; end
|
507
|
+
alias_method :rect, :get_rect
|
508
|
+
|
509
|
+
# Sets the stored descent.
|
510
|
+
# @param descent [Integer]
|
511
|
+
# @return [void]
|
512
|
+
def set_descent(descent) end
|
513
|
+
alias_method :descent=, :set_descent
|
514
|
+
|
515
|
+
# Returns the stored descent.
|
516
|
+
# @return [Integer]
|
517
|
+
def get_descent; end
|
518
|
+
alias_method :descent, :get_descent
|
519
|
+
|
520
|
+
# Initialises the object.
|
521
|
+
# @param parent [Wx::RTC::RichTextParagraph]
|
522
|
+
# @return [void]
|
523
|
+
def init(parent) end
|
524
|
+
|
525
|
+
# Copies from obj.
|
526
|
+
# @param obj [Wx::RTC::RichTextLine]
|
527
|
+
# @return [void]
|
528
|
+
def copy(obj) end
|
529
|
+
|
530
|
+
# @return [Wx::RTC::RichTextLine]
|
531
|
+
def clone; end
|
532
|
+
|
533
|
+
end # RichTextLine
|
421
534
|
|
422
|
-
# Returns the default tabstop array.
|
423
|
-
# @return [Wx::ArrayInt]
|
424
|
-
def self.get_default_tabs; end
|
425
|
-
|
426
|
-
end # RichTextParagraph
|
427
|
-
|
428
|
-
# 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.
|
429
|
-
#
|
430
|
-
# Category: Rich Text
|
431
|
-
# @see Wx::RTC::RichTextBuffer
|
432
|
-
# @see Wx::RTC::RichTextCtrl
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
437
|
-
# @wxrb_require USE_RICHTEXT
|
438
|
-
class RichTextLine < ::Object
|
439
|
-
|
440
|
-
# @overload initialize(parent)
|
441
|
-
# @param parent [Wx::RTC::RichTextParagraph]
|
442
|
-
# @return [Wx::RTC::RichTextLine]
|
443
|
-
# @overload initialize(obj)
|
444
|
-
# @param obj [Wx::RTC::RichTextLine]
|
445
|
-
# @return [Wx::RTC::RichTextLine]
|
446
|
-
def initialize(*args) end
|
447
|
-
|
448
|
-
# @overload set_range(range)
|
449
|
-
# Sets the range associated with this line.
|
450
|
-
# @param range [Range]
|
451
|
-
# @return [void]
|
452
|
-
# @overload set_range(from, to)
|
453
|
-
# Sets the range associated with this line.
|
454
|
-
# @param from [Integer]
|
455
|
-
# @param to [Integer]
|
456
|
-
# @return [void]
|
457
|
-
def set_range(*args) end
|
458
|
-
alias_method :range=, :set_range
|
459
|
-
|
460
|
-
# Returns the parent paragraph.
|
461
|
-
# @return [Wx::RTC::RichTextParagraph]
|
462
|
-
def get_parent; end
|
463
|
-
alias_method :parent, :get_parent
|
464
|
-
|
465
|
-
# Returns the range.
|
466
|
-
# @return [Wx::RichTextRange]
|
467
|
-
def get_range; end
|
468
|
-
alias_method :range, :get_range
|
469
|
-
|
470
|
-
# Returns the absolute range.
|
471
|
-
# @return [Range]
|
472
|
-
def get_absolute_range; end
|
473
|
-
alias_method :absolute_range, :get_absolute_range
|
474
|
-
|
475
|
-
# Returns the line size as calculated by Layout.
|
476
|
-
# @return [Wx::Size]
|
477
|
-
def get_size; end
|
478
|
-
alias_method :size, :get_size
|
479
|
-
|
480
|
-
# Sets the line size as calculated by Layout.
|
481
|
-
# @param sz [Array(Integer, Integer), Wx::Size]
|
482
|
-
# @return [void]
|
483
|
-
def set_size(sz) end
|
484
|
-
alias_method :size=, :set_size
|
485
|
-
|
486
|
-
# Returns the object position relative to the parent.
|
487
|
-
# @return [Wx::Point]
|
488
|
-
def get_position; end
|
489
|
-
alias_method :position, :get_position
|
490
|
-
|
491
|
-
# Sets the object position relative to the parent.
|
492
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
493
|
-
# @return [void]
|
494
|
-
def set_position(pos) end
|
495
|
-
alias_method :position=, :set_position
|
496
|
-
|
497
|
-
# Returns the absolute object position.
|
498
|
-
# @return [Wx::Point]
|
499
|
-
def get_absolute_position; end
|
500
|
-
alias_method :absolute_position, :get_absolute_position
|
501
|
-
|
502
|
-
# Returns the rectangle enclosing the line.
|
503
|
-
# @return [Wx::Rect]
|
504
|
-
def get_rect; end
|
505
|
-
alias_method :rect, :get_rect
|
506
|
-
|
507
|
-
# Sets the stored descent.
|
508
|
-
# @param descent [Integer]
|
509
|
-
# @return [void]
|
510
|
-
def set_descent(descent) end
|
511
|
-
alias_method :descent=, :set_descent
|
512
|
-
|
513
|
-
# Returns the stored descent.
|
514
|
-
# @return [Integer]
|
515
|
-
def get_descent; end
|
516
|
-
alias_method :descent, :get_descent
|
517
|
-
|
518
|
-
# Initialises the object.
|
519
|
-
# @param parent [Wx::RTC::RichTextParagraph]
|
520
|
-
# @return [void]
|
521
|
-
def init(parent) end
|
522
|
-
|
523
|
-
# Copies from obj.
|
524
|
-
# @param obj [Wx::RTC::RichTextLine]
|
525
|
-
# @return [void]
|
526
|
-
def copy(obj) end
|
527
|
-
|
528
|
-
# @return [Wx::RTC::RichTextLine]
|
529
|
-
def clone; end
|
530
|
-
|
531
|
-
end # RichTextLine
|
532
|
-
|
533
535
|
|
534
|
-
end
|
536
|
+
end
|
537
|
+
|
538
|
+
end
|