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
@@ -241,140 +241,140 @@ module Wx::AUI
|
|
241
241
|
def rect; end
|
242
242
|
|
243
243
|
# @overload initialize()
|
244
|
-
# @return [AuiPaneInfo]
|
244
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
245
245
|
# @overload initialize(c)
|
246
246
|
# Copy constructor.
|
247
|
-
# @param c [Wx::AuiPaneInfo]
|
248
|
-
# @return [AuiPaneInfo]
|
247
|
+
# @param c [Wx::AUI::AuiPaneInfo]
|
248
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
249
249
|
def initialize(*args) end
|
250
250
|
|
251
251
|
# {Wx::AUI::AuiPaneInfo#best_size} sets the ideal size for the pane.
|
252
252
|
# The docking manager will attempt to use this size as much as possible when docking or floating the pane.
|
253
253
|
# @param size [Array(Integer, Integer), Wx::Size]
|
254
|
-
# @return [Wx::AuiPaneInfo]
|
254
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
255
255
|
def set_best_size(size) end
|
256
256
|
alias_method :best_size=, :set_best_size
|
257
257
|
|
258
258
|
# {Wx::AUI::AuiPaneInfo#bottom} sets the pane dock position to the bottom side of the frame.
|
259
259
|
# This is the same thing as calling Direction({Wx::AUI::AuiManagerDock::AUI_DOCK_BOTTOM}).
|
260
|
-
# @return [Wx::AuiPaneInfo]
|
260
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
261
261
|
def bottom; end
|
262
262
|
|
263
263
|
# {Wx::AUI::AuiPaneInfo#bottom_dockable} indicates whether a pane can be docked at the bottom of the frame.
|
264
264
|
# @param b [true,false]
|
265
|
-
# @return [Wx::AuiPaneInfo]
|
265
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
266
266
|
def set_bottom_dockable(b=true) end
|
267
267
|
alias_method :bottom_dockable=, :set_bottom_dockable
|
268
268
|
|
269
269
|
# {Wx::AUI::AuiPaneInfo#caption} sets the caption of the pane.
|
270
270
|
# @param c [String]
|
271
|
-
# @return [Wx::AuiPaneInfo]
|
271
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
272
272
|
def set_caption(c) end
|
273
273
|
alias_method :caption=, :set_caption
|
274
274
|
|
275
275
|
# CaptionVisible indicates that a pane caption should be visible.
|
276
276
|
# If false, no pane caption is drawn.
|
277
277
|
# @param visible [true,false]
|
278
|
-
# @return [Wx::AuiPaneInfo]
|
278
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
279
279
|
def set_caption_visible(visible=true) end
|
280
280
|
alias_method :caption_visible=, :set_caption_visible
|
281
281
|
|
282
282
|
# {Wx::AUI::AuiPaneInfo#center} sets the pane dock position to the left side of the frame.
|
283
283
|
# The centre pane is the space in the middle after all border panes (left, top, right, bottom) are subtracted from the layout. This is the same thing as calling Direction({Wx::AUI::AuiManagerDock::AUI_DOCK_CENTRE}).
|
284
|
-
# @return [Wx::AuiPaneInfo]
|
284
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
285
285
|
def centre; end
|
286
286
|
|
287
|
-
# @return [Wx::AuiPaneInfo]
|
287
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
288
288
|
def center; end
|
289
289
|
|
290
290
|
# {Wx::AUI::AuiPaneInfo#centre_pane} specifies that the pane should adopt the default center pane settings.
|
291
291
|
# Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position.
|
292
|
-
# @return [Wx::AuiPaneInfo]
|
292
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
293
293
|
def centre_pane; end
|
294
294
|
|
295
|
-
# @return [Wx::AuiPaneInfo]
|
295
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
296
296
|
def center_pane; end
|
297
297
|
|
298
298
|
# {Wx::AUI::AuiPaneInfo#close_button} indicates that a close button should be drawn for the pane.
|
299
299
|
# @param visible [true,false]
|
300
|
-
# @return [Wx::AuiPaneInfo]
|
300
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
301
301
|
def set_close_button(visible=true) end
|
302
302
|
alias_method :close_button=, :set_close_button
|
303
303
|
|
304
304
|
# {Wx::AUI::AuiPaneInfo#default_pane} specifies that the pane should adopt the default pane settings.
|
305
|
-
# @return [Wx::AuiPaneInfo]
|
305
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
306
306
|
def default_pane; end
|
307
307
|
|
308
308
|
# {Wx::AUI::AuiPaneInfo#destroy_on_close} indicates whether a pane should be destroyed when it is closed.
|
309
309
|
# Normally a pane is simply hidden when the close button is clicked. Setting DestroyOnClose to true will cause the window to be destroyed when the user clicks the pane's close button.
|
310
310
|
# @param b [true,false]
|
311
|
-
# @return [Wx::AuiPaneInfo]
|
311
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
312
312
|
def set_destroy_on_close(b=true) end
|
313
313
|
alias_method :destroy_on_close=, :set_destroy_on_close
|
314
314
|
|
315
315
|
# {Wx::AUI::AuiPaneInfo#direction} determines the direction of the docked pane.
|
316
316
|
# It is functionally the same as calling {Wx::AUI::AuiPaneInfo#left}, {Wx::AUI::AuiPaneInfo#right}, {Wx::AUI::AuiPaneInfo#top} or {Wx::AUI::AuiPaneInfo#bottom}, except that docking direction may be specified programmatically via the parameter.
|
317
317
|
# @param direction [Integer]
|
318
|
-
# @return [Wx::AuiPaneInfo]
|
318
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
319
319
|
def set_direction(direction) end
|
320
320
|
alias_method :direction=, :set_direction
|
321
321
|
|
322
322
|
# {Wx::AUI::AuiPaneInfo#dock} indicates that a pane should be docked.
|
323
323
|
# It is the opposite of {Wx::AUI::AuiPaneInfo#float}.
|
324
|
-
# @return [Wx::AuiPaneInfo]
|
324
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
325
325
|
def dock; end
|
326
326
|
|
327
327
|
# {Wx::AUI::AuiPaneInfo#dock_fixed} causes the containing dock to have no resize sash.
|
328
328
|
# This is useful for creating panes that span the entire width or height of a dock, but should not be resizable in the other direction.
|
329
329
|
# @param b [true,false]
|
330
|
-
# @return [Wx::AuiPaneInfo]
|
330
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
331
331
|
def set_dock_fixed(b=true) end
|
332
332
|
alias_method :dock_fixed=, :set_dock_fixed
|
333
333
|
|
334
334
|
# {Wx::AUI::AuiPaneInfo#dockable} specifies whether a frame can be docked or not.
|
335
335
|
# It is the same as specifying TopDockable(b).BottomDockable(b).LeftDockable(b).RightDockable(b).
|
336
336
|
# @param b [true,false]
|
337
|
-
# @return [Wx::AuiPaneInfo]
|
337
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
338
338
|
def set_dockable(b=true) end
|
339
339
|
alias_method :dockable=, :set_dockable
|
340
340
|
|
341
341
|
# {Wx::AUI::AuiPaneInfo#fixed} forces a pane to be fixed size so that it cannot be resized.
|
342
342
|
# After calling {Wx::AUI::AuiPaneInfo#fixed}, {Wx::AUI::AuiPaneInfo#is_fixed} will return true.
|
343
|
-
# @return [Wx::AuiPaneInfo]
|
343
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
344
344
|
def fixed; end
|
345
345
|
|
346
346
|
# {Wx::AUI::AuiPaneInfo#float} indicates that a pane should be floated.
|
347
347
|
# It is the opposite of {Wx::AUI::AuiPaneInfo#dock}.
|
348
|
-
# @return [Wx::AuiPaneInfo]
|
348
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
349
349
|
def float; end
|
350
350
|
|
351
351
|
# {Wx::AUI::AuiPaneInfo#floatable} sets whether the user will be able to undock a pane and turn it into a floating window.
|
352
352
|
# @param b [true,false]
|
353
|
-
# @return [Wx::AuiPaneInfo]
|
353
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
354
354
|
def set_floatable(b=true) end
|
355
355
|
alias_method :floatable=, :set_floatable
|
356
356
|
|
357
357
|
# {Wx::AUI::AuiPaneInfo#floating_position} sets the position of the floating pane.
|
358
358
|
# @param pos [Array(Integer, Integer), Wx::Point]
|
359
|
-
# @return [Wx::AuiPaneInfo]
|
359
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
360
360
|
def set_floating_position(pos) end
|
361
361
|
alias_method :floating_position=, :set_floating_position
|
362
362
|
|
363
363
|
# {Wx::AUI::AuiPaneInfo#floating_size} sets the size of the floating pane.
|
364
364
|
# @param size [Array(Integer, Integer), Wx::Size]
|
365
|
-
# @return [Wx::AuiPaneInfo]
|
365
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
366
366
|
def set_floating_size(size) end
|
367
367
|
alias_method :floating_size=, :set_floating_size
|
368
368
|
|
369
369
|
# {Wx::AUI::AuiPaneInfo#gripper} indicates that a gripper should be drawn for the pane.
|
370
370
|
# @param visible [true,false]
|
371
|
-
# @return [Wx::AuiPaneInfo]
|
371
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
372
372
|
def set_gripper(visible=true) end
|
373
373
|
alias_method :gripper=, :set_gripper
|
374
374
|
|
375
375
|
# {Wx::AUI::AuiPaneInfo#gripper_top} indicates that a gripper should be drawn at the top of the pane.
|
376
376
|
# @param attop [true,false]
|
377
|
-
# @return [Wx::AuiPaneInfo]
|
377
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
378
378
|
def set_gripper_top(attop=true) end
|
379
379
|
alias_method :gripper_top=, :set_gripper_top
|
380
380
|
|
@@ -425,13 +425,13 @@ module Wx::AUI
|
|
425
425
|
alias_method :has_pin_button?, :has_pin_button
|
426
426
|
|
427
427
|
# {Wx::AUI::AuiPaneInfo#hide} indicates that a pane should be hidden.
|
428
|
-
# @return [Wx::AuiPaneInfo]
|
428
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
429
429
|
def hide; end
|
430
430
|
|
431
431
|
# {Wx::AUI::AuiPaneInfo#icon} sets the icon of the pane.
|
432
432
|
# Notice that the height of the icon should be smaller than the value returned by {Wx::AUI::AuiDockArt#get_metric(wxAUI_DOCKART_CAPTION_SIZE)} to ensure that it appears correctly.
|
433
433
|
# @param b [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
434
|
-
# @return [Wx::AuiPaneInfo]
|
434
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
435
435
|
def set_icon(b) end
|
436
436
|
alias_method :icon=, :set_icon
|
437
437
|
|
@@ -522,138 +522,138 @@ module Wx::AUI
|
|
522
522
|
# {Wx::AUI::AuiPaneInfo#layer} determines the layer of the docked pane.
|
523
523
|
# The dock layer is similar to an onion, the inner-most layer being layer 0. Each shell moving in the outward direction has a higher layer number. This allows for more complex docking layout formation.
|
524
524
|
# @param layer [Integer]
|
525
|
-
# @return [Wx::AuiPaneInfo]
|
525
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
526
526
|
def set_layer(layer) end
|
527
527
|
alias_method :layer=, :set_layer
|
528
528
|
|
529
529
|
# {Wx::AUI::AuiPaneInfo#left} sets the pane dock position to the left side of the frame.
|
530
530
|
# This is the same thing as calling Direction({Wx::AUI::AuiManagerDock::AUI_DOCK_LEFT}).
|
531
|
-
# @return [Wx::AuiPaneInfo]
|
531
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
532
532
|
def left; end
|
533
533
|
|
534
534
|
# {Wx::AUI::AuiPaneInfo#left_dockable} indicates whether a pane can be docked on the left of the frame.
|
535
535
|
# @param b [true,false]
|
536
|
-
# @return [Wx::AuiPaneInfo]
|
536
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
537
537
|
def set_left_dockable(b=true) end
|
538
538
|
alias_method :left_dockable=, :set_left_dockable
|
539
539
|
|
540
540
|
# {Wx::AUI::AuiPaneInfo#max_size} sets the maximum size of the pane.
|
541
541
|
# @param size [Array(Integer, Integer), Wx::Size]
|
542
|
-
# @return [Wx::AuiPaneInfo]
|
542
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
543
543
|
def set_max_size(size) end
|
544
544
|
alias_method :max_size=, :set_max_size
|
545
545
|
|
546
546
|
# {Wx::AUI::AuiPaneInfo#maximize_button} indicates that a maximize button should be drawn for the pane.
|
547
547
|
# @param visible [true,false]
|
548
|
-
# @return [Wx::AuiPaneInfo]
|
548
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
549
549
|
def set_maximize_button(visible=true) end
|
550
550
|
alias_method :maximize_button=, :set_maximize_button
|
551
551
|
|
552
552
|
# {Wx::AUI::AuiPaneInfo#min_size} sets the minimum size of the pane.
|
553
553
|
# Please note that this is only partially supported as of this writing.
|
554
554
|
# @param size [Array(Integer, Integer), Wx::Size]
|
555
|
-
# @return [Wx::AuiPaneInfo]
|
555
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
556
556
|
def set_min_size(size) end
|
557
557
|
alias_method :min_size=, :set_min_size
|
558
558
|
|
559
559
|
# {Wx::AUI::AuiPaneInfo#minimize_button} indicates that a minimize button should be drawn for the pane.
|
560
560
|
# @param visible [true,false]
|
561
|
-
# @return [Wx::AuiPaneInfo]
|
561
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
562
562
|
def set_minimize_button(visible=true) end
|
563
563
|
alias_method :minimize_button=, :set_minimize_button
|
564
564
|
|
565
565
|
# Movable indicates whether a frame can be moved.
|
566
566
|
# @param b [true,false]
|
567
|
-
# @return [Wx::AuiPaneInfo]
|
567
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
568
568
|
def set_movable(b=true) end
|
569
569
|
alias_method :movable=, :set_movable
|
570
570
|
|
571
571
|
# {Wx::AUI::AuiPaneInfo#name} sets the name of the pane so it can be referenced in lookup functions.
|
572
572
|
# If a name is not specified by the user, a random name is assigned to the pane when it is added to the manager.
|
573
573
|
# @param n [String]
|
574
|
-
# @return [Wx::AuiPaneInfo]
|
574
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
575
575
|
def set_name(n) end
|
576
576
|
alias_method :name=, :set_name
|
577
577
|
|
578
578
|
# PaneBorder indicates that a border should be drawn for the pane.
|
579
579
|
# @param visible [true,false]
|
580
|
-
# @return [Wx::AuiPaneInfo]
|
580
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
581
581
|
def set_pane_border(visible=true) end
|
582
582
|
alias_method :pane_border=, :set_pane_border
|
583
583
|
|
584
584
|
# {Wx::AUI::AuiPaneInfo#pin_button} indicates that a pin button should be drawn for the pane.
|
585
585
|
# @param visible [true,false]
|
586
|
-
# @return [Wx::AuiPaneInfo]
|
586
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
587
587
|
def set_pin_button(visible=true) end
|
588
588
|
alias_method :pin_button=, :set_pin_button
|
589
589
|
|
590
590
|
# {Wx::AUI::AuiPaneInfo#position} determines the position of the docked pane.
|
591
591
|
# @param pos [Integer]
|
592
|
-
# @return [Wx::AuiPaneInfo]
|
592
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
593
593
|
def set_position(pos) end
|
594
594
|
alias_method :position=, :set_position
|
595
595
|
|
596
596
|
# {Wx::AUI::AuiPaneInfo#resizable} allows a pane to be resized if the parameter is true, and forces it to be a fixed size if the parameter is false.
|
597
597
|
# This is simply an antonym for {Wx::AUI::AuiPaneInfo#fixed}.
|
598
598
|
# @param resizable [true,false]
|
599
|
-
# @return [Wx::AuiPaneInfo]
|
599
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
600
600
|
def set_resizable(resizable=true) end
|
601
601
|
alias_method :resizable=, :set_resizable
|
602
602
|
|
603
603
|
# {Wx::AUI::AuiPaneInfo#right} sets the pane dock position to the right side of the frame.
|
604
604
|
# This is the same thing as calling Direction({Wx::AUI::AuiManagerDock::AUI_DOCK_RIGHT}).
|
605
|
-
# @return [Wx::AuiPaneInfo]
|
605
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
606
606
|
def right; end
|
607
607
|
|
608
608
|
# {Wx::AUI::AuiPaneInfo#right_dockable} indicates whether a pane can be docked on the right of the frame.
|
609
609
|
# @param b [true,false]
|
610
|
-
# @return [Wx::AuiPaneInfo]
|
610
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
611
611
|
def set_right_dockable(b=true) end
|
612
612
|
alias_method :right_dockable=, :set_right_dockable
|
613
613
|
|
614
614
|
# {Wx::AUI::AuiPaneInfo#row} determines the row of the docked pane.
|
615
615
|
# @param row [Integer]
|
616
|
-
# @return [Wx::AuiPaneInfo]
|
616
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
617
617
|
def set_row(row) end
|
618
618
|
alias_method :row=, :set_row
|
619
619
|
|
620
620
|
# Write the safe parts of a PaneInfo object "source" into "this".
|
621
621
|
# "Safe parts" are all non-UI elements (e.g. all layout determining parameters like the size, position etc.). "Unsafe parts" (pointers to button, frame and window) are not modified by this write operation.
|
622
622
|
# This method is used when loading perspectives.
|
623
|
-
# @param source [Wx::AuiPaneInfo]
|
623
|
+
# @param source [Wx::AUI::AuiPaneInfo]
|
624
624
|
# @return [void]
|
625
625
|
def safe_set(source) end
|
626
626
|
|
627
627
|
# {Wx::AUI::AuiPaneInfo#set_flag} turns the property given by flag on or off with the option_state parameter.
|
628
628
|
# @param flag [Integer]
|
629
629
|
# @param option_state [true,false]
|
630
|
-
# @return [Wx::AuiPaneInfo]
|
630
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
631
631
|
def set_flag(flag, option_state) end
|
632
632
|
|
633
633
|
# {Wx::AUI::AuiPaneInfo#show} indicates that a pane should be shown.
|
634
634
|
# @param show [true,false]
|
635
|
-
# @return [Wx::AuiPaneInfo]
|
635
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
636
636
|
def show(show=true) end
|
637
637
|
|
638
638
|
# {Wx::AUI::AuiPaneInfo#toolbar_pane} specifies that the pane should adopt the default toolbar pane settings.
|
639
|
-
# @return [Wx::AuiPaneInfo]
|
639
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
640
640
|
def toolbar_pane; end
|
641
641
|
|
642
642
|
# {Wx::AUI::AuiPaneInfo#top} sets the pane dock position to the top of the frame.
|
643
643
|
# This is the same thing as calling Direction({Wx::AUI::AuiManagerDock::AUI_DOCK_TOP}).
|
644
|
-
# @return [Wx::AuiPaneInfo]
|
644
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
645
645
|
def top; end
|
646
646
|
|
647
647
|
# {Wx::AUI::AuiPaneInfo#top_dockable} indicates whether a pane can be docked at the top of the frame.
|
648
648
|
# @param b [true,false]
|
649
|
-
# @return [Wx::AuiPaneInfo]
|
649
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
650
650
|
def set_top_dockable(b=true) end
|
651
651
|
alias_method :top_dockable=, :set_top_dockable
|
652
652
|
|
653
653
|
# {Wx::AUI::AuiPaneInfo#window} assigns the window pointer that the {Wx::AUI::AuiPaneInfo} should use.
|
654
654
|
# This normally does not need to be specified, as the window pointer is automatically assigned to the {Wx::AUI::AuiPaneInfo} structure as soon as it is added to the manager.
|
655
655
|
# @param w [Wx::Window]
|
656
|
-
# @return [Wx::AuiPaneInfo]
|
656
|
+
# @return [Wx::AUI::AuiPaneInfo]
|
657
657
|
def set_window(w) end
|
658
658
|
alias_method :window=, :set_window
|
659
659
|
|
@@ -18,11 +18,11 @@ module Wx::AUI
|
|
18
18
|
class AuiTabArt < ::Object
|
19
19
|
|
20
20
|
# Constructor.
|
21
|
-
# @return [AuiTabArt]
|
21
|
+
# @return [Wx::AUI::AuiTabArt]
|
22
22
|
def initialize; end
|
23
23
|
|
24
24
|
# Clones the art object.
|
25
|
-
# @return [Wx::AuiTabArt]
|
25
|
+
# @return [Wx::AUI::AuiTabArt]
|
26
26
|
def clone; end
|
27
27
|
|
28
28
|
# Draws a background on the given area.
|
@@ -135,11 +135,11 @@ module Wx::AUI
|
|
135
135
|
#
|
136
136
|
class AuiDefaultTabArt < AuiTabArt
|
137
137
|
|
138
|
-
# @return [AuiDefaultTabArt]
|
138
|
+
# @return [Wx::AUI::AuiDefaultTabArt]
|
139
139
|
def initialize; end
|
140
140
|
|
141
141
|
# Clones the art object.
|
142
|
-
# @return [Wx::AuiTabArt]
|
142
|
+
# @return [Wx::AUI::AuiTabArt]
|
143
143
|
def clone; end
|
144
144
|
|
145
145
|
# Sets flags.
|
@@ -257,11 +257,11 @@ module Wx::AUI
|
|
257
257
|
#
|
258
258
|
class AuiSimpleTabArt < AuiTabArt
|
259
259
|
|
260
|
-
# @return [AuiSimpleTabArt]
|
260
|
+
# @return [Wx::AUI::AuiSimpleTabArt]
|
261
261
|
def initialize; end
|
262
262
|
|
263
263
|
# Clones the art object.
|
264
|
-
# @return [Wx::AuiTabArt]
|
264
|
+
# @return [Wx::AUI::AuiTabArt]
|
265
265
|
def clone; end
|
266
266
|
|
267
267
|
# Sets flags.
|
@@ -8,31 +8,46 @@ module Wx::AUI
|
|
8
8
|
|
9
9
|
# {Wx::AUI::AuiToolBar} is a dockable toolbar, part of the {Wx::AUI} class framework.
|
10
10
|
# See also wxAUI Overview.
|
11
|
-
# The appearance of this class is configurable and can be changed by calling {Wx::AUI::AuiToolBar#set_art_provider}. By default, native art provider is used if available (currently only in
|
11
|
+
# The appearance of this class is configurable and can be changed by calling {Wx::AUI::AuiToolBar#set_art_provider}. By default, native art provider is used if available (currently only in wxMSW) and {Wx::AuiGenericToolBarArt} otherwise.
|
12
12
|
# === Styles
|
13
13
|
#
|
14
14
|
# This class supports the following styles:
|
15
|
-
#
|
15
|
+
#
|
16
16
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}: Display the label strings on the toolbar buttons.
|
17
|
+
#
|
17
18
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_TOOLTIPS}: Do not show tooltips for the toolbar items.
|
19
|
+
#
|
18
20
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_NO_AUTORESIZE}: Do not automatically resize the toolbar when new tools are added.
|
21
|
+
#
|
19
22
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_GRIPPER}: Show the toolbar's gripper control. If the toolbar is added to an AUI pane that contains a gripper, this style will be automatically set.
|
23
|
+
#
|
20
24
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_OVERFLOW}: Show an overflow menu containing toolbar items that can't fit on the toolbar if it is too small.
|
25
|
+
#
|
21
26
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}: Using this style forces the toolbar to be vertical and be only dockable to the left or right sides of the window whereas by default it can be horizontal or vertical and be docked anywhere.
|
27
|
+
#
|
22
28
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT}:
|
29
|
+
#
|
23
30
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORIZONTAL}: Analogous to {Wx::AUI::AuiToolBarStyle::AUI_TB_VERTICAL}, but forces the toolbar to be horizontal.
|
31
|
+
#
|
24
32
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_PLAIN_BACKGROUND}: Draw a plain background (based on parent) instead of the default gradient background.
|
33
|
+
#
|
25
34
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_TEXT}: Equivalent to {Wx::AUI::AuiToolBarStyle::AUI_TB_HORZ_LAYOUT} | {Wx::AUI::AuiToolBarStyle::AUI_TB_TEXT}
|
35
|
+
#
|
26
36
|
# - {Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE}: The default is to have no styles.
|
27
37
|
#
|
28
38
|
# === Events emitted by this class
|
29
39
|
#
|
30
40
|
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiToolBarEvent} events.
|
31
41
|
# Event handler methods for events emitted by this class:
|
42
|
+
#
|
32
43
|
# - {Wx::EvtHandler#evt_auitoolbar_tool_dropdown}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_TOOL_DROPDOWN} event
|
44
|
+
#
|
33
45
|
# - {Wx::EvtHandler#evt_auitoolbar_overflow_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_OVERFLOW_CLICK} event
|
46
|
+
#
|
34
47
|
# - {Wx::EvtHandler#evt_auitoolbar_right_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_RIGHT_CLICK} event
|
48
|
+
#
|
35
49
|
# - {Wx::EvtHandler#evt_auitoolbar_middle_click}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_MIDDLE_CLICK} event
|
50
|
+
#
|
36
51
|
# - {Wx::EvtHandler#evt_auitoolbar_begin_drag}(id, meth = nil, &block): Process a {Wx::AUI::EVT_AUITOOLBAR_BEGIN_DRAG} event
|
37
52
|
#
|
38
53
|
# ===
|
@@ -43,7 +58,7 @@ module Wx::AUI
|
|
43
58
|
|
44
59
|
# @overload initialize()
|
45
60
|
# Default constructor, use {Wx::AUI::AuiToolBar#create} later.
|
46
|
-
# @return [AuiToolBar]
|
61
|
+
# @return [Wx::AUI::AuiToolBar]
|
47
62
|
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, position=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiToolBarStyle::AUI_TB_DEFAULT_STYLE)
|
48
63
|
# Constructor creating and initializing the object.
|
49
64
|
# @param parent [Wx::Window]
|
@@ -51,7 +66,7 @@ module Wx::AUI
|
|
51
66
|
# @param position [Array(Integer, Integer), Wx::Point]
|
52
67
|
# @param size [Array(Integer, Integer), Wx::Size]
|
53
68
|
# @param style [Integer]
|
54
|
-
# @return [AuiToolBar]
|
69
|
+
# @return [Wx::AUI::AuiToolBar]
|
55
70
|
def initialize(*args) end
|
56
71
|
|
57
72
|
# Really create {Wx::AUI::AuiToolBar} created using default constructor.
|
@@ -78,12 +93,12 @@ module Wx::AUI
|
|
78
93
|
def get_window_style_flag; end
|
79
94
|
alias_method :window_style_flag, :get_window_style_flag
|
80
95
|
|
81
|
-
# @param art [Wx::AuiToolBarArt]
|
96
|
+
# @param art [Wx::AUI::AuiToolBarArt]
|
82
97
|
# @return [void]
|
83
98
|
def set_art_provider(art) end
|
84
99
|
alias_method :art_provider=, :set_art_provider
|
85
100
|
|
86
|
-
# @return [Wx::AuiToolBarArt]
|
101
|
+
# @return [Wx::AUI::AuiToolBarArt]
|
87
102
|
def get_art_provider; end
|
88
103
|
alias_method :art_provider, :get_art_provider
|
89
104
|
|
@@ -105,7 +120,7 @@ module Wx::AUI
|
|
105
120
|
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
106
121
|
# @param short_help_string [String]
|
107
122
|
# @param kind [ItemKind]
|
108
|
-
# @return [Wx::AuiToolBarItem]
|
123
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
109
124
|
# @overload add_tool(toolId, label, bitmap, disabled_bitmap, kind, short_help_string, long_help_string, client_data)
|
110
125
|
# @param toolId [Integer]
|
111
126
|
# @param label [String]
|
@@ -115,7 +130,7 @@ module Wx::AUI
|
|
115
130
|
# @param short_help_string [String]
|
116
131
|
# @param long_help_string [String]
|
117
132
|
# @param client_data [Wx::Object]
|
118
|
-
# @return [Wx::AuiToolBarItem]
|
133
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
119
134
|
# @overload add_tool(toolId, bitmap, disabled_bitmap, toggle=false, client_data=nil, short_help_string=(''), long_help_string=(''))
|
120
135
|
# @param toolId [Integer]
|
121
136
|
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
@@ -124,29 +139,29 @@ module Wx::AUI
|
|
124
139
|
# @param client_data [Wx::Object]
|
125
140
|
# @param short_help_string [String]
|
126
141
|
# @param long_help_string [String]
|
127
|
-
# @return [Wx::AuiToolBarItem]
|
142
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
128
143
|
def add_tool(*args) end
|
129
144
|
|
130
145
|
# @param toolId [Integer]
|
131
146
|
# @param label [String]
|
132
147
|
# @param width [Integer]
|
133
|
-
# @return [Wx::AuiToolBarItem]
|
148
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
134
149
|
def add_label(toolId, label=(''), width=-1) end
|
135
150
|
|
136
151
|
# @param control [Wx::Control]
|
137
152
|
# @param label [String]
|
138
|
-
# @return [Wx::AuiToolBarItem]
|
153
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
139
154
|
def add_control(control, label=('')) end
|
140
155
|
|
141
|
-
# @return [Wx::AuiToolBarItem]
|
156
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
142
157
|
def add_separator; end
|
143
158
|
|
144
159
|
# @param pixels [Integer]
|
145
|
-
# @return [Wx::AuiToolBarItem]
|
160
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
146
161
|
def add_spacer(pixels) end
|
147
162
|
|
148
163
|
# @param proportion [Integer]
|
149
|
-
# @return [Wx::AuiToolBarItem]
|
164
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
150
165
|
def add_stretch_spacer(proportion=1) end
|
151
166
|
|
152
167
|
# @return [true,false]
|
@@ -158,15 +173,15 @@ module Wx::AUI
|
|
158
173
|
|
159
174
|
# @param x [Integer]
|
160
175
|
# @param y [Integer]
|
161
|
-
# @return [Wx::AuiToolBarItem]
|
176
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
162
177
|
def find_tool_by_position(x, y) end
|
163
178
|
|
164
179
|
# @param idx [Integer]
|
165
|
-
# @return [Wx::AuiToolBarItem]
|
180
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
166
181
|
def find_tool_by_index(idx) end
|
167
182
|
|
168
183
|
# @param toolId [Integer]
|
169
|
-
# @return [Wx::AuiToolBarItem]
|
184
|
+
# @return [Wx::AUI::AuiToolBarItem]
|
170
185
|
def find_tool(toolId) end
|
171
186
|
|
172
187
|
# @return [void]
|
@@ -426,7 +441,7 @@ module Wx::AUI
|
|
426
441
|
def get_hint_size(dock_direction) end
|
427
442
|
alias_method :hint_size, :get_hint_size
|
428
443
|
|
429
|
-
# @param pane [Wx::AuiPaneInfo]
|
444
|
+
# @param pane [Wx::AUI::AuiPaneInfo]
|
430
445
|
# @return [true,false]
|
431
446
|
def is_pane_valid(pane) end
|
432
447
|
alias_method :pane_valid?, :is_pane_valid
|
@@ -14,10 +14,10 @@ module Wx::AUI
|
|
14
14
|
#
|
15
15
|
class AuiToolBarArt < ::Object
|
16
16
|
|
17
|
-
# @return [AuiToolBarArt]
|
17
|
+
# @return [Wx::AUI::AuiToolBarArt]
|
18
18
|
def initialize; end
|
19
19
|
|
20
|
-
# @return [Wx::AuiToolBarArt]
|
20
|
+
# @return [Wx::AUI::AuiToolBarArt]
|
21
21
|
def clone; end
|
22
22
|
|
23
23
|
# @param flags [Integer]
|
@@ -61,28 +61,28 @@ module Wx::AUI
|
|
61
61
|
|
62
62
|
# @param dc [Wx::DC]
|
63
63
|
# @param wnd [Wx::Window]
|
64
|
-
# @param item [Wx::AuiToolBarItem]
|
64
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
65
65
|
# @param rect [Wx::Rect]
|
66
66
|
# @return [void]
|
67
67
|
def draw_label(dc, wnd, item, rect) end
|
68
68
|
|
69
69
|
# @param dc [Wx::DC]
|
70
70
|
# @param wnd [Wx::Window]
|
71
|
-
# @param item [Wx::AuiToolBarItem]
|
71
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
72
72
|
# @param rect [Wx::Rect]
|
73
73
|
# @return [void]
|
74
74
|
def draw_button(dc, wnd, item, rect) end
|
75
75
|
|
76
76
|
# @param dc [Wx::DC]
|
77
77
|
# @param wnd [Wx::Window]
|
78
|
-
# @param item [Wx::AuiToolBarItem]
|
78
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
79
79
|
# @param rect [Wx::Rect]
|
80
80
|
# @return [void]
|
81
81
|
def draw_drop_down_button(dc, wnd, item, rect) end
|
82
82
|
|
83
83
|
# @param dc [Wx::DC]
|
84
84
|
# @param wnd [Wx::Window]
|
85
|
-
# @param item [Wx::AuiToolBarItem]
|
85
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
86
86
|
# @param rect [Wx::Rect]
|
87
87
|
# @return [void]
|
88
88
|
def draw_control_label(dc, wnd, item, rect) end
|
@@ -108,14 +108,14 @@ module Wx::AUI
|
|
108
108
|
|
109
109
|
# @param dc [Wx::DC]
|
110
110
|
# @param wnd [Wx::Window]
|
111
|
-
# @param item [Wx::AuiToolBarItem]
|
111
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
112
112
|
# @return [Wx::Size]
|
113
113
|
def get_label_size(dc, wnd, item) end
|
114
114
|
alias_method :label_size, :get_label_size
|
115
115
|
|
116
116
|
# @param dc [Wx::DC]
|
117
117
|
# @param wnd [Wx::Window]
|
118
|
-
# @param item [Wx::AuiToolBarItem]
|
118
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
119
119
|
# @return [Wx::Size]
|
120
120
|
def get_tool_size(dc, wnd, item) end
|
121
121
|
alias_method :tool_size, :get_tool_size
|
@@ -145,10 +145,10 @@ module Wx::AUI
|
|
145
145
|
#
|
146
146
|
class AuiDefaultToolBarArt < AuiToolBarArt
|
147
147
|
|
148
|
-
# @return [AuiDefaultToolBarArt]
|
148
|
+
# @return [Wx::AUI::AuiDefaultToolBarArt]
|
149
149
|
def initialize; end
|
150
150
|
|
151
|
-
# @return [Wx::AuiToolBarArt]
|
151
|
+
# @return [Wx::AUI::AuiToolBarArt]
|
152
152
|
def clone; end
|
153
153
|
|
154
154
|
# @param flags [Integer]
|
@@ -192,28 +192,28 @@ module Wx::AUI
|
|
192
192
|
|
193
193
|
# @param dc [Wx::DC]
|
194
194
|
# @param wnd [Wx::Window]
|
195
|
-
# @param item [Wx::AuiToolBarItem]
|
195
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
196
196
|
# @param rect [Wx::Rect]
|
197
197
|
# @return [void]
|
198
198
|
def draw_label(dc, wnd, item, rect) end
|
199
199
|
|
200
200
|
# @param dc [Wx::DC]
|
201
201
|
# @param wnd [Wx::Window]
|
202
|
-
# @param item [Wx::AuiToolBarItem]
|
202
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
203
203
|
# @param rect [Wx::Rect]
|
204
204
|
# @return [void]
|
205
205
|
def draw_button(dc, wnd, item, rect) end
|
206
206
|
|
207
207
|
# @param dc [Wx::DC]
|
208
208
|
# @param wnd [Wx::Window]
|
209
|
-
# @param item [Wx::AuiToolBarItem]
|
209
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
210
210
|
# @param rect [Wx::Rect]
|
211
211
|
# @return [void]
|
212
212
|
def draw_drop_down_button(dc, wnd, item, rect) end
|
213
213
|
|
214
214
|
# @param dc [Wx::DC]
|
215
215
|
# @param wnd [Wx::Window]
|
216
|
-
# @param item [Wx::AuiToolBarItem]
|
216
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
217
217
|
# @param rect [Wx::Rect]
|
218
218
|
# @return [void]
|
219
219
|
def draw_control_label(dc, wnd, item, rect) end
|
@@ -239,14 +239,14 @@ module Wx::AUI
|
|
239
239
|
|
240
240
|
# @param dc [Wx::DC]
|
241
241
|
# @param wnd [Wx::Window]
|
242
|
-
# @param item [Wx::AuiToolBarItem]
|
242
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
243
243
|
# @return [Wx::Size]
|
244
244
|
def get_label_size(dc, wnd, item) end
|
245
245
|
alias_method :label_size, :get_label_size
|
246
246
|
|
247
247
|
# @param dc [Wx::DC]
|
248
248
|
# @param wnd [Wx::Window]
|
249
|
-
# @param item [Wx::AuiToolBarItem]
|
249
|
+
# @param item [Wx::AUI::AuiToolBarItem]
|
250
250
|
# @return [Wx::Size]
|
251
251
|
def get_tool_size(dc, wnd, item) end
|
252
252
|
alias_method :tool_size, :get_tool_size
|