wxruby3 0.9.4-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 +32 -21
- 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/combo_ctrl.rb +171 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/comboctrl.rb +128 -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 +3 -55
- data/lib/wx/doc/gen/art_provider.rb +1 -3
- 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 -349
- 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 -37
- 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 -2
- data/lib/wx/doc/gen/colour_dialog.rb +2 -2
- 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 +4 -3
- data/lib/wx/doc/gen/combo_ctrl.rb +92 -228
- 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 -4
- 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 -2
- 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 +3 -25
- 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 -3
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +54 -62
- 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 +2 -59
- 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 -2
- 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 +2716 -2724
- 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 -2
- 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 -3
- 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 -2
- 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 -7
- 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 -3
- 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 -2
- 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 -1938
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -273
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -706
- 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 -384
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -265
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -144
- 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 -18
- 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 -85
- 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 -279
- 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 -44
- 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 -2
- 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 -2
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -2
- 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 +2 -2
- 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 -4199
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7508
- 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 -2
- 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 -6
- 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 -3
- 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 -2
- 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 -2
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -2
- 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/doc/owner_drawn_combobox.rb +5 -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
- data/tests/test_combo_ctrl.rb +196 -0
- metadata +25 -4
@@ -6,522 +6,526 @@
|
|
6
6
|
|
7
7
|
module Wx::HTML
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
#
|
13
|
-
HTML_ALIGN_RIGHT = 2
|
14
|
-
|
15
|
-
#
|
16
|
-
HTML_ALIGN_JUSTIFY = 16
|
17
|
-
|
18
|
-
#
|
19
|
-
HTML_ALIGN_TOP = 4
|
20
|
-
|
21
|
-
#
|
22
|
-
HTML_ALIGN_BOTTOM = 8
|
23
|
-
|
24
|
-
#
|
25
|
-
HTML_ALIGN_CENTER = 1
|
26
|
-
|
27
|
-
#
|
28
|
-
HTML_CLR_FOREGROUND = 1
|
29
|
-
|
30
|
-
#
|
31
|
-
HTML_CLR_BACKGROUND = 2
|
32
|
-
|
33
|
-
#
|
34
|
-
HTML_CLR_TRANSPARENT_BACKGROUND = 4
|
35
|
-
|
36
|
-
#
|
37
|
-
HTML_UNITS_PIXELS = 1
|
38
|
-
|
39
|
-
#
|
40
|
-
HTML_UNITS_PERCENT = 2
|
41
|
-
|
42
|
-
#
|
43
|
-
HTML_INDENT_LEFT = 16
|
44
|
-
|
45
|
-
#
|
46
|
-
HTML_INDENT_RIGHT = 32
|
47
|
-
|
48
|
-
#
|
49
|
-
HTML_INDENT_TOP = 64
|
50
|
-
|
51
|
-
#
|
52
|
-
HTML_INDENT_BOTTOM = 128
|
53
|
-
|
54
|
-
#
|
55
|
-
HTML_INDENT_HORIZONTAL = 48
|
56
|
-
|
57
|
-
#
|
58
|
-
HTML_INDENT_VERTICAL = 192
|
59
|
-
|
60
|
-
#
|
61
|
-
HTML_INDENT_ALL = 240
|
62
|
-
|
63
|
-
#
|
64
|
-
HTML_COND_ISANCHOR = 1
|
65
|
-
|
66
|
-
#
|
67
|
-
HTML_COND_ISIMAGEMAP = 2
|
68
|
-
|
69
|
-
#
|
70
|
-
HTML_COND_USER = 10000
|
71
|
-
|
72
|
-
#
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
# @wxrb_require USE_HTML
|
77
|
-
class HtmlSelectionState < Wx::Enum
|
78
|
-
|
79
|
-
#
|
80
|
-
#
|
81
|
-
HTML_SEL_OUT = Wx::HTML::HtmlSelectionState.new(0)
|
82
|
-
|
83
|
-
#
|
84
|
-
#
|
85
|
-
HTML_SEL_IN = Wx::HTML::HtmlSelectionState.new(1)
|
86
|
-
|
87
|
-
#
|
88
|
-
#
|
89
|
-
HTML_SEL_CHANGING = Wx::HTML::HtmlSelectionState.new(2)
|
90
|
-
|
91
|
-
end # HtmlSelectionState
|
92
|
-
|
93
|
-
#
|
94
|
-
#
|
95
|
-
HTML_FIND_EXACT = 1
|
96
|
-
|
97
|
-
#
|
98
|
-
#
|
99
|
-
HTML_FIND_NEAREST_BEFORE = 2
|
100
|
-
|
101
|
-
#
|
102
|
-
#
|
103
|
-
HTML_FIND_NEAREST_AFTER = 4
|
104
|
-
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
# @wxrb_require USE_HTML
|
110
|
-
class HtmlScriptMode < Wx::Enum
|
111
|
-
|
112
|
-
#
|
113
|
-
#
|
114
|
-
HTML_SCRIPT_NORMAL = Wx::HTML::HtmlScriptMode.new(0)
|
115
|
-
|
116
|
-
#
|
117
|
-
#
|
118
|
-
HTML_SCRIPT_SUB = Wx::HTML::HtmlScriptMode.new(1)
|
119
|
-
|
120
|
-
#
|
121
|
-
#
|
122
|
-
HTML_SCRIPT_SUP = Wx::HTML::HtmlScriptMode.new(2)
|
123
|
-
|
124
|
-
end # HtmlScriptMode
|
125
|
-
|
126
|
-
# Internal data structure.
|
127
|
-
#
|
128
|
-
# It represents fragments of parsed HTML page, the so-called <b>cell</b> - a word, picture, table, horizontal line and so on. It is used by {Wx::HTML::HtmlWindow} and {Wx::HtmlWinParser} to represent HTML page in memory.
|
129
|
-
# You can divide cells into two groups : visible cells with non-zero width and height and helper cells (usually with zero width and height) that perform special actions such as color or font change.
|
130
|
-
#
|
131
|
-
# Category: {Wx::HTML}
|
132
|
-
# @see Cells and Containers
|
133
|
-
# @see Wx::HTML::HtmlContainerCell
|
134
|
-
#
|
135
|
-
#
|
136
|
-
# @wxrb_require USE_HTML
|
137
|
-
class HtmlCell < Object
|
138
|
-
|
139
|
-
# Constructor.
|
140
|
-
# @return [Wx::HTML::HtmlCell]
|
141
|
-
def initialize; end
|
142
|
-
|
143
|
-
# Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
|
144
|
-
#
|
145
|
-
# Returns NULL if no such cell exists. The flag can be used to specify whether to look for terminal or nonterminal cells or both. In either case, returned cell is deepest cell in cells tree that contains [x,y].
|
146
|
-
# @param x [Integer]
|
147
|
-
# @param y [Integer]
|
148
|
-
# @param flags [unsigned]
|
149
|
-
# @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
|
150
|
-
def find_cell_by_pos(x, y, flags=Wx::HTML::HTML_FIND_EXACT) end
|
151
|
-
|
152
|
-
# Returns descent value of the cell (m_Descent member).
|
153
|
-
#
|
154
|
-
# See explanation:
|
155
|
-
# @return [Integer]
|
156
|
-
def get_descent; end
|
157
|
-
alias_method :descent, :get_descent
|
158
|
-
|
159
|
-
# Returns pointer to the first cell in the list.
|
9
|
+
module Wx::HTML
|
10
|
+
|
160
11
|
#
|
161
|
-
|
12
|
+
HTML_ALIGN_LEFT = 0
|
13
|
+
|
162
14
|
#
|
163
|
-
|
164
|
-
|
165
|
-
#
|
166
|
-
|
167
|
-
|
168
|
-
#
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
#
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
#
|
184
|
-
|
185
|
-
|
186
|
-
#
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
#
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
#
|
202
|
-
|
203
|
-
|
204
|
-
#
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
#
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
#
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
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
|
-
#
|
256
|
-
|
257
|
-
|
258
|
-
#
|
259
|
-
#
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
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
|
-
|
15
|
+
HTML_ALIGN_RIGHT = 2
|
16
|
+
|
17
|
+
#
|
18
|
+
HTML_ALIGN_JUSTIFY = 16
|
19
|
+
|
20
|
+
#
|
21
|
+
HTML_ALIGN_TOP = 4
|
22
|
+
|
23
|
+
#
|
24
|
+
HTML_ALIGN_BOTTOM = 8
|
25
|
+
|
26
|
+
#
|
27
|
+
HTML_ALIGN_CENTER = 1
|
28
|
+
|
29
|
+
#
|
30
|
+
HTML_CLR_FOREGROUND = 1
|
31
|
+
|
32
|
+
#
|
33
|
+
HTML_CLR_BACKGROUND = 2
|
34
|
+
|
35
|
+
#
|
36
|
+
HTML_CLR_TRANSPARENT_BACKGROUND = 4
|
37
|
+
|
38
|
+
#
|
39
|
+
HTML_UNITS_PIXELS = 1
|
40
|
+
|
41
|
+
#
|
42
|
+
HTML_UNITS_PERCENT = 2
|
43
|
+
|
44
|
+
#
|
45
|
+
HTML_INDENT_LEFT = 16
|
46
|
+
|
47
|
+
#
|
48
|
+
HTML_INDENT_RIGHT = 32
|
49
|
+
|
50
|
+
#
|
51
|
+
HTML_INDENT_TOP = 64
|
52
|
+
|
53
|
+
#
|
54
|
+
HTML_INDENT_BOTTOM = 128
|
55
|
+
|
56
|
+
#
|
57
|
+
HTML_INDENT_HORIZONTAL = 48
|
58
|
+
|
59
|
+
#
|
60
|
+
HTML_INDENT_VERTICAL = 192
|
61
|
+
|
62
|
+
#
|
63
|
+
HTML_INDENT_ALL = 240
|
64
|
+
|
65
|
+
#
|
66
|
+
HTML_COND_ISANCHOR = 1
|
67
|
+
|
68
|
+
#
|
69
|
+
HTML_COND_ISIMAGEMAP = 2
|
70
|
+
|
71
|
+
#
|
72
|
+
HTML_COND_USER = 10000
|
73
|
+
|
74
|
+
#
|
75
|
+
#
|
76
|
+
#
|
77
|
+
#
|
78
|
+
# @wxrb_require USE_HTML
|
79
|
+
class HtmlSelectionState < Wx::Enum
|
80
|
+
|
81
|
+
#
|
82
|
+
#
|
83
|
+
HTML_SEL_OUT = Wx::HTML::HtmlSelectionState.new(0)
|
84
|
+
|
85
|
+
#
|
86
|
+
#
|
87
|
+
HTML_SEL_IN = Wx::HTML::HtmlSelectionState.new(1)
|
88
|
+
|
89
|
+
#
|
90
|
+
#
|
91
|
+
HTML_SEL_CHANGING = Wx::HTML::HtmlSelectionState.new(2)
|
92
|
+
|
93
|
+
end # HtmlSelectionState
|
94
|
+
|
95
|
+
#
|
96
|
+
#
|
97
|
+
HTML_FIND_EXACT = 1
|
98
|
+
|
99
|
+
#
|
100
|
+
#
|
101
|
+
HTML_FIND_NEAREST_BEFORE = 2
|
102
|
+
|
103
|
+
#
|
104
|
+
#
|
105
|
+
HTML_FIND_NEAREST_AFTER = 4
|
106
|
+
|
107
|
+
#
|
108
|
+
#
|
109
|
+
#
|
110
|
+
#
|
111
|
+
# @wxrb_require USE_HTML
|
112
|
+
class HtmlScriptMode < Wx::Enum
|
113
|
+
|
114
|
+
#
|
115
|
+
#
|
116
|
+
HTML_SCRIPT_NORMAL = Wx::HTML::HtmlScriptMode.new(0)
|
117
|
+
|
118
|
+
#
|
119
|
+
#
|
120
|
+
HTML_SCRIPT_SUB = Wx::HTML::HtmlScriptMode.new(1)
|
121
|
+
|
122
|
+
#
|
123
|
+
#
|
124
|
+
HTML_SCRIPT_SUP = Wx::HTML::HtmlScriptMode.new(2)
|
125
|
+
|
126
|
+
end # HtmlScriptMode
|
127
|
+
|
128
|
+
# Internal data structure.
|
129
|
+
#
|
130
|
+
# It represents fragments of parsed HTML page, the so-called <b>cell</b> - a word, picture, table, horizontal line and so on. It is used by {Wx::HTML::HtmlWindow} and {Wx::HtmlWinParser} to represent HTML page in memory.
|
131
|
+
# You can divide cells into two groups : visible cells with non-zero width and height and helper cells (usually with zero width and height) that perform special actions such as color or font change.
|
132
|
+
#
|
133
|
+
# Category: {Wx::HTML}
|
134
|
+
# @see Cells and Containers
|
135
|
+
# @see Wx::HTML::HtmlContainerCell
|
136
|
+
#
|
137
|
+
#
|
138
|
+
# @wxrb_require USE_HTML
|
139
|
+
class HtmlCell < Object
|
140
|
+
|
141
|
+
# Constructor.
|
142
|
+
# @return [Wx::HTML::HtmlCell]
|
143
|
+
def initialize; end
|
144
|
+
|
145
|
+
# Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
|
146
|
+
#
|
147
|
+
# Returns NULL if no such cell exists. The flag can be used to specify whether to look for terminal or nonterminal cells or both. In either case, returned cell is deepest cell in cells tree that contains [x,y].
|
148
|
+
# @param x [Integer]
|
149
|
+
# @param y [Integer]
|
150
|
+
# @param flags [unsigned]
|
151
|
+
# @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
|
152
|
+
def find_cell_by_pos(x, y, flags=Wx::HTML::HTML_FIND_EXACT) end
|
153
|
+
|
154
|
+
# Returns descent value of the cell (m_Descent member).
|
155
|
+
#
|
156
|
+
# See explanation:
|
157
|
+
# @return [Integer]
|
158
|
+
def get_descent; end
|
159
|
+
alias_method :descent, :get_descent
|
160
|
+
|
161
|
+
# Returns pointer to the first cell in the list.
|
162
|
+
#
|
163
|
+
# You can then use child's {Wx::HTML::HtmlCell#get_next} method to obtain pointer to the next cell in list.
|
164
|
+
#
|
165
|
+
# <div class="wxrb-note">
|
166
|
+
# <b>Note:</b>
|
167
|
+
# <p>This shouldn't be used by the end user. If you need some way of finding particular cell in the list, try {Wx::HTML::HtmlCell#find} method instead.
|
168
|
+
# </p>
|
169
|
+
# </div>
|
170
|
+
# @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
|
171
|
+
def get_first_child; end
|
172
|
+
alias_method :first_child, :get_first_child
|
173
|
+
|
174
|
+
# Returns height of the cell (m_Height member).
|
175
|
+
# @return [Integer]
|
176
|
+
def get_height; end
|
177
|
+
alias_method :height, :get_height
|
178
|
+
|
179
|
+
# Returns unique cell identifier if there is any, the empty string otherwise.
|
180
|
+
# @return [Wx::String]
|
181
|
+
def get_id; end
|
182
|
+
alias_method :id, :get_id
|
183
|
+
|
184
|
+
# Returns hypertext link if associated with this cell or NULL otherwise.
|
185
|
+
#
|
186
|
+
# See {Wx::HTML::HtmlLinkInfo}. (Note: this makes sense only for visible tags).
|
187
|
+
# @param x [Integer] Coordinates of position where the user pressed mouse button. These coordinates are used e.g. by COLORMAP. Values are relative to the upper left corner of THIS cell (i.e. from 0 to m_Width or m_Height)
|
188
|
+
# @param y [Integer]
|
189
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
190
|
+
def get_link(x=0, y=0) end
|
191
|
+
alias_method :link, :get_link
|
192
|
+
|
193
|
+
# Returns pointer to the next cell in list (see {Wx::htmlcell.h} if you're interested in details).
|
194
|
+
# @return [Wx::HTML::HtmlCell,Wx::HTML::HtmlContainerCell]
|
195
|
+
def get_next; end
|
196
|
+
alias_method :next_, :get_next
|
197
|
+
|
198
|
+
# Returns pointer to parent container.
|
199
|
+
# @return [Wx::HTML::HtmlContainerCell]
|
200
|
+
def get_parent; end
|
201
|
+
alias_method :parent, :get_parent
|
202
|
+
|
203
|
+
# Returns X position within parent (the value is relative to parent's upper left corner).
|
204
|
+
#
|
205
|
+
# The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
|
206
|
+
# @return [Integer]
|
207
|
+
def get_pos_x; end
|
208
|
+
alias_method :pos_x, :get_pos_x
|
209
|
+
|
210
|
+
# Returns Y position within parent (the value is relative to parent's upper left corner).
|
211
|
+
#
|
212
|
+
# The returned value is meaningful only if parent's {Wx::HTML::HtmlCell#layout} was called before!
|
213
|
+
# @return [Integer]
|
214
|
+
def get_pos_y; end
|
215
|
+
alias_method :pos_y, :get_pos_y
|
216
|
+
|
217
|
+
# Returns width of the cell (m_Width member).
|
218
|
+
# @return [Integer]
|
219
|
+
def get_width; end
|
220
|
+
alias_method :width, :get_width
|
221
|
+
|
222
|
+
# Sets unique cell identifier.
|
223
|
+
#
|
224
|
+
# Default value is no identifier, i.e. empty string.
|
225
|
+
# @param id [String]
|
226
|
+
# @return [void]
|
227
|
+
def set_id(id) end
|
228
|
+
alias_method :id=, :set_id
|
229
|
+
|
230
|
+
# Sets the hypertext link associated with this cell.
|
231
|
+
#
|
232
|
+
# (Default value is {Wx::HTML::HtmlLinkInfo}("", "") (no link))
|
233
|
+
# @param link [Wx::HTML::HtmlLinkInfo]
|
234
|
+
# @return [void]
|
235
|
+
def set_link(link) end
|
236
|
+
alias_method :link=, :set_link
|
237
|
+
|
238
|
+
# Sets the next cell in the list.
|
239
|
+
#
|
240
|
+
# This shouldn't be called by user - it is to be used only by {Wx::HTML::HtmlContainerCell#insert_cell}.
|
241
|
+
# @param cell [Wx::HTML::HtmlCell]
|
242
|
+
# @return [void]
|
243
|
+
def set_next(cell) end
|
244
|
+
alias_method :next_=, :set_next
|
245
|
+
|
246
|
+
# Sets parent container of this cell.
|
247
|
+
#
|
248
|
+
# This is called from {Wx::HTML::HtmlContainerCell#insert_cell}.
|
249
|
+
# @param p [Wx::HTML::HtmlContainerCell]
|
250
|
+
# @return [void]
|
251
|
+
def set_parent(p) end
|
252
|
+
alias_method :parent=, :set_parent
|
253
|
+
|
254
|
+
# Sets the cell's position within parent container.
|
255
|
+
# @param x [Integer]
|
256
|
+
# @param y [Integer]
|
257
|
+
# @return [void]
|
258
|
+
def set_pos(x, y) end
|
259
|
+
|
260
|
+
# Converts the cell into text representation.
|
261
|
+
#
|
262
|
+
# If sel != NULL then only part of the cell inside the selection is converted.
|
263
|
+
# @param sel [Wx::HTML::HtmlSelection]
|
264
|
+
# @return [String]
|
265
|
+
def convert_to_text(sel) end
|
266
|
+
|
267
|
+
end # HtmlCell
|
268
|
+
|
269
|
+
# This class stores all necessary information about hypertext links (as represented by <A> tag in HTML documents).
|
270
|
+
#
|
271
|
+
# In current implementation it stores URL and target frame name.
|
363
272
|
#
|
364
273
|
# <div class="wxrb-note">
|
365
274
|
# <b>Note:</b>
|
366
|
-
# <p>
|
275
|
+
# <p>Frames are not currently supported by {Wx::HTML}!
|
367
276
|
# </p>
|
368
277
|
# </div>
|
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
|
-
#
|
421
|
-
# @
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
278
|
+
#
|
279
|
+
# Category: {Wx::HTML}
|
280
|
+
#
|
281
|
+
#
|
282
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
283
|
+
# @wxrb_require USE_HTML
|
284
|
+
class HtmlLinkInfo < Object
|
285
|
+
|
286
|
+
# @overload initialize()
|
287
|
+
# Default ctor.
|
288
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
289
|
+
# @overload initialize(href, target=(''))
|
290
|
+
# Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
|
291
|
+
# @param href [String]
|
292
|
+
# @param target [String]
|
293
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
294
|
+
def initialize(*args) end
|
295
|
+
|
296
|
+
# Return pointer to event that generated OnLinkClicked() event.
|
297
|
+
#
|
298
|
+
# Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
|
299
|
+
# @return [Wx::MouseEvent]
|
300
|
+
def get_event; end
|
301
|
+
alias_method :event, :get_event
|
302
|
+
|
303
|
+
# Return HREF value of the <A> tag.
|
304
|
+
# @return [String]
|
305
|
+
def get_href; end
|
306
|
+
alias_method :href, :get_href
|
307
|
+
|
308
|
+
# Return pointer to the cell that was clicked.
|
309
|
+
#
|
310
|
+
# Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
|
311
|
+
# @return [Wx::HTML::HtmlCell]
|
312
|
+
def get_html_cell; end
|
313
|
+
alias_method :html_cell, :get_html_cell
|
314
|
+
|
315
|
+
# Return TARGET value of the <A> tag (this value is used to specify in which frame should be the page pointed by {Wx::HTML::HtmlLinkInfo#get_href} Href opened).
|
316
|
+
# @return [String]
|
317
|
+
def get_target; end
|
318
|
+
alias_method :target, :get_target
|
319
|
+
|
320
|
+
end # HtmlLinkInfo
|
321
|
+
|
322
|
+
# The {Wx::HTML::HtmlContainerCell} class is an implementation of a cell that may contain more cells in it.
|
323
|
+
#
|
324
|
+
# It is heavily used in the {Wx::HTML} layout algorithm.
|
325
|
+
#
|
326
|
+
# Category: {Wx::HTML}
|
327
|
+
# @see Cells and Containers
|
328
|
+
#
|
329
|
+
#
|
330
|
+
# @wxrb_require USE_HTML
|
331
|
+
class HtmlContainerCell < HtmlCell
|
332
|
+
|
333
|
+
# Constructor.
|
334
|
+
#
|
335
|
+
# parent is pointer to parent container or NULL.
|
336
|
+
# @param parent [Wx::HTML::HtmlContainerCell]
|
337
|
+
# @return [Wx::HTML::HtmlContainerCell]
|
338
|
+
def initialize(parent) end
|
339
|
+
|
340
|
+
# Detach a child cell.
|
341
|
+
#
|
342
|
+
# Detaching a cell removes it from this container and allows reattaching it to another one by using {Wx::HTML::HtmlContainerCell#insert_cell}. Alternatively, this method can be used to selectively remove some elements of the HTML document tree by deleting the cell after calling it.
|
343
|
+
# @param cell [Wx::HTML::HtmlCell] Must be non-null and an immediate child of this cell.
|
344
|
+
# @return [void]
|
345
|
+
def detach(cell) end
|
346
|
+
|
347
|
+
# Returns container's horizontal alignment.
|
348
|
+
# @return [Integer]
|
349
|
+
def get_align_hor; end
|
350
|
+
alias_method :align_hor, :get_align_hor
|
351
|
+
|
352
|
+
# Returns container's vertical alignment.
|
353
|
+
# @return [Integer]
|
354
|
+
def get_align_ver; end
|
355
|
+
alias_method :align_ver, :get_align_ver
|
356
|
+
|
357
|
+
# Returns the background colour of the container or {Wx::NULL_COLOUR} if no background colour is set.
|
358
|
+
# @return [Wx::Colour]
|
359
|
+
def get_background_colour; end
|
360
|
+
alias_method :background_colour, :get_background_colour
|
361
|
+
|
362
|
+
# Returns the indentation.
|
363
|
+
#
|
364
|
+
# ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
|
365
|
+
#
|
366
|
+
# <div class="wxrb-note">
|
367
|
+
# <b>Note:</b>
|
368
|
+
# <p>You must call {Wx::HTML::HtmlContainerCell#get_indent_units} with same ind parameter in order to correctly interpret the returned integer value. It is NOT always in pixels!
|
369
|
+
# </p>
|
370
|
+
# </div>
|
371
|
+
# @param ind [Integer]
|
372
|
+
# @return [Integer]
|
373
|
+
def get_indent(ind) end
|
374
|
+
alias_method :indent, :get_indent
|
375
|
+
|
376
|
+
# Returns the units of indentation for ind where ind is one of the <b>{Wx::HTML_INDENT_}*</b> constants.
|
377
|
+
# @param ind [Integer]
|
378
|
+
# @return [Integer]
|
379
|
+
def get_indent_units(ind) end
|
380
|
+
alias_method :indent_units, :get_indent_units
|
381
|
+
|
382
|
+
# Inserts a new cell into the container.
|
383
|
+
#
|
384
|
+
# Note that the container takes ownership of the cell and will delete it when it itself is destroyed.
|
385
|
+
# @param cell [Wx::HTML::HtmlCell]
|
386
|
+
# @return [void]
|
387
|
+
def insert_cell(cell) end
|
388
|
+
|
389
|
+
# Sets the container's horizontal alignment.
|
390
|
+
#
|
391
|
+
# During {Wx::HTML::HtmlCell#layout} each line is aligned according to al value.
|
392
|
+
# @param al [Integer] new horizontal alignment. May be one of these values:
|
393
|
+
#
|
394
|
+
# - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)
|
395
|
+
# - {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified
|
396
|
+
# - {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered
|
397
|
+
# - {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
|
398
|
+
# @return [void]
|
399
|
+
def set_align_hor(al) end
|
400
|
+
alias_method :align_hor=, :set_align_hor
|
401
|
+
|
402
|
+
# Sets the container's vertical alignment.
|
403
|
+
#
|
404
|
+
# This is per-line alignment!
|
405
|
+
# @param al [Integer] new vertical alignment. May be one of these values:
|
406
|
+
#
|
407
|
+
# - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)
|
408
|
+
# - {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line
|
409
|
+
# - {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
|
410
|
+
# @return [void]
|
411
|
+
def set_align_ver(al) end
|
412
|
+
alias_method :align_ver=, :set_align_ver
|
413
|
+
|
414
|
+
# Sets the background colour for this container.
|
415
|
+
# @param clr [Wx::Colour,String,Symbol]
|
416
|
+
# @return [void]
|
417
|
+
def set_background_colour(clr) end
|
418
|
+
alias_method :background_colour=, :set_background_colour
|
419
|
+
|
420
|
+
# Sets the border (frame) colours.
|
421
|
+
#
|
422
|
+
# A border is a rectangle around the container.
|
423
|
+
# @param clr1 [Wx::Colour,String,Symbol] Colour of top and left lines
|
424
|
+
# @param clr2 [Wx::Colour,String,Symbol] Colour of bottom and right lines
|
425
|
+
# @param border [Integer] Size of the border in pixels
|
426
|
+
# @return [void]
|
427
|
+
def set_border(clr1, clr2, border=1) end
|
428
|
+
|
429
|
+
# Sets the indentation (free space between borders of container and subcells).
|
430
|
+
# @param i [Integer] Indentation value.
|
431
|
+
# @param what [Integer] Determines which of the four borders we're setting. It is OR combination of following constants:
|
432
|
+
#
|
433
|
+
# - {Wx::HTML::HTML_INDENT_TOP}: top border
|
434
|
+
# - {Wx::HTML::HTML_INDENT_BOTTOM}: bottom
|
435
|
+
# - {Wx::HTML::HTML_INDENT_LEFT}: left
|
436
|
+
# - {Wx::HTML::HTML_INDENT_RIGHT}: right
|
437
|
+
# - {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right
|
438
|
+
# - {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom
|
439
|
+
# - {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
|
440
|
+
# @param units [Integer] Units of i. This parameter affects interpretation of value.
|
441
|
+
#
|
442
|
+
# - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels
|
443
|
+
# - {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
|
444
|
+
# @return [void]
|
445
|
+
def set_indent(i, what, units=Wx::HTML::HTML_UNITS_PIXELS) end
|
446
|
+
|
447
|
+
# Sets minimal height of the container.
|
448
|
+
#
|
449
|
+
# When container's {Wx::HTML::HtmlCell#layout} is called, m_Height is set depending on layout of subcells to the height of area covered by layed-out subcells. Calling this method guarantees you that the height of container is never smaller than h - even if the subcells cover much smaller area.
|
450
|
+
# @param h [Integer] The minimal height.
|
451
|
+
# @param align [Integer] If height of the container is lower than the minimum height, empty space must be inserted somewhere in order to ensure minimal height. This parameter is one of {Wx::HTML::HTML_ALIGN_TOP}, {Wx::HTML::HTML_ALIGN_BOTTOM}, {Wx::HTML::HTML_ALIGN_CENTER}. It refers to the contents, not to the empty place.
|
452
|
+
# @return [void]
|
453
|
+
def set_min_height(h, align=Wx::HTML::HTML_ALIGN_TOP) end
|
454
|
+
alias_method :min_height=, :set_min_height
|
455
|
+
|
456
|
+
end # HtmlContainerCell
|
457
|
+
|
458
|
+
#
|
459
|
+
#
|
460
|
+
#
|
461
|
+
#
|
462
|
+
#
|
463
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
464
|
+
# @wxrb_require USE_HTML
|
465
|
+
class HtmlSelection < ::Object
|
466
|
+
|
467
|
+
# @return [Wx::HTML::HtmlSelection]
|
468
|
+
def initialize; end
|
469
|
+
|
470
|
+
# @overload set(fromPos, fromCell, toPos, toCell)
|
471
|
+
# @param fromPos [Array(Integer, Integer), Wx::Point]
|
472
|
+
# @param fromCell [Wx::HTML::HtmlCell]
|
473
|
+
# @param toPos [Array(Integer, Integer), Wx::Point]
|
474
|
+
# @param toCell [Wx::HTML::HtmlCell]
|
475
|
+
# @return [void]
|
476
|
+
# @overload set(fromCell, toCell)
|
477
|
+
# @param fromCell [Wx::HTML::HtmlCell]
|
478
|
+
# @param toCell [Wx::HTML::HtmlCell]
|
479
|
+
# @return [void]
|
480
|
+
def set(*args) end
|
481
|
+
|
482
|
+
# @return [Wx::HTML::HtmlCell]
|
483
|
+
def get_from_cell; end
|
484
|
+
alias_method :from_cell, :get_from_cell
|
485
|
+
|
486
|
+
# @return [Wx::HTML::HtmlCell]
|
487
|
+
def get_to_cell; end
|
488
|
+
alias_method :to_cell, :get_to_cell
|
489
|
+
|
490
|
+
# @return [Wx::Point]
|
491
|
+
def get_from_pos; end
|
492
|
+
alias_method :from_pos, :get_from_pos
|
493
|
+
|
494
|
+
# @return [Wx::Point]
|
495
|
+
def get_to_pos; end
|
496
|
+
alias_method :to_pos, :get_to_pos
|
497
|
+
|
498
|
+
# @return [void]
|
499
|
+
def clear_from_to_character_pos; end
|
500
|
+
|
501
|
+
# @return [Boolean]
|
502
|
+
def are_from_to_character_pos_set; end
|
503
|
+
|
504
|
+
# @param pos [Integer]
|
505
|
+
# @return [void]
|
506
|
+
def set_from_character_pos(pos) end
|
507
|
+
alias_method :from_character_pos=, :set_from_character_pos
|
508
|
+
|
509
|
+
# @param pos [Integer]
|
510
|
+
# @return [void]
|
511
|
+
def set_to_character_pos(pos) end
|
512
|
+
alias_method :to_character_pos=, :set_to_character_pos
|
513
|
+
|
514
|
+
# @return [Integer]
|
515
|
+
def get_from_character_pos; end
|
516
|
+
alias_method :from_character_pos, :get_from_character_pos
|
517
|
+
|
518
|
+
# @return [Integer]
|
519
|
+
def get_to_character_pos; end
|
520
|
+
alias_method :to_character_pos, :get_to_character_pos
|
521
|
+
|
522
|
+
# @return [Boolean]
|
523
|
+
def is_empty; end
|
524
|
+
alias_method :empty?, :is_empty
|
525
|
+
|
526
|
+
end # HtmlSelection
|
527
|
+
|
528
|
+
|
529
|
+
end
|
526
530
|
|
527
|
-
end
|
531
|
+
end
|