wxruby3 0.9.0.pre.rc.2-x64-mingw-ucrt → 0.9.0.pre.rc.3-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/INSTALL.md +30 -8
- data/README.md +3 -3
- 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/event_loop.rb +7 -0
- data/lib/wx/core/image.rb +33 -0
- data/lib/wx/core/listctrl.rb +17 -13
- data/lib/wx/core/log.rb +90 -0
- data/lib/wx/doc/bitmap.rb +11 -15
- data/lib/wx/doc/event_loop.rb +7 -0
- data/lib/wx/doc/extra/00_starting.md +6 -6
- data/lib/wx/doc/extra/02_lifecycles.md +9 -8
- data/lib/wx/doc/extra/09_exceptions.md +1 -1
- data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
- data/lib/wx/doc/font.rb +1 -1
- data/lib/wx/doc/functions.rb +51 -23
- data/lib/wx/doc/gc_dc.rb +1 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +6 -6
- data/lib/wx/doc/gen/accessible.rb +6 -2
- data/lib/wx/doc/gen/activity_indicator.rb +5 -5
- data/lib/wx/doc/gen/animation.rb +7 -7
- data/lib/wx/doc/gen/animation_ctrl.rb +7 -6
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +17 -11
- data/lib/wx/doc/gen/art_provider.rb +61 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +12 -12
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_manager.rb +45 -27
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +12 -6
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +10 -10
- data/lib/wx/doc/gen/aui/aui_notebook.rb +34 -7
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +17 -2
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +51 -51
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +6 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +33 -18
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +16 -16
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +4 -4
- data/lib/wx/doc/gen/bitmap.rb +32 -26
- data/lib/wx/doc/gen/bitmap_button.rb +10 -6
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -7
- data/lib/wx/doc/gen/book_ctrl_base.rb +7 -3
- data/lib/wx/doc/gen/book_ctrl_event.rb +2 -2
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +16 -4
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +19 -7
- data/lib/wx/doc/gen/calculate_layout_event.rb +2 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +28 -16
- data/lib/wx/doc/gen/calendar_date_attr.rb +2 -2
- data/lib/wx/doc/gen/calendar_event.rb +3 -3
- data/lib/wx/doc/gen/caret.rb +2 -2
- data/lib/wx/doc/gen/check_box.rb +10 -6
- data/lib/wx/doc/gen/check_list_box.rb +8 -7
- data/lib/wx/doc/gen/choice.rb +7 -6
- data/lib/wx/doc/gen/choicebook.rb +12 -6
- 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 +9 -6
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -1
- data/lib/wx/doc/gen/colour.rb +16 -6
- data/lib/wx/doc/gen/colour_dialog.rb +6 -6
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +15 -9
- data/lib/wx/doc/gen/colour_picker_event.rb +7 -4
- data/lib/wx/doc/gen/combo_box.rb +22 -13
- data/lib/wx/doc/gen/context_help_button.rb +4 -3
- data/lib/wx/doc/gen/control.rb +9 -6
- data/lib/wx/doc/gen/core.rb +5 -2
- data/lib/wx/doc/gen/cursor.rb +16 -11
- data/lib/wx/doc/gen/data_format.rb +2 -2
- data/lib/wx/doc/gen/data_object.rb +23 -16
- data/lib/wx/doc/gen/date_event.rb +3 -3
- data/lib/wx/doc/gen/date_picker_ctrl.rb +11 -6
- data/lib/wx/doc/gen/dc.rb +37 -12
- data/lib/wx/doc/gen/defs.rb +16 -16
- data/lib/wx/doc/gen/dialog.rb +19 -5
- data/lib/wx/doc/gen/dir_dialog.rb +6 -2
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -2
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -9
- data/lib/wx/doc/gen/drag_drop.rb +15 -15
- data/lib/wx/doc/gen/drag_image.rb +6 -6
- data/lib/wx/doc/gen/editable_list_box.rb +7 -3
- data/lib/wx/doc/gen/event.rb +44 -13
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +5 -2
- data/lib/wx/doc/gen/event_list.rb +15 -15
- data/lib/wx/doc/gen/events.rb +215 -79
- 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_dialog.rb +16 -7
- data/lib/wx/doc/gen/file_dir_picker_event.rb +5 -3
- data/lib/wx/doc/gen/file_picker_ctrl.rb +16 -8
- data/lib/wx/doc/gen/find_dialog_event.rb +7 -2
- 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 +12 -6
- data/lib/wx/doc/gen/font.rb +30 -29
- data/lib/wx/doc/gen/font_data.rb +9 -5
- data/lib/wx/doc/gen/font_dialog.rb +3 -3
- data/lib/wx/doc/gen/font_picker_ctrl.rb +10 -6
- data/lib/wx/doc/gen/font_picker_event.rb +2 -1
- data/lib/wx/doc/gen/frame.rb +34 -11
- data/lib/wx/doc/gen/fs_file.rb +4 -17
- data/lib/wx/doc/gen/gauge.rb +11 -7
- data/lib/wx/doc/gen/gcdc.rb +5 -1
- data/lib/wx/doc/gen/gdi_common.rb +35 -33
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
- data/lib/wx/doc/gen/graphics_context.rb +29 -28
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +10 -10
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +13 -10
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +12 -12
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +32 -18
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +5 -3
- data/lib/wx/doc/gen/grid/grid_event.rb +20 -3
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +7 -3
- data/lib/wx/doc/gen/grid/grid_size_event.rb +9 -3
- data/lib/wx/doc/gen/grid/grid_string_table.rb +2 -2
- data/lib/wx/doc/gen/grid/grid_table_base.rb +7 -7
- data/lib/wx/doc/gen/grid/grid_table_message.rb +5 -5
- data/lib/wx/doc/gen/grid_bag_sizer.rb +5 -5
- data/lib/wx/doc/gen/grid_sizer.rb +4 -4
- data/lib/wx/doc/gen/gui_event_loop.rb +132 -0
- data/lib/wx/doc/gen/help_controller.rb +18 -12
- data/lib/wx/doc/gen/html/html_cell.rb +36 -18
- data/lib/wx/doc/gen/html/html_cell_event.rb +5 -3
- data/lib/wx/doc/gen/html/html_easy_printing.rb +9 -4
- data/lib/wx/doc/gen/html/html_help_controller.rb +34 -8
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +6 -6
- data/lib/wx/doc/gen/html/html_help_window.rb +12 -8
- data/lib/wx/doc/gen/html/html_link_event.rb +4 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +15 -7
- data/lib/wx/doc/gen/html/html_printout.rb +15 -5
- data/lib/wx/doc/gen/html/html_window.rb +19 -8
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +12 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -1
- data/lib/wx/doc/gen/icon.rb +14 -14
- data/lib/wx/doc/gen/image.rb +119 -64
- data/lib/wx/doc/gen/image_list.rb +10 -6
- data/lib/wx/doc/gen/keyboard_state.rb +7 -7
- data/lib/wx/doc/gen/list_box.rb +30 -21
- data/lib/wx/doc/gen/list_ctrl.rb +169 -78
- data/lib/wx/doc/gen/list_event.rb +24 -2
- data/lib/wx/doc/gen/listbook.rb +12 -6
- data/lib/wx/doc/gen/locale.rb +11 -36
- data/lib/wx/doc/gen/log.rb +122 -45
- data/lib/wx/doc/gen/mdi_client_window.rb +2 -2
- data/lib/wx/doc/gen/mdi_frame.rb +15 -9
- data/lib/wx/doc/gen/media_ctrl.rb +7 -4
- data/lib/wx/doc/gen/media_event.rb +8 -2
- data/lib/wx/doc/gen/memory_dc.rb +23 -27
- data/lib/wx/doc/gen/menu.rb +9 -9
- data/lib/wx/doc/gen/menu_bar.rb +4 -4
- data/lib/wx/doc/gen/menu_item.rb +115 -34
- data/lib/wx/doc/gen/message_dialog.rb +48 -30
- data/lib/wx/doc/gen/mini_frame.rb +12 -3
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/non_owned_window.rb +6 -7
- data/lib/wx/doc/gen/notebook.rb +20 -15
- data/lib/wx/doc/gen/number_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/object.rb +2 -2
- data/lib/wx/doc/gen/palette.rb +3 -3
- data/lib/wx/doc/gen/panel.rb +4 -3
- data/lib/wx/doc/gen/pen.rb +25 -12
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +1 -1
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_cell.rb +12 -12
- data/lib/wx/doc/gen/pg/pg_editor.rb +76 -74
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -3
- data/lib/wx/doc/gen/pg/pg_properties.rb +221 -138
- data/lib/wx/doc/gen/pg/pg_property.rb +103 -54
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +1 -1
- data/lib/wx/doc/gen/pg/property_grid.rb +19 -19
- data/lib/wx/doc/gen/pg/property_grid_event.rb +18 -5
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +36 -24
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +12 -12
- data/lib/wx/doc/gen/pg/property_grid_page.rb +12 -11
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +8 -8
- data/lib/wx/doc/gen/picker_base.rb +12 -11
- data/lib/wx/doc/gen/platform_info.rb +7 -7
- data/lib/wx/doc/gen/popup_window.rb +6 -6
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +19 -17
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +4 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/print_data.rb +24 -18
- data/lib/wx/doc/gen/prt/print_dialog.rb +4 -4
- data/lib/wx/doc/gen/prt/printer.rb +22 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +2 -1
- data/lib/wx/doc/gen/radio_box.rb +12 -10
- data/lib/wx/doc/gen/radio_button.rb +8 -6
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +39 -39
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +25 -7
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +9 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +6 -2
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -6
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +4 -2
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +5 -5
- data/lib/wx/doc/gen/region.rb +9 -8
- data/lib/wx/doc/gen/region_iterator.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +92 -92
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +56 -34
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +23 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +6 -6
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +9 -5
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -2
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +12 -12
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +1 -1
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +3 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +5 -3
- data/lib/wx/doc/gen/sash_window.rb +8 -3
- data/lib/wx/doc/gen/scroll_bar.rb +29 -8
- data/lib/wx/doc/gen/scrolled_canvas.rb +41 -23
- data/lib/wx/doc/gen/scrolled_control.rb +41 -23
- data/lib/wx/doc/gen/scrolled_window.rb +41 -23
- data/lib/wx/doc/gen/search_ctrl.rb +15 -8
- data/lib/wx/doc/gen/simplebook.rb +2 -2
- data/lib/wx/doc/gen/single_choice_dialog.rb +4 -2
- data/lib/wx/doc/gen/sizer.rb +29 -28
- data/lib/wx/doc/gen/slider.rb +49 -16
- data/lib/wx/doc/gen/spin_button.rb +15 -9
- data/lib/wx/doc/gen/spin_ctrl.rb +12 -6
- data/lib/wx/doc/gen/spin_event.rb +5 -2
- data/lib/wx/doc/gen/splash_screen.rb +16 -12
- data/lib/wx/doc/gen/splitter_event.rb +6 -2
- data/lib/wx/doc/gen/splitter_window.rb +20 -4
- data/lib/wx/doc/gen/static_bitmap.rb +5 -5
- data/lib/wx/doc/gen/static_box.rb +36 -32
- data/lib/wx/doc/gen/static_box_sizer.rb +13 -10
- data/lib/wx/doc/gen/static_line.rb +5 -4
- data/lib/wx/doc/gen/static_text.rb +12 -6
- data/lib/wx/doc/gen/status_bar.rb +14 -5
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +55 -7
- data/lib/wx/doc/gen/stc/styled_text_event.rb +224 -49
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +11 -2
- data/lib/wx/doc/gen/svg_file_dc.rb +3 -3
- data/lib/wx/doc/gen/system_options.rb +11 -1
- data/lib/wx/doc/gen/system_settings.rb +3 -3
- data/lib/wx/doc/gen/task_bar_icon.rb +10 -2
- data/lib/wx/doc/gen/task_bar_icon_event.rb +3 -3
- data/lib/wx/doc/gen/text_attr.rb +11 -7
- data/lib/wx/doc/gen/text_ctrl.rb +61 -92
- data/lib/wx/doc/gen/text_entry.rb +28 -40
- data/lib/wx/doc/gen/text_entry_dialog.rb +19 -19
- data/lib/wx/doc/gen/text_validator.rb +0 -11
- data/lib/wx/doc/gen/time_picker_ctrl.rb +6 -5
- data/lib/wx/doc/gen/timer.rb +8 -4
- data/lib/wx/doc/gen/timer_event.rb +19 -26
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +6 -5
- data/lib/wx/doc/gen/tool_bar.rb +41 -24
- data/lib/wx/doc/gen/tool_tip.rb +2 -2
- data/lib/wx/doc/gen/toolbook.rb +6 -3
- data/lib/wx/doc/gen/top_level_window.rb +35 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +63 -13
- data/lib/wx/doc/gen/tree_event.rb +23 -2
- data/lib/wx/doc/gen/treebook.rb +6 -2
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +9 -3
- data/lib/wx/doc/gen/v_list_box.rb +2 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +2 -2
- data/lib/wx/doc/gen/validator.rb +7 -5
- data/lib/wx/doc/gen/variant.rb +34 -97
- data/lib/wx/doc/gen/window.rb +157 -102
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +17 -4
- data/lib/wx/doc/gen/wizard_event.rb +9 -2
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +7 -7
- data/lib/wx/doc/gen/xml_node.rb +3 -3
- data/lib/wx/doc/gen/xml_resource.rb +12 -9
- data/lib/wx/doc/image.rb +42 -12
- data/lib/wx/doc/list_ctrl.rb +32 -0
- data/lib/wx/doc/log.rb +28 -0
- data/lib/wx/doc/prt/printer_dc.rb +2 -2
- data/lib/wx/doc/scaled_dc.rb +1 -1
- data/lib/wx/doc/text_validator.rb +12 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/tests/test_art.rb +9 -0
- data/tests/test_box_sizer.rb +161 -0
- data/tests/test_grid_sizer.rb +148 -0
- data/tests/test_list_ctrl.rb +53 -0
- data/tests/test_log.rb +163 -0
- data/tests/test_std_controls.rb +58 -0
- data/tests/test_timer.rb +95 -0
- metadata +13 -2
@@ -134,7 +134,7 @@ module Wx::HTML
|
|
134
134
|
class HtmlCell < Object
|
135
135
|
|
136
136
|
# Constructor.
|
137
|
-
# @return [HtmlCell]
|
137
|
+
# @return [Wx::HTML::HtmlCell]
|
138
138
|
def initialize; end
|
139
139
|
|
140
140
|
# Find a cell inside this cell positioned at the given coordinates (relative to this's positions).
|
@@ -172,7 +172,7 @@ module Wx::HTML
|
|
172
172
|
# See {Wx::HTML::HtmlLinkInfo}. (Note: this makes sense only for visible tags).
|
173
173
|
# @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)
|
174
174
|
# @param y [Integer]
|
175
|
-
# @return [Wx::HtmlLinkInfo]
|
175
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
176
176
|
def get_link(x=0, y=0) end
|
177
177
|
alias_method :link, :get_link
|
178
178
|
|
@@ -198,7 +198,7 @@ module Wx::HTML
|
|
198
198
|
alias_method :next_, :get_next
|
199
199
|
|
200
200
|
# Returns pointer to parent container.
|
201
|
-
# @return [Wx::HtmlContainerCell]
|
201
|
+
# @return [Wx::HTML::HtmlContainerCell]
|
202
202
|
def get_parent; end
|
203
203
|
alias_method :parent, :get_parent
|
204
204
|
|
@@ -228,21 +228,21 @@ module Wx::HTML
|
|
228
228
|
|
229
229
|
# Sets the hypertext link associated with this cell.
|
230
230
|
# (Default value is {Wx::HTML::HtmlLinkInfo}("", "") (no link))
|
231
|
-
# @param link [Wx::HtmlLinkInfo]
|
231
|
+
# @param link [Wx::HTML::HtmlLinkInfo]
|
232
232
|
# @return [void]
|
233
233
|
def set_link(link) end
|
234
234
|
alias_method :link=, :set_link
|
235
235
|
|
236
236
|
# Sets the next cell in the list.
|
237
237
|
# This shouldn't be called by user - it is to be used only by {Wx::HTML::HtmlContainerCell#insert_cell}.
|
238
|
-
# @param cell [Wx::HtmlCell]
|
238
|
+
# @param cell [Wx::HTML::HtmlCell]
|
239
239
|
# @return [void]
|
240
240
|
def set_next(cell) end
|
241
241
|
alias_method :next_=, :set_next
|
242
242
|
|
243
243
|
# Sets parent container of this cell.
|
244
244
|
# This is called from {Wx::HTML::HtmlContainerCell#insert_cell}.
|
245
|
-
# @param p [Wx::HtmlContainerCell]
|
245
|
+
# @param p [Wx::HTML::HtmlContainerCell]
|
246
246
|
# @return [void]
|
247
247
|
def set_parent(p) end
|
248
248
|
alias_method :parent=, :set_parent
|
@@ -275,12 +275,12 @@ module Wx::HTML
|
|
275
275
|
|
276
276
|
# @overload initialize()
|
277
277
|
# Default ctor.
|
278
|
-
# @return [HtmlLinkInfo]
|
278
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
279
279
|
# @overload initialize(href, target=(''))
|
280
280
|
# Construct hypertext link from HREF (aka URL) and TARGET (name of target frame).
|
281
281
|
# @param href [String]
|
282
282
|
# @param target [String]
|
283
|
-
# @return [HtmlLinkInfo]
|
283
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
284
284
|
def initialize(*args) end
|
285
285
|
|
286
286
|
# Return pointer to event that generated OnLinkClicked() event.
|
@@ -296,7 +296,7 @@ module Wx::HTML
|
|
296
296
|
|
297
297
|
# Return pointer to the cell that was clicked.
|
298
298
|
# Valid only within {Wx::HTML::HtmlWindow#on_link_clicked}, NULL otherwise.
|
299
|
-
# @return [Wx::HtmlCell]
|
299
|
+
# @return [Wx::HTML::HtmlCell]
|
300
300
|
def get_html_cell; end
|
301
301
|
alias_method :html_cell, :get_html_cell
|
302
302
|
|
@@ -319,13 +319,13 @@ module Wx::HTML
|
|
319
319
|
|
320
320
|
# Constructor.
|
321
321
|
# parent is pointer to parent container or NULL.
|
322
|
-
# @param parent [Wx::HtmlContainerCell]
|
323
|
-
# @return [HtmlContainerCell]
|
322
|
+
# @param parent [Wx::HTML::HtmlContainerCell]
|
323
|
+
# @return [Wx::HTML::HtmlContainerCell]
|
324
324
|
def initialize(parent) end
|
325
325
|
|
326
326
|
# Detach a child cell.
|
327
327
|
# 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.
|
328
|
-
# @param cell [Wx::HtmlCell] Must be non-null and an immediate child of this cell.
|
328
|
+
# @param cell [Wx::HTML::HtmlCell] Must be non-null and an immediate child of this cell.
|
329
329
|
# @return [void]
|
330
330
|
def detach(cell) end
|
331
331
|
|
@@ -360,7 +360,7 @@ module Wx::HTML
|
|
360
360
|
|
361
361
|
# Inserts a new cell into the container.
|
362
362
|
# Note that the container takes ownership of the cell and will delete it when it itself is destroyed.
|
363
|
-
# @param cell [Wx::HtmlCell]
|
363
|
+
# @param cell [Wx::HTML::HtmlCell]
|
364
364
|
# @return [void]
|
365
365
|
def insert_cell(cell) end
|
366
366
|
|
@@ -374,7 +374,11 @@ module Wx::HTML
|
|
374
374
|
# Sets the container's horizontal alignment.
|
375
375
|
# During {Wx::HTML::HtmlCell#layout} each line is aligned according to al value.
|
376
376
|
# @param al [Integer] new horizontal alignment. May be one of these values:
|
377
|
-
#
|
377
|
+
#
|
378
|
+
# - {Wx::HTML::HTML_ALIGN_LEFT}: lines are left-aligned (default)
|
379
|
+
# - {Wx::HTML::HTML_ALIGN_JUSTIFY}: lines are justified
|
380
|
+
# - {Wx::HTML::HTML_ALIGN_CENTER}: lines are centered
|
381
|
+
# - {Wx::HTML::HTML_ALIGN_RIGHT}: lines are right-aligned
|
378
382
|
# @return [void]
|
379
383
|
def set_align_hor(al) end
|
380
384
|
alias_method :align_hor=, :set_align_hor
|
@@ -382,7 +386,10 @@ module Wx::HTML
|
|
382
386
|
# Sets the container's vertical alignment.
|
383
387
|
# This is per-line alignment!
|
384
388
|
# @param al [Integer] new vertical alignment. May be one of these values:
|
385
|
-
#
|
389
|
+
#
|
390
|
+
# - {Wx::HTML::HTML_ALIGN_BOTTOM}: cells are over the line (default)
|
391
|
+
# - {Wx::HTML::HTML_ALIGN_CENTER}: cells are centered on line
|
392
|
+
# - {Wx::HTML::HTML_ALIGN_TOP}: cells are under the line
|
386
393
|
# @return [void]
|
387
394
|
def set_align_ver(al) end
|
388
395
|
alias_method :align_ver=, :set_align_ver
|
@@ -404,9 +411,18 @@ module Wx::HTML
|
|
404
411
|
# Sets the indentation (free space between borders of container and subcells).
|
405
412
|
# @param i [Integer] Indentation value.
|
406
413
|
# @param what [Integer] Determines which of the four borders we're setting. It is OR combination of following constants:
|
407
|
-
#
|
414
|
+
#
|
415
|
+
# - {Wx::HTML::HTML_INDENT_TOP}: top border
|
416
|
+
# - {Wx::HTML::HTML_INDENT_BOTTOM}: bottom
|
417
|
+
# - {Wx::HTML::HTML_INDENT_LEFT}: left
|
418
|
+
# - {Wx::HTML::HTML_INDENT_RIGHT}: right
|
419
|
+
# - {Wx::HTML::HTML_INDENT_HORIZONTAL}: left and right
|
420
|
+
# - {Wx::HTML::HTML_INDENT_VERTICAL}: top and bottom
|
421
|
+
# - {Wx::HTML::HTML_INDENT_ALL}: all 4 borders
|
408
422
|
# @param units [Integer] Units of i. This parameter affects interpretation of value.
|
409
|
-
#
|
423
|
+
#
|
424
|
+
# - {Wx::HTML::HTML_UNITS_PIXELS}: i is number of pixels
|
425
|
+
# - {Wx::HTML::HTML_UNITS_PERCENT}: i is interpreted as percents of width of parent container
|
410
426
|
# @return [void]
|
411
427
|
def set_indent(i, what, units=Wx::HTML::HTML_UNITS_PIXELS) end
|
412
428
|
|
@@ -427,7 +443,9 @@ module Wx::HTML
|
|
427
443
|
# ```
|
428
444
|
# sets the width of container to parent's width minus 50 pixels. This is useful when creating tables - you can call SetWidthFloat(50) and SetWidthFloat(-50).
|
429
445
|
# @param units [Integer] Units of w This parameter affects the interpretation of value.
|
430
|
-
#
|
446
|
+
#
|
447
|
+
# - {Wx::HTML::HTML_UNITS_PIXELS}: w is number of pixels
|
448
|
+
# - {Wx::HTML::HTML_UNITS_PERCENT}: w is interpreted as percents of width of parent container
|
431
449
|
# @return [void]
|
432
450
|
# @overload set_width_float(tag, pixel_scale=1.0)
|
433
451
|
# Sets floating width adjustment.
|
@@ -11,7 +11,9 @@ module Wx::HTML
|
|
11
11
|
#
|
12
12
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlCellEvent} events.
|
13
13
|
# Event handler methods:
|
14
|
+
#
|
14
15
|
# - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): User moved the mouse over a {Wx::HTML::HtmlCell}.
|
16
|
+
#
|
15
17
|
# - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): User clicked on a {Wx::HTML::HtmlCell}. When handling this event, remember to use {Wx::HTML::HtmlCell#set_link_clicked(true)} if the cell contains a link.
|
16
18
|
#
|
17
19
|
# ===
|
@@ -21,12 +23,12 @@ module Wx::HTML
|
|
21
23
|
class HtmlCellEvent < CommandEvent
|
22
24
|
|
23
25
|
# The constructor is not normally used by the user code.
|
24
|
-
# @param commandType [
|
26
|
+
# @param commandType [Wx::AUI::AuiMDIChildFrame::EventType]
|
25
27
|
# @param id [Integer]
|
26
|
-
# @param cell [Wx::HtmlCell]
|
28
|
+
# @param cell [Wx::HTML::HtmlCell]
|
27
29
|
# @param point [Array(Integer, Integer), Wx::Point]
|
28
30
|
# @param ev [Wx::MouseEvent]
|
29
|
-
# @return [HtmlCellEvent]
|
31
|
+
# @return [Wx::HTML::HtmlCellEvent]
|
30
32
|
def initialize(commandType, id, cell, point, ev) end
|
31
33
|
|
32
34
|
# Returns the {Wx::HTML::HtmlCellEvent} associated with the event.
|
@@ -53,7 +53,7 @@ module Wx::HTML
|
|
53
53
|
# Constructor.
|
54
54
|
# @param name [String] Name of the printing object. Used by preview frames and setup dialogs.
|
55
55
|
# @param parentWindow [Wx::Window] pointer to the window that will own the preview frame and setup dialogs. May be NULL.
|
56
|
-
# @return [HtmlEasyPrinting]
|
56
|
+
# @return [Wx::HTML::HtmlEasyPrinting]
|
57
57
|
def initialize(name=("Printing"), parentWindow=nil) end
|
58
58
|
|
59
59
|
# Returns the current name being used for preview frames and setup dialogs.
|
@@ -63,7 +63,7 @@ module Wx::HTML
|
|
63
63
|
|
64
64
|
# Returns a pointer to {Wx::PRT::PageSetupDialogData} instance used by this class.
|
65
65
|
# You can set its parameters (via SetXXXX methods).
|
66
|
-
# @return [Wx::PageSetupDialogData]
|
66
|
+
# @return [Wx::PRT::PageSetupDialogData]
|
67
67
|
def get_page_setup_data; end
|
68
68
|
alias_method :page_setup_data, :get_page_setup_data
|
69
69
|
|
@@ -74,7 +74,7 @@ module Wx::HTML
|
|
74
74
|
|
75
75
|
# Returns pointer to {Wx::PRT::PrintData} instance used by this class.
|
76
76
|
# You can set its parameters (via SetXXXX methods).
|
77
|
-
# @return [Wx::PrintData]
|
77
|
+
# @return [Wx::PRT::PrintData]
|
78
78
|
def get_print_data; end
|
79
79
|
alias_method :print_data, :get_print_data
|
80
80
|
|
@@ -142,7 +142,12 @@ module Wx::HTML
|
|
142
142
|
|
143
143
|
# Set page header.
|
144
144
|
# The following macros can be used inside it:
|
145
|
-
#
|
145
|
+
#
|
146
|
+
# - @DATE@ is replaced by the current date in default format
|
147
|
+
# - @PAGENUM@ is replaced by page number
|
148
|
+
# - @PAGESCNT@ is replaced by total number of pages
|
149
|
+
# - @TIME@ is replaced by the current time in default format
|
150
|
+
# - @TITLE@ is replaced with the title of the document
|
146
151
|
# @param header [String] HTML text to be used as header.
|
147
152
|
# @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
|
148
153
|
# @return [void]
|
@@ -60,13 +60,30 @@ module Wx::HTML
|
|
60
60
|
# @overload initialize(style=Wx::HTML::HF_DEFAULT_STYLE, parentWindow=nil)
|
61
61
|
# Constructor.
|
62
62
|
# @param style [Integer] This is a combination of these flags:
|
63
|
-
#
|
63
|
+
#
|
64
|
+
# - {Wx::HTML::HF_TOOLBAR}: The help window has a toolbar.
|
65
|
+
# - {Wx::HTML::HF_FLAT_TOOLBAR}: The help window has a toolbar with flat buttons (aka coolbar).
|
66
|
+
# - {Wx::HTML::HF_CONTENTS}: The help window has a contents panel.
|
67
|
+
# - {Wx::HTML::HF_INDEX}: The help window has an index panel.
|
68
|
+
# - {Wx::HTML::HF_SEARCH}: The help window has a search panel.
|
69
|
+
# - {Wx::HTML::HF_BOOKMARKS}: The help window has bookmarks controls.
|
70
|
+
# - {Wx::HTML::HF_OPEN_FILES}: Allows user to open arbitrary HTML document.
|
71
|
+
# - {Wx::HTML::HF_PRINT}: The toolbar contains "print" button.
|
72
|
+
# - {Wx::HTML::HF_MERGE_BOOKS}: The contents pane does not show book nodes. All books are merged together and appear as single book to the user.
|
73
|
+
# - {Wx::HTML::HF_ICONS_BOOK}: All nodes in contents pane have a book icon. This is how Microsoft's HTML help viewer behaves.
|
74
|
+
# - {Wx::HTML::HF_ICONS_FOLDER}: Book nodes in contents pane have a book icon, book's sections have a folder icon. This is the default.
|
75
|
+
# - {Wx::HTML::HF_ICONS_BOOK_CHAPTER}: Both book nodes and nodes of top-level sections of a book (i.e. chapters) have a book icon, all other sections (sections, subsections, ...) have a folder icon.
|
76
|
+
# - {Wx::HTML::HF_EMBEDDED}: Specifies that the help controller controls an embedded window of class {Wx::HTML::HtmlHelpWindow} that should not be destroyed when the controller is destroyed.
|
77
|
+
# - {Wx::HTML::HF_DIALOG}: Specifies that the help controller should create a dialog containing the help window.
|
78
|
+
# - {Wx::HTML::HF_FRAME}: Specifies that the help controller should create a frame containing the help window. This is the default if neither {Wx::HTML::HF_DIALOG} nor {Wx::HTML::HF_EMBEDDED} is specified.
|
79
|
+
# - {Wx::HTML::HF_MODAL}: Specifies that the help controller should create a modal dialog containing the help window (used with the {Wx::HTML::HF_DIALOG} style).
|
80
|
+
# - {Wx::HTML::HF_DEFAULT_STYLE}: {Wx::HTML::HF_TOOLBAR} | {Wx::HTML::HF_CONTENTS} | {Wx::HTML::HF_INDEX} | {Wx::HTML::HF_SEARCH} | {Wx::HTML::HF_BOOKMARKS} | {Wx::HTML::HF_PRINT}
|
64
81
|
# @param parentWindow [Wx::Window] This is an optional window to be used as the parent for the help window.
|
65
|
-
# @return [HtmlHelpController]
|
82
|
+
# @return [Wx::HTML::HtmlHelpController]
|
66
83
|
# @overload initialize(parentWindow, style=Wx::HTML::HF_DEFAULT_STYLE)
|
67
84
|
# @param parentWindow [Wx::Window]
|
68
85
|
# @param style [Integer]
|
69
|
-
# @return [HtmlHelpController]
|
86
|
+
# @return [Wx::HTML::HtmlHelpController]
|
70
87
|
def initialize(*args) end
|
71
88
|
|
72
89
|
# @overload add_book(bookFile, showWaitMsg=false)
|
@@ -92,10 +109,19 @@ module Wx::HTML
|
|
92
109
|
# @overload display(x)
|
93
110
|
# Displays page x.
|
94
111
|
# This is THE important function - it is used to display the help in application. You can specify the page in many ways:
|
95
|
-
#
|
112
|
+
#
|
113
|
+
# - as direct filename of HTML document
|
114
|
+
# - as chapter name (from contents) or as a book name
|
115
|
+
# - as some word from index
|
116
|
+
# - even as any word (will be searched)
|
96
117
|
#
|
97
118
|
# Looking for the page runs in these steps:
|
98
|
-
#
|
119
|
+
#
|
120
|
+
# - try to locate file named x (if x is for example "doc/howto.htm")
|
121
|
+
# - try to open starting page of book named x
|
122
|
+
# - try to find x in contents (if x is for example "How To ...")
|
123
|
+
# - try to find x in index (if x is for example "How To ...")
|
124
|
+
# - switch to Search panel and start searching
|
99
125
|
# @param x [String]
|
100
126
|
# @return [true,false]
|
101
127
|
# @overload display(id)
|
@@ -165,20 +191,20 @@ module Wx::HTML
|
|
165
191
|
def write_customization(cfg, path=('')) end
|
166
192
|
|
167
193
|
# Get the current help window.
|
168
|
-
# @return [Wx::HtmlHelpWindow]
|
194
|
+
# @return [Wx::HTML::HtmlHelpWindow]
|
169
195
|
def get_help_window; end
|
170
196
|
alias_method :help_window, :get_help_window
|
171
197
|
|
172
198
|
# Set the help window to be managed by this controller.
|
173
199
|
# This makes it possible to have a help window that might not be in a {Wx::HTML::HtmlHelpFrame} or dialog but is embedded in some other window in the application. Be sure to use the {Wx::HTML::HF_EMBEDDED} style in this case.
|
174
|
-
# @param helpWindow [Wx::HtmlHelpWindow]
|
200
|
+
# @param helpWindow [Wx::HTML::HtmlHelpWindow]
|
175
201
|
# @return [void]
|
176
202
|
def set_help_window(helpWindow) end
|
177
203
|
alias_method :help_window=, :set_help_window
|
178
204
|
|
179
205
|
# Returns the current help frame.
|
180
206
|
# (May be NULL.)
|
181
|
-
# @return [Wx::HtmlHelpFrame]
|
207
|
+
# @return [Wx::HTML::HtmlHelpFrame]
|
182
208
|
def get_frame; end
|
183
209
|
alias_method :frame, :get_frame
|
184
210
|
|
@@ -15,7 +15,7 @@ module Wx::HTML
|
|
15
15
|
class HtmlHelpData < Object
|
16
16
|
|
17
17
|
# Constructor.
|
18
|
-
# @return [HtmlHelpData]
|
18
|
+
# @return [Wx::HTML::HtmlHelpData]
|
19
19
|
def initialize; end
|
20
20
|
|
21
21
|
# Adds new book.
|
@@ -70,7 +70,7 @@ module Wx::HTML
|
|
70
70
|
# @param basepath [String]
|
71
71
|
# @param title [String]
|
72
72
|
# @param start [String]
|
73
|
-
# @return [HtmlBookRecord]
|
73
|
+
# @return [Wx::HTML::HtmlBookRecord]
|
74
74
|
def initialize(bookfile, basepath, title, start) end
|
75
75
|
|
76
76
|
# @return [String]
|
@@ -131,7 +131,7 @@ module Wx::HTML
|
|
131
131
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
132
132
|
class HtmlHelpDataItem < ::Object
|
133
133
|
|
134
|
-
# @return [HtmlHelpDataItem]
|
134
|
+
# @return [Wx::HTML::HtmlHelpDataItem]
|
135
135
|
def initialize; end
|
136
136
|
|
137
137
|
# @return [String]
|
@@ -54,8 +54,8 @@ module Wx::HTML
|
|
54
54
|
class HtmlHelpFrame < Frame
|
55
55
|
|
56
56
|
# @overload initialize(data=nil)
|
57
|
-
# @param data [Wx::HtmlHelpData]
|
58
|
-
# @return [HtmlHelpFrame]
|
57
|
+
# @param data [Wx::HTML::HtmlHelpData]
|
58
|
+
# @return [Wx::HTML::HtmlHelpFrame]
|
59
59
|
# @overload initialize(parent, id, title=(''), style=Wx::HTML::HF_DEFAULT_STYLE, data=nil, config=nil, rootpath=(''))
|
60
60
|
# Constructor.
|
61
61
|
# For the possible values of style, please see {Wx::HTML::HtmlHelpController}.
|
@@ -63,10 +63,10 @@ module Wx::HTML
|
|
63
63
|
# @param id [Integer]
|
64
64
|
# @param title [String]
|
65
65
|
# @param style [Integer]
|
66
|
-
# @param data [Wx::HtmlHelpData]
|
66
|
+
# @param data [Wx::HTML::HtmlHelpData]
|
67
67
|
# @param config [Wx::ConfigBase]
|
68
68
|
# @param rootpath [String]
|
69
|
-
# @return [HtmlHelpFrame]
|
69
|
+
# @return [Wx::HTML::HtmlHelpFrame]
|
70
70
|
def initialize(*args) end
|
71
71
|
|
72
72
|
# You may override this virtual method to add more buttons to the help window's toolbar.
|
@@ -89,12 +89,12 @@ module Wx::HTML
|
|
89
89
|
def create(parent, id, title=(''), style=Wx::HTML::HF_DEFAULT_STYLE, config=nil, rootpath=('')) end
|
90
90
|
|
91
91
|
# Returns the help controller associated with the frame.
|
92
|
-
# @return [Wx::HtmlHelpController]
|
92
|
+
# @return [Wx::HTML::HtmlHelpController]
|
93
93
|
def get_controller; end
|
94
94
|
alias_method :controller, :get_controller
|
95
95
|
|
96
96
|
# Sets the help controller associated with the frame.
|
97
|
-
# @param controller [Wx::HtmlHelpController]
|
97
|
+
# @param controller [Wx::HTML::HtmlHelpController]
|
98
98
|
# @return [void]
|
99
99
|
def set_controller(controller) end
|
100
100
|
alias_method :controller=, :set_controller
|
@@ -129,8 +129,8 @@ module Wx::HTML
|
|
129
129
|
class HtmlHelpWindow < Window
|
130
130
|
|
131
131
|
# @overload initialize(data=nil)
|
132
|
-
# @param data [Wx::HtmlHelpData]
|
133
|
-
# @return [HtmlHelpWindow]
|
132
|
+
# @param data [Wx::HTML::HtmlHelpData]
|
133
|
+
# @return [Wx::HTML::HtmlHelpWindow]
|
134
134
|
# @overload initialize(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=(Wx::TAB_TRAVERSAL|Wx::Border::BORDER_NONE), helpStyle=Wx::HTML::HF_DEFAULT_STYLE, data=nil)
|
135
135
|
# Constructor.
|
136
136
|
# For the values of helpStyle, please see the documentation for {Wx::HTML::HtmlHelpController}.
|
@@ -140,8 +140,8 @@ module Wx::HTML
|
|
140
140
|
# @param size [Array(Integer, Integer), Wx::Size]
|
141
141
|
# @param style [Integer]
|
142
142
|
# @param helpStyle [Integer]
|
143
|
-
# @param data [Wx::HtmlHelpData]
|
144
|
-
# @return [HtmlHelpWindow]
|
143
|
+
# @param data [Wx::HTML::HtmlHelpData]
|
144
|
+
# @return [Wx::HTML::HtmlHelpWindow]
|
145
145
|
def initialize(*args) end
|
146
146
|
|
147
147
|
# Creates the help window.
|
@@ -158,7 +158,11 @@ module Wx::HTML
|
|
158
158
|
# @overload display(x)
|
159
159
|
# Displays page x.
|
160
160
|
# If not found it will give the user the choice of searching books. Looking for the page runs in these steps:
|
161
|
-
#
|
161
|
+
#
|
162
|
+
# - try to locate file named x (if x is for example "doc/howto.htm")
|
163
|
+
# - try to open starting page of book x
|
164
|
+
# - try to find x in contents (if x is for example "How To ...")
|
165
|
+
# - try to find x in index (if x is for example "How To ...")
|
162
166
|
# @param x [String]
|
163
167
|
# @return [true,false]
|
164
168
|
# @overload display(id)
|
@@ -177,7 +181,7 @@ module Wx::HTML
|
|
177
181
|
def display_index; end
|
178
182
|
|
179
183
|
# Returns the {Wx::HTML::HtmlHelpData} object, which is usually a pointer to the controller's data.
|
180
|
-
# @return [Wx::HtmlHelpData]
|
184
|
+
# @return [Wx::HTML::HtmlHelpData]
|
181
185
|
def get_data; end
|
182
186
|
alias_method :data, :get_data
|
183
187
|
|
@@ -216,11 +220,11 @@ module Wx::HTML
|
|
216
220
|
# @return [void]
|
217
221
|
def refresh_lists; end
|
218
222
|
|
219
|
-
# @return [Wx::HtmlHelpController]
|
223
|
+
# @return [Wx::HTML::HtmlHelpController]
|
220
224
|
def get_controller; end
|
221
225
|
alias_method :controller, :get_controller
|
222
226
|
|
223
|
-
# @param controller [Wx::HtmlHelpController]
|
227
|
+
# @param controller [Wx::HTML::HtmlHelpController]
|
224
228
|
# @return [void]
|
225
229
|
def set_controller(controller) end
|
226
230
|
alias_method :controller=, :set_controller
|
@@ -11,6 +11,7 @@ module Wx::HTML
|
|
11
11
|
#
|
12
12
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlLinkEvent} events.
|
13
13
|
# Event handler methods:
|
14
|
+
#
|
14
15
|
# - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): User clicked on a hyperlink.
|
15
16
|
#
|
16
17
|
# ===
|
@@ -21,12 +22,12 @@ module Wx::HTML
|
|
21
22
|
|
22
23
|
# The constructor is not normally used by the user code.
|
23
24
|
# @param id [Integer]
|
24
|
-
# @param linkinfo [Wx::HtmlLinkInfo]
|
25
|
-
# @return [HtmlLinkEvent]
|
25
|
+
# @param linkinfo [Wx::HTML::HtmlLinkInfo]
|
26
|
+
# @return [Wx::HTML::HtmlLinkEvent]
|
26
27
|
def initialize(id, linkinfo) end
|
27
28
|
|
28
29
|
# Returns the {Wx::HTML::HtmlLinkInfo} which contains info about the cell clicked and the hyperlink it contains.
|
29
|
-
# @return [Wx::HtmlLinkInfo]
|
30
|
+
# @return [Wx::HTML::HtmlLinkInfo]
|
30
31
|
def get_link_info; end
|
31
32
|
alias_method :link_info, :get_link_info
|
32
33
|
|
@@ -18,8 +18,11 @@ module Wx::HTML
|
|
18
18
|
#
|
19
19
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::HTML::HtmlLinkEvent} events.
|
20
20
|
# Event handler methods for events emitted by this class:
|
21
|
+
#
|
21
22
|
# - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} was clicked.
|
23
|
+
#
|
22
24
|
# - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): The mouse passed over a {Wx::HTML::HtmlCell}.
|
25
|
+
#
|
23
26
|
# - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} which contains a hyperlink was clicked.
|
24
27
|
#
|
25
28
|
# ===
|
@@ -38,10 +41,10 @@ module Wx::HTML
|
|
38
41
|
# @param size [Array(Integer, Integer), Wx::Size]
|
39
42
|
# @param style [Integer]
|
40
43
|
# @param name [String]
|
41
|
-
# @return [HtmlListBox]
|
44
|
+
# @return [Wx::HTML::HtmlListBox]
|
42
45
|
# @overload initialize()
|
43
46
|
# Default constructor, you must call {Wx::HTML::HtmlListBox#create} later.
|
44
|
-
# @return [HtmlListBox]
|
47
|
+
# @return [Wx::HTML::HtmlListBox]
|
45
48
|
def initialize(*args) end
|
46
49
|
|
47
50
|
# Creates the control and optionally sets the initial number of items in it (it may also be set or changed later with {Wx::VListBox#set_item_count}).
|
@@ -63,7 +66,7 @@ module Wx::HTML
|
|
63
66
|
# Does nothing by default. Overloading this method is deprecated; intercept the event instead.
|
64
67
|
# @see Wx::HTML::HtmlLinkInfo.
|
65
68
|
# @param n [Integer] Index of the item containing the link.
|
66
|
-
# @param link [Wx::HtmlLinkInfo] Description of the link.
|
69
|
+
# @param link [Wx::HTML::HtmlLinkInfo] Description of the link.
|
67
70
|
# @return [void]
|
68
71
|
def on_link_clicked(n, link) end
|
69
72
|
|
@@ -107,19 +110,24 @@ module Wx::HTML
|
|
107
110
|
# === Styles
|
108
111
|
#
|
109
112
|
# This class supports the following styles:
|
110
|
-
#
|
113
|
+
#
|
111
114
|
# - {Wx::HTML::HLB_DEFAULT_STYLE}: The default style: {Wx::Border::BORDER_SUNKEN}
|
115
|
+
#
|
112
116
|
# - {Wx::HTML::HLB_MULTIPLE}: Multiple-selection list: the user can toggle multiple items on and off.
|
113
117
|
#
|
114
118
|
# A {Wx::HTML::SimpleHtmlListBox} emits the same events used by {Wx::ListBox} and by {Wx::HTML::HtmlListBox}.
|
115
119
|
# === Events emitted by this class
|
116
120
|
#
|
117
121
|
# Event handler methods for events emitted by this class:
|
118
|
-
#
|
122
|
+
#
|
119
123
|
# - {Wx::EvtHandler#evt_listbox}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX} event, when an item on the list is selected. See {Wx::CommandEvent}.
|
124
|
+
#
|
120
125
|
# - {Wx::EvtHandler#evt_listbox_dclick}(id, meth = nil, &block): Process a {Wx::EVT_LISTBOX_DCLICK} event, when the listbox is double-clicked. See {Wx::CommandEvent}.
|
126
|
+
#
|
121
127
|
# - {Wx::EvtHandler#evt_html_cell_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} was clicked. See {Wx::HTML::HtmlCellEvent}.
|
128
|
+
#
|
122
129
|
# - {Wx::EvtHandler#evt_html_cell_hover}(id, meth = nil, &block): The mouse passed over a {Wx::HTML::HtmlCell}. See {Wx::HTML::HtmlCellEvent}.
|
130
|
+
#
|
123
131
|
# - {Wx::EvtHandler#evt_html_link_clicked}(id, meth = nil, &block): A {Wx::HTML::HtmlCell} which contains a hyperlink was clicked. See {Wx::HTML::HtmlLinkEvent}
|
124
132
|
#
|
125
133
|
# ===
|
@@ -167,10 +175,10 @@ module Wx::HTML
|
|
167
175
|
# @param style [Integer] Window style. See {Wx::HLB_}* flags.
|
168
176
|
# @param validator [Wx::Validator] Window validator.
|
169
177
|
# @param name [String] Window name.
|
170
|
-
# @return [SimpleHtmlListBox]
|
178
|
+
# @return [Wx::HTML::SimpleHtmlListBox]
|
171
179
|
# @overload initialize()
|
172
180
|
# Default constructor, you must call {Wx::HTML::SimpleHtmlListBox#create} later.
|
173
|
-
# @return [SimpleHtmlListBox]
|
181
|
+
# @return [Wx::HTML::SimpleHtmlListBox]
|
174
182
|
def initialize(*args) end
|
175
183
|
|
176
184
|
# @overload append(item)
|
@@ -15,7 +15,7 @@ module Wx::HTML
|
|
15
15
|
|
16
16
|
# Constructor.
|
17
17
|
# @param title [String]
|
18
|
-
# @return [HtmlPrintout]
|
18
|
+
# @return [Wx::HTML::HtmlPrintout]
|
19
19
|
def initialize(title=("Wx::PRT::Printout")) end
|
20
20
|
|
21
21
|
# This function sets font sizes and faces.
|
@@ -28,7 +28,12 @@ module Wx::HTML
|
|
28
28
|
|
29
29
|
# Set page footer.
|
30
30
|
# The following macros can be used inside it:
|
31
|
-
#
|
31
|
+
#
|
32
|
+
# - @DATE@ is replaced by the current date in default format
|
33
|
+
# - @PAGENUM@ is replaced by page number
|
34
|
+
# - @PAGESCNT@ is replaced by total number of pages
|
35
|
+
# - @TIME@ is replaced by the current time in default format
|
36
|
+
# - @TITLE@ is replaced with the title of the document
|
32
37
|
# @param footer [String] HTML text to be used as footer.
|
33
38
|
# @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
|
34
39
|
# @return [void]
|
@@ -37,7 +42,12 @@ module Wx::HTML
|
|
37
42
|
|
38
43
|
# Set page header.
|
39
44
|
# The following macros can be used inside it:
|
40
|
-
#
|
45
|
+
#
|
46
|
+
# - @DATE@ is replaced by the current date in default format
|
47
|
+
# - @PAGENUM@ is replaced by page number
|
48
|
+
# - @PAGESCNT@ is replaced by total number of pages
|
49
|
+
# - @TIME@ is replaced by the current time in default format
|
50
|
+
# - @TITLE@ is replaced with the title of the document
|
41
51
|
# @param header [String] HTML text to be used as header.
|
42
52
|
# @param pg [Integer] one of {Wx::HTML::PAGE_ODD}, {Wx::HTML::PAGE_EVEN} and {Wx::HTML::PAGE_ALL} constants.
|
43
53
|
# @return [void]
|
@@ -70,14 +80,14 @@ module Wx::HTML
|
|
70
80
|
# @return [void]
|
71
81
|
# @overload set_margins(pageSetupData)
|
72
82
|
# Sets margins from {Wx::PRT::PageSetupDialogData}.
|
73
|
-
# @param pageSetupData [Wx::PageSetupDialogData]
|
83
|
+
# @param pageSetupData [Wx::PRT::PageSetupDialogData]
|
74
84
|
# @return [void]
|
75
85
|
def set_margins(*args) end
|
76
86
|
alias_method :margins=, :set_margins
|
77
87
|
|
78
88
|
# Adds a filter to the static list of filters for {Wx::HTML::HtmlPrintout}.
|
79
89
|
# See {Wx::HTML::HtmlFilter} for further information.
|
80
|
-
# @param filter [Wx::HtmlFilter]
|
90
|
+
# @param filter [Wx::HTML::HtmlFilter]
|
81
91
|
# @return [void]
|
82
92
|
def self.add_filter(filter) end
|
83
93
|
|