wxruby3 0.9.5-x64-mingw-ucrt → 0.9.7-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +31 -20
- data/ext/wxbase32u_gcc_custom.dll +0 -0
- data/ext/wxbase32u_net_gcc_custom.dll +0 -0
- data/ext/wxbase32u_xml_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_aui_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_core_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_gl_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_html_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_media_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_propgrid_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_qa_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_ribbon_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_richtext_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_stc_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_webview_gcc_custom.dll +0 -0
- data/ext/wxmsw32u_xrc_gcc_custom.dll +0 -0
- data/lib/wx/core/ext.rb +22 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -348
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -38
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -1
- data/lib/wx/doc/gen/colour_dialog.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +1 -1
- data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -1
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +1 -1
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +1 -1
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -1
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2722 -2718
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -1
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -1
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -1
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -1
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1925
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -382
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -17
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -84
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -282
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -43
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -1
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -1
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -1
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +1 -1
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4198
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -1
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -1
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -1
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- metadata +23 -4
@@ -6,458 +6,462 @@
|
|
6
6
|
|
7
7
|
module Wx::AUI
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
# {Wx::AUI::AuiNotebook} is a notebook control which implements many features common in applications with dockable panes. Specifically, {Wx::AUI::AuiNotebook} implements functionality which allows the user to rearrange tab order via drag-and-drop, split the tab window into many different splitter configurations, and toggle through different themes to customize the control's look and feel.
|
13
|
-
# The default theme that is used is {Wx::AUI::AuiDefaultTabArt}, which provides a modern, glossy look and feel. The theme can be changed by calling {Wx::AUI::AuiNotebook#set_art_provider}.
|
14
|
-
# ### Styles
|
15
|
-
#
|
16
|
-
# This class supports the following styles:
|
17
|
-
#
|
18
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE}: Defined as {Wx::AUI::AuiNotebookOption::AUI_NB_TOP} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE} | {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS} | {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB} | {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}.
|
19
|
-
#
|
20
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT}: Allows the tab control to be split by dragging a tab.
|
21
|
-
#
|
22
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE}: Allows a tab to be moved horizontally by dragging.
|
23
|
-
#
|
24
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_EXTERNAL_MOVE}: Allows a tab to be moved to another tab control.
|
25
|
-
#
|
26
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_FIXED_WIDTH}: With this style, all tabs have the same width.
|
27
|
-
#
|
28
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS}: With this style, left and right scroll buttons are displayed.
|
29
|
-
#
|
30
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_WINDOWLIST_BUTTON}: With this style, a drop-down list of windows is available.
|
31
|
-
#
|
32
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_BUTTON}: With this style, a close button is available on the tab bar.
|
33
|
-
#
|
34
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB}: With this style, the close button is visible on the active tab.
|
35
|
-
#
|
36
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ALL_TABS}: With this style, the close button is visible on all tabs.
|
37
|
-
#
|
38
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}: With this style, middle click on a tab closes the tab.
|
39
|
-
#
|
40
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TOP}: With this style, tabs are drawn along the top of the notebook.
|
41
|
-
#
|
42
|
-
# - {Wx::AUI::AuiNotebookOption::AUI_NB_BOTTOM}: With this style, tabs are drawn along the bottom of the notebook.
|
43
|
-
#
|
44
|
-
# ### Events emitted by this class
|
45
|
-
#
|
46
|
-
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
|
47
|
-
# Event handler methods for events emitted by this class:
|
48
|
-
#
|
49
|
-
# - {Wx::EvtHandler#evt_auinotebook_page_close}(id, meth = nil, &block): A page is about to be closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSE} event.
|
50
|
-
#
|
51
|
-
# - {Wx::EvtHandler#evt_auinotebook_page_closed}(winid, meth = nil, &block): A page has been closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSED} event.
|
52
|
-
#
|
53
|
-
# - {Wx::EvtHandler#evt_auinotebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGED} event.
|
54
|
-
#
|
55
|
-
# - {Wx::EvtHandler#evt_auinotebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGING} event. This event can be vetoed.
|
56
|
-
#
|
57
|
-
# - {Wx::EvtHandler#evt_auinotebook_button}(id, meth = nil, &block): The window list button has been pressed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BUTTON} event.
|
58
|
-
#
|
59
|
-
# - {Wx::EvtHandler#evt_auinotebook_begin_drag}(id, meth = nil, &block): Dragging is about to begin. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BEGIN_DRAG} event.
|
60
|
-
#
|
61
|
-
# - {Wx::EvtHandler#evt_auinotebook_end_drag}(id, meth = nil, &block): Dragging has ended. Processes a {Wx::AUI::EVT_AUINOTEBOOK_END_DRAG} event.
|
62
|
-
#
|
63
|
-
# - {Wx::EvtHandler#evt_auinotebook_drag_motion}(id, meth = nil, &block): Emitted during a drag and drop operation. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_MOTION} event.
|
64
|
-
#
|
65
|
-
# - {Wx::EvtHandler#evt_auinotebook_allow_dnd}(id, meth = nil, &block): Whether to allow a tab to be dropped. Processes a {Wx::AUI::EVT_AUINOTEBOOK_ALLOW_DND} event. This event must be specially allowed.
|
66
|
-
#
|
67
|
-
# - {Wx::EvtHandler#evt_auinotebook_drag_done}(winid, meth = nil, &block): Notify that the tab has been dragged. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_DONE} event.
|
68
|
-
#
|
69
|
-
# - {Wx::EvtHandler#evt_auinotebook_tab_middle_down}(winid, meth = nil, &block): The middle mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN} event.
|
70
|
-
#
|
71
|
-
# - {Wx::EvtHandler#evt_auinotebook_tab_middle_up}(winid, meth = nil, &block): The middle mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_UP} event.
|
72
|
-
#
|
73
|
-
# - {Wx::EvtHandler#evt_auinotebook_tab_right_down}(winid, meth = nil, &block): The right mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_DOWN} event.
|
74
|
-
#
|
75
|
-
# - {Wx::EvtHandler#evt_auinotebook_tab_right_up}(winid, meth = nil, &block): The right mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_UP} event.
|
76
|
-
#
|
77
|
-
# - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
|
78
|
-
#
|
79
|
-
# Category: Window Docking (wxAUI)
|
80
|
-
#
|
81
|
-
# @wxrb_require USE_AUI
|
82
|
-
class AuiNotebook < BookCtrlBase
|
83
|
-
|
84
|
-
# @overload initialize()
|
85
|
-
# Default ctor.
|
86
|
-
# @return [Wx::AUI::AuiNotebook]
|
87
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE)
|
88
|
-
# Constructor.
|
89
|
-
#
|
90
|
-
# Creates a {Wx::AuiNotebok} control.
|
91
|
-
# @param parent [Wx::Window]
|
92
|
-
# @param id [Integer]
|
93
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
94
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
95
|
-
# @param style [Integer]
|
96
|
-
# @return [Wx::AUI::AuiNotebook]
|
97
|
-
def initialize(*args) end
|
98
|
-
|
99
|
-
# @overload add_page(page, caption, select=false, bitmap=(Wx::BitmapBundle.new()))
|
100
|
-
# Adds a page.
|
101
|
-
#
|
102
|
-
# If the select parameter is true, calling this will generate a page change event.
|
103
|
-
# @param page [Wx::Window]
|
104
|
-
# @param caption [String]
|
105
|
-
# @param select [Boolean]
|
106
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
107
|
-
# @return [Boolean]
|
108
|
-
# @overload add_page(page, text, select, imageId)
|
109
|
-
# Adds a new page.
|
110
|
-
#
|
111
|
-
# The page must have the book control itself as the parent and must not have been added to this control previously.
|
112
|
-
# The call to this function may generate the page changing events.
|
113
|
-
#
|
114
|
-
# true if successful, false otherwise.
|
115
|
-
#
|
116
|
-
# <div class="wxrb-remark">
|
117
|
-
# <b>Remark:</b>
|
118
|
-
# <p>Do not delete the page, it will be deleted by the book control.
|
119
|
-
# </p>
|
120
|
-
# </div>
|
121
|
-
# @see Wx::AUI::AuiNotebook#insert_page
|
122
|
-
# @param page [Wx::Window] Specifies the new page.
|
123
|
-
# @param text [String] Specifies the text for the new page.
|
124
|
-
# @param select [Boolean] Specifies whether the page should be selected.
|
125
|
-
# @param imageId [Integer] Specifies the optional image index for the new page.
|
126
|
-
# @return [Boolean]
|
127
|
-
def add_page(*args) end
|
128
|
-
|
129
|
-
# Sets the selection to the next or previous page.
|
130
|
-
# @param forward [Boolean]
|
131
|
-
# @return [void]
|
132
|
-
def advance_selection(forward=true) end
|
133
|
-
|
134
|
-
# Changes the selection for the given page, returning the previous selection.
|
135
|
-
#
|
136
|
-
# This function behaves as {Wx::AUI::AuiNotebook#set_selection} but does not generate the page changing events.
|
137
|
-
# See User Generated Events vs Programmatically Generated Events for more information.
|
138
|
-
# @param n [Integer]
|
139
|
-
# @return [Integer]
|
140
|
-
def change_selection(n) end
|
141
|
-
|
142
|
-
# Creates the notebook window.
|
143
|
-
# @param parent [Wx::Window]
|
144
|
-
# @param id [Integer]
|
145
|
-
# @param pos [Array(Integer, Integer), Wx::Point]
|
146
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
147
|
-
# @param style [Integer]
|
148
|
-
# @return [Boolean]
|
149
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
|
150
|
-
|
151
|
-
# Deletes all pages.
|
152
|
-
# @return [Boolean]
|
153
|
-
def delete_all_pages; end
|
154
|
-
|
155
|
-
# Deletes a page at the given index.
|
156
|
-
#
|
157
|
-
# Calling this method will generate a page change event.
|
158
|
-
# @param page [Integer]
|
159
|
-
# @return [Boolean]
|
160
|
-
def delete_page(page) end
|
161
|
-
|
162
|
-
# Returns the associated art provider.
|
163
|
-
# @return [Wx::AUI::AuiTabArt]
|
164
|
-
def get_art_provider; end
|
165
|
-
alias_method :art_provider, :get_art_provider
|
166
|
-
|
167
|
-
# Returns the currently selected page or NULL.
|
168
|
-
# @return [Wx::Window]
|
169
|
-
def get_current_page; end
|
170
|
-
alias_method :current_page, :get_current_page
|
171
|
-
|
172
|
-
# Returns the desired height of the notebook for the given page height.
|
173
|
-
#
|
174
|
-
# Use this to fit the notebook to a given page size.
|
175
|
-
# @param pageHeight [Integer]
|
176
|
-
# @return [Integer]
|
177
|
-
def get_height_for_page_height(pageHeight) end
|
178
|
-
alias_method :height_for_page_height, :get_height_for_page_height
|
179
|
-
|
180
|
-
# Returns the page specified by the given index.
|
181
|
-
# @param page_idx [Integer]
|
182
|
-
# @return [Wx::Window]
|
183
|
-
def get_page(page_idx) end
|
184
|
-
alias_method :page, :get_page
|
185
|
-
|
186
|
-
# Returns the tab bitmap for the page.
|
187
|
-
# @param page [Integer]
|
188
|
-
# @return [Wx::Bitmap]
|
189
|
-
def get_page_bitmap(page) end
|
190
|
-
alias_method :page_bitmap, :get_page_bitmap
|
191
|
-
|
192
|
-
# Returns the number of pages in the notebook.
|
193
|
-
# @return [Integer]
|
194
|
-
def get_page_count; end
|
195
|
-
alias_method :page_count, :get_page_count
|
196
|
-
|
197
|
-
# Returns the page index for the specified window.
|
198
|
-
#
|
199
|
-
# If the window is not found in the notebook, {Wx::NOT_FOUND} is returned.
|
200
|
-
# This is AUI-specific equivalent to Wx::BookCtrl#find_page and it is recommended to use that generic method instead of this one.
|
201
|
-
# @param page_wnd [Wx::Window]
|
202
|
-
# @return [Integer]
|
203
|
-
def get_page_index(page_wnd) end
|
204
|
-
alias_method :page_index, :get_page_index
|
205
|
-
|
206
|
-
# Returns the tab label for the page.
|
207
|
-
# @param page [Integer]
|
208
|
-
# @return [String]
|
209
|
-
def get_page_text(page) end
|
210
|
-
alias_method :page_text, :get_page_text
|
211
|
-
|
212
|
-
# Returns the tooltip for the tab label of the page.
|
213
|
-
# @param pageIdx [Integer]
|
214
|
-
# @return [String]
|
215
|
-
def get_page_tool_tip(pageIdx) end
|
216
|
-
alias_method :page_tool_tip, :get_page_tool_tip
|
217
|
-
|
218
|
-
# Returns the currently selected page.
|
219
|
-
# @return [Integer]
|
220
|
-
def get_selection; end
|
221
|
-
alias_method :selection, :get_selection
|
222
|
-
|
223
|
-
# Returns the height of the tab control.
|
224
|
-
# @return [Integer]
|
225
|
-
def get_tab_ctrl_height; end
|
226
|
-
alias_method :tab_ctrl_height, :get_tab_ctrl_height
|
227
|
-
|
228
|
-
# @overload insert_page(page_idx, page, caption, select=false, bitmap=(Wx::BitmapBundle.new()))
|
229
|
-
# {Wx::AUI::AuiNotebook#insert_page} is similar to AddPage, but allows the ability to specify the insert location.
|
230
|
-
#
|
231
|
-
# If the select parameter is true, calling this will generate a page change event.
|
232
|
-
# @param page_idx [Integer]
|
233
|
-
# @param page [Wx::Window]
|
234
|
-
# @param caption [String]
|
235
|
-
# @param select [Boolean]
|
236
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
237
|
-
# @return [Boolean]
|
238
|
-
# @overload insert_page(index, page, text, select, imageId)
|
239
|
-
# Inserts a new page at the specified position.
|
240
|
-
#
|
241
|
-
# true if successful, false otherwise.
|
242
|
-
#
|
243
|
-
# <div class="wxrb-remark">
|
244
|
-
# <b>Remark:</b>
|
245
|
-
# <p>Do not delete the page, it will be deleted by the book control.
|
246
|
-
# </p>
|
247
|
-
# </div>
|
248
|
-
# @see Wx::AUI::AuiNotebook#add_page
|
249
|
-
# @param index [Integer] Specifies the position for the new page.
|
250
|
-
# @param page [Wx::Window] Specifies the new page.
|
251
|
-
# @param text [String] Specifies the text for the new page.
|
252
|
-
# @param select [Boolean] Specifies whether the page should be selected.
|
253
|
-
# @param imageId [Integer] Specifies the optional image index for the new page.
|
254
|
-
# @return [Boolean]
|
255
|
-
def insert_page(*args) end
|
256
|
-
|
257
|
-
# Removes a page, without deleting the window pointer.
|
258
|
-
# @param page [Integer]
|
259
|
-
# @return [Boolean]
|
260
|
-
def remove_page(page) end
|
261
|
-
|
262
|
-
# Sets the art provider to be used by the notebook.
|
263
|
-
# @param art [Wx::AUI::AuiTabArt]
|
264
|
-
# @return [void]
|
265
|
-
def set_art_provider(art) end
|
266
|
-
alias_method :art_provider=, :set_art_provider
|
267
|
-
|
268
|
-
# Sets the font for drawing the tab labels, using a bold version of the font for selected tab labels.
|
269
|
-
# @param font [Wx::Font,Wx::FontInfo]
|
270
|
-
# @return [Boolean]
|
271
|
-
def set_font(font) end
|
272
|
-
alias_method :font=, :set_font
|
273
|
-
|
274
|
-
# Sets the font for measuring tab labels.
|
275
|
-
# @param font [Wx::Font,Wx::FontInfo]
|
276
|
-
# @return [void]
|
277
|
-
def set_measuring_font(font) end
|
278
|
-
alias_method :measuring_font=, :set_measuring_font
|
279
|
-
|
280
|
-
# Sets the font for drawing unselected tab labels.
|
281
|
-
# @param font [Wx::Font,Wx::FontInfo]
|
282
|
-
# @return [void]
|
283
|
-
def set_normal_font(font) end
|
284
|
-
alias_method :normal_font=, :set_normal_font
|
285
|
-
|
286
|
-
# Sets the bitmap for the page.
|
287
|
-
#
|
288
|
-
# To remove a bitmap from the tab caption, pass an empty {Wx::BitmapBundle}.
|
289
|
-
# @param page [Integer]
|
290
|
-
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
291
|
-
# @return [Boolean]
|
292
|
-
def set_page_bitmap(page, bitmap) end
|
293
|
-
|
294
|
-
# Sets the image index for the given page.
|
295
|
-
#
|
296
|
-
# image is an index into the image list which was set with {Wx::AUI::AuiNotebook#set_image_list}.
|
297
|
-
# @param n [Integer]
|
298
|
-
# @param imageId [Integer]
|
299
|
-
# @return [Boolean]
|
300
|
-
def set_page_image(n, imageId) end
|
301
|
-
|
302
|
-
# Sets the tab label for the page.
|
303
|
-
# @param page [Integer]
|
304
|
-
# @param text [String]
|
305
|
-
# @return [Boolean]
|
306
|
-
def set_page_text(page, text) end
|
307
|
-
|
308
|
-
# Sets the tooltip displayed when hovering over the tab label of the page.
|
309
|
-
#
|
310
|
-
# true if tooltip was updated, false if it failed, e.g. because the page index is invalid.
|
311
|
-
# @param page [Integer]
|
312
|
-
# @param text [String]
|
313
|
-
# @return [Boolean]
|
314
|
-
def set_page_tool_tip(page, text) end
|
315
|
-
|
316
|
-
# Sets the font for drawing selected tab labels.
|
317
|
-
# @param font [Wx::Font,Wx::FontInfo]
|
318
|
-
# @return [void]
|
319
|
-
def set_selected_font(font) end
|
320
|
-
alias_method :selected_font=, :set_selected_font
|
321
|
-
|
322
|
-
# Sets the page selection.
|
323
|
-
#
|
324
|
-
# Calling this method will generate a page change event.
|
325
|
-
# @param new_page [Integer]
|
326
|
-
# @return [Integer]
|
327
|
-
def set_selection(new_page) end
|
328
|
-
alias_method :selection=, :set_selection
|
329
|
-
|
330
|
-
# Sets the tab height.
|
331
|
-
#
|
332
|
-
# By default, the tab control height is calculated by measuring the text height and bitmap sizes on the tab captions. Calling this method will override that calculation and set the tab control to the specified height parameter. A call to this method will override any call to {Wx::AUI::AuiNotebook#set_uniform_bitmap_size}.
|
333
|
-
# Specifying -1 as the height will return the control to its default auto-sizing behaviour.
|
334
|
-
# @param height [Integer]
|
335
|
-
# @return [void]
|
336
|
-
def set_tab_ctrl_height(height) end
|
337
|
-
alias_method :tab_ctrl_height=, :set_tab_ctrl_height
|
338
|
-
|
339
|
-
# Ensure that all tabs have the same height, even if some of them don't have bitmaps.
|
340
|
-
#
|
341
|
-
# Passing {Wx::DEFAULT_SIZE} as size undoes the effect of a previous call to this function and instructs the control to use dynamic tab height.
|
342
|
-
# @param size [Array(Integer, Integer), Wx::Size]
|
343
|
-
# @return [void]
|
344
|
-
def set_uniform_bitmap_size(size) end
|
345
|
-
alias_method :uniform_bitmap_size=, :set_uniform_bitmap_size
|
346
|
-
|
347
|
-
# Split performs a split operation programmatically.
|
348
|
-
#
|
349
|
-
# The argument page indicates the page that will be split off. This page will also become the active page after the split.
|
350
|
-
# The direction argument specifies where the pane should go, it should be one of the following: {Wx::Direction::TOP}, {Wx::Direction::BOTTOM}, {Wx::Direction::LEFT}, or {Wx::Direction::RIGHT}.
|
351
|
-
# @param page [Integer]
|
352
|
-
# @param direction [Integer]
|
353
|
-
# @return [void]
|
354
|
-
def split(page, direction) end
|
355
|
-
|
356
|
-
# Shows the window menu for the active tab control associated with this notebook, and returns true if a selection was made.
|
357
|
-
# @return [Boolean]
|
358
|
-
def show_window_menu; end
|
359
|
-
|
360
|
-
# Returns the image index for the given page.
|
361
|
-
# @param nPage [Integer]
|
362
|
-
# @return [Integer]
|
363
|
-
def get_page_image(nPage) end
|
364
|
-
alias_method :page_image, :get_page_image
|
365
|
-
|
366
|
-
# Returns tab control based on point coordinates inside the tab frame.
|
367
|
-
# @param pt [Array(Integer, Integer), Wx::Point]
|
368
|
-
# @return [Wx::AUI::AuiTabCtrl]
|
369
|
-
def get_tab_ctrl_from_point(pt) end
|
370
|
-
alias_method :tab_ctrl_from_point, :get_tab_ctrl_from_point
|
371
|
-
|
372
|
-
# Returns active tab control for this notebook.
|
373
|
-
# @return [Wx::AUI::AuiTabCtrl]
|
374
|
-
def get_active_tab_ctrl; end
|
375
|
-
alias_method :active_tab_ctrl, :get_active_tab_ctrl
|
376
|
-
|
377
|
-
end # AuiNotebook
|
378
|
-
|
379
|
-
# A simple class which holds information about the notebook's pages and their state.
|
380
|
-
#
|
381
|
-
# Category: Window Docking (wxAUI)
|
382
|
-
#
|
383
|
-
#
|
384
|
-
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
385
|
-
# @wxrb_require USE_AUI
|
386
|
-
class AuiNotebookPage < ::Object
|
387
|
-
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
# @return [Wx::Window]
|
392
|
-
def window; end
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
# @param val [Wx::Window]
|
397
|
-
# @return [void]
|
398
|
-
def window=(val); end
|
399
|
-
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
# @return [String]
|
404
|
-
def caption; end
|
405
|
-
#
|
406
|
-
#
|
407
|
-
#
|
408
|
-
# @param val [String]
|
409
|
-
# @return [void]
|
410
|
-
def caption=(val); end
|
411
|
-
|
412
|
-
#
|
413
|
-
#
|
414
|
-
#
|
415
|
-
# @return [String]
|
416
|
-
def tooltip; end
|
417
|
-
#
|
418
|
-
#
|
9
|
+
module Wx::AUI
|
10
|
+
|
11
|
+
# {Wx::AUI::AuiNotebook} is part of the {Wx::AUI} class framework, which represents a notebook control, managing multiple windows with associated tabs.
|
419
12
|
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
|
423
|
-
|
13
|
+
# See also wxAUI Overview.
|
14
|
+
# {Wx::AUI::AuiNotebook} is a notebook control which implements many features common in applications with dockable panes. Specifically, {Wx::AUI::AuiNotebook} implements functionality which allows the user to rearrange tab order via drag-and-drop, split the tab window into many different splitter configurations, and toggle through different themes to customize the control's look and feel.
|
15
|
+
# The default theme that is used is {Wx::AUI::AuiDefaultTabArt}, which provides a modern, glossy look and feel. The theme can be changed by calling {Wx::AUI::AuiNotebook#set_art_provider}.
|
16
|
+
# ### Styles
|
424
17
|
#
|
18
|
+
# This class supports the following styles:
|
425
19
|
#
|
20
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE}: Defined as {Wx::AUI::AuiNotebookOption::AUI_NB_TOP} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT} | {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE} | {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS} | {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB} | {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}.
|
426
21
|
#
|
427
|
-
#
|
428
|
-
def bitmap; end
|
22
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_SPLIT}: Allows the tab control to be split by dragging a tab.
|
429
23
|
#
|
24
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_MOVE}: Allows a tab to be moved horizontally by dragging.
|
430
25
|
#
|
26
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_EXTERNAL_MOVE}: Allows a tab to be moved to another tab control.
|
431
27
|
#
|
432
|
-
#
|
433
|
-
# @return [void]
|
434
|
-
def bitmap=(val); end
|
435
|
-
|
28
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TAB_FIXED_WIDTH}: With this style, all tabs have the same width.
|
436
29
|
#
|
30
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_SCROLL_BUTTONS}: With this style, left and right scroll buttons are displayed.
|
437
31
|
#
|
32
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_WINDOWLIST_BUTTON}: With this style, a drop-down list of windows is available.
|
438
33
|
#
|
439
|
-
#
|
440
|
-
def rect; end
|
34
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_BUTTON}: With this style, a close button is available on the tab bar.
|
441
35
|
#
|
36
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ACTIVE_TAB}: With this style, the close button is visible on the active tab.
|
442
37
|
#
|
38
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_CLOSE_ON_ALL_TABS}: With this style, the close button is visible on all tabs.
|
443
39
|
#
|
444
|
-
#
|
445
|
-
# @return [void]
|
446
|
-
def rect=(val); end
|
447
|
-
|
40
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_MIDDLE_CLICK_CLOSE}: With this style, middle click on a tab closes the tab.
|
448
41
|
#
|
42
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_TOP}: With this style, tabs are drawn along the top of the notebook.
|
449
43
|
#
|
44
|
+
# - {Wx::AUI::AuiNotebookOption::AUI_NB_BOTTOM}: With this style, tabs are drawn along the bottom of the notebook.
|
450
45
|
#
|
451
|
-
#
|
452
|
-
def active; end
|
46
|
+
# ### Events emitted by this class
|
453
47
|
#
|
48
|
+
# The following event-handler methods redirect the events to member method or handler blocks for {Wx::AUI::AuiNotebookEvent} events.
|
49
|
+
# Event handler methods for events emitted by this class:
|
454
50
|
#
|
51
|
+
# - {Wx::EvtHandler#evt_auinotebook_page_close}(id, meth = nil, &block): A page is about to be closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSE} event.
|
455
52
|
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
|
53
|
+
# - {Wx::EvtHandler#evt_auinotebook_page_closed}(winid, meth = nil, &block): A page has been closed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CLOSED} event.
|
54
|
+
#
|
55
|
+
# - {Wx::EvtHandler#evt_auinotebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGED} event.
|
56
|
+
#
|
57
|
+
# - {Wx::EvtHandler#evt_auinotebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_PAGE_CHANGING} event. This event can be vetoed.
|
58
|
+
#
|
59
|
+
# - {Wx::EvtHandler#evt_auinotebook_button}(id, meth = nil, &block): The window list button has been pressed. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BUTTON} event.
|
60
|
+
#
|
61
|
+
# - {Wx::EvtHandler#evt_auinotebook_begin_drag}(id, meth = nil, &block): Dragging is about to begin. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BEGIN_DRAG} event.
|
62
|
+
#
|
63
|
+
# - {Wx::EvtHandler#evt_auinotebook_end_drag}(id, meth = nil, &block): Dragging has ended. Processes a {Wx::AUI::EVT_AUINOTEBOOK_END_DRAG} event.
|
64
|
+
#
|
65
|
+
# - {Wx::EvtHandler#evt_auinotebook_drag_motion}(id, meth = nil, &block): Emitted during a drag and drop operation. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_MOTION} event.
|
66
|
+
#
|
67
|
+
# - {Wx::EvtHandler#evt_auinotebook_allow_dnd}(id, meth = nil, &block): Whether to allow a tab to be dropped. Processes a {Wx::AUI::EVT_AUINOTEBOOK_ALLOW_DND} event. This event must be specially allowed.
|
68
|
+
#
|
69
|
+
# - {Wx::EvtHandler#evt_auinotebook_drag_done}(winid, meth = nil, &block): Notify that the tab has been dragged. Processes a {Wx::AUI::EVT_AUINOTEBOOK_DRAG_DONE} event.
|
70
|
+
#
|
71
|
+
# - {Wx::EvtHandler#evt_auinotebook_tab_middle_down}(winid, meth = nil, &block): The middle mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_DOWN} event.
|
72
|
+
#
|
73
|
+
# - {Wx::EvtHandler#evt_auinotebook_tab_middle_up}(winid, meth = nil, &block): The middle mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_MIDDLE_UP} event.
|
74
|
+
#
|
75
|
+
# - {Wx::EvtHandler#evt_auinotebook_tab_right_down}(winid, meth = nil, &block): The right mouse button is pressed on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_DOWN} event.
|
76
|
+
#
|
77
|
+
# - {Wx::EvtHandler#evt_auinotebook_tab_right_up}(winid, meth = nil, &block): The right mouse button is released on a tab. Processes a {Wx::AUI::EVT_AUINOTEBOOK_TAB_RIGHT_UP} event.
|
78
|
+
#
|
79
|
+
# - {Wx::EvtHandler#evt_auinotebook_bg_dclick}(winid, meth = nil, &block): Double clicked on the tabs background area. Processes a {Wx::AUI::EVT_AUINOTEBOOK_BG_DCLICK} event.
|
80
|
+
#
|
81
|
+
# Category: Window Docking (wxAUI)
|
82
|
+
#
|
83
|
+
# @wxrb_require USE_AUI
|
84
|
+
class AuiNotebook < BookCtrlBase
|
85
|
+
|
86
|
+
# @overload initialize()
|
87
|
+
# Default ctor.
|
88
|
+
# @return [Wx::AUI::AuiNotebook]
|
89
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AUI::AuiNotebookOption::AUI_NB_DEFAULT_STYLE)
|
90
|
+
# Constructor.
|
91
|
+
#
|
92
|
+
# Creates a {Wx::AuiNotebok} control.
|
93
|
+
# @param parent [Wx::Window]
|
94
|
+
# @param id [Integer]
|
95
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
96
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
97
|
+
# @param style [Integer]
|
98
|
+
# @return [Wx::AUI::AuiNotebook]
|
99
|
+
def initialize(*args) end
|
100
|
+
|
101
|
+
# @overload add_page(page, caption, select=false, bitmap=(Wx::BitmapBundle.new()))
|
102
|
+
# Adds a page.
|
103
|
+
#
|
104
|
+
# If the select parameter is true, calling this will generate a page change event.
|
105
|
+
# @param page [Wx::Window]
|
106
|
+
# @param caption [String]
|
107
|
+
# @param select [Boolean]
|
108
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
109
|
+
# @return [Boolean]
|
110
|
+
# @overload add_page(page, text, select, imageId)
|
111
|
+
# Adds a new page.
|
112
|
+
#
|
113
|
+
# The page must have the book control itself as the parent and must not have been added to this control previously.
|
114
|
+
# The call to this function may generate the page changing events.
|
115
|
+
#
|
116
|
+
# true if successful, false otherwise.
|
117
|
+
#
|
118
|
+
# <div class="wxrb-remark">
|
119
|
+
# <b>Remark:</b>
|
120
|
+
# <p>Do not delete the page, it will be deleted by the book control.
|
121
|
+
# </p>
|
122
|
+
# </div>
|
123
|
+
# @see Wx::AUI::AuiNotebook#insert_page
|
124
|
+
# @param page [Wx::Window] Specifies the new page.
|
125
|
+
# @param text [String] Specifies the text for the new page.
|
126
|
+
# @param select [Boolean] Specifies whether the page should be selected.
|
127
|
+
# @param imageId [Integer] Specifies the optional image index for the new page.
|
128
|
+
# @return [Boolean]
|
129
|
+
def add_page(*args) end
|
130
|
+
|
131
|
+
# Sets the selection to the next or previous page.
|
132
|
+
# @param forward [Boolean]
|
133
|
+
# @return [void]
|
134
|
+
def advance_selection(forward=true) end
|
135
|
+
|
136
|
+
# Changes the selection for the given page, returning the previous selection.
|
137
|
+
#
|
138
|
+
# This function behaves as {Wx::AUI::AuiNotebook#set_selection} but does not generate the page changing events.
|
139
|
+
# See User Generated Events vs Programmatically Generated Events for more information.
|
140
|
+
# @param n [Integer]
|
141
|
+
# @return [Integer]
|
142
|
+
def change_selection(n) end
|
143
|
+
|
144
|
+
# Creates the notebook window.
|
145
|
+
# @param parent [Wx::Window]
|
146
|
+
# @param id [Integer]
|
147
|
+
# @param pos [Array(Integer, Integer), Wx::Point]
|
148
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
149
|
+
# @param style [Integer]
|
150
|
+
# @return [Boolean]
|
151
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0) end
|
152
|
+
|
153
|
+
# Deletes all pages.
|
154
|
+
# @return [Boolean]
|
155
|
+
def delete_all_pages; end
|
156
|
+
|
157
|
+
# Deletes a page at the given index.
|
158
|
+
#
|
159
|
+
# Calling this method will generate a page change event.
|
160
|
+
# @param page [Integer]
|
161
|
+
# @return [Boolean]
|
162
|
+
def delete_page(page) end
|
163
|
+
|
164
|
+
# Returns the associated art provider.
|
165
|
+
# @return [Wx::AUI::AuiTabArt]
|
166
|
+
def get_art_provider; end
|
167
|
+
alias_method :art_provider, :get_art_provider
|
168
|
+
|
169
|
+
# Returns the currently selected page or NULL.
|
170
|
+
# @return [Wx::Window]
|
171
|
+
def get_current_page; end
|
172
|
+
alias_method :current_page, :get_current_page
|
173
|
+
|
174
|
+
# Returns the desired height of the notebook for the given page height.
|
175
|
+
#
|
176
|
+
# Use this to fit the notebook to a given page size.
|
177
|
+
# @param pageHeight [Integer]
|
178
|
+
# @return [Integer]
|
179
|
+
def get_height_for_page_height(pageHeight) end
|
180
|
+
alias_method :height_for_page_height, :get_height_for_page_height
|
181
|
+
|
182
|
+
# Returns the page specified by the given index.
|
183
|
+
# @param page_idx [Integer]
|
184
|
+
# @return [Wx::Window]
|
185
|
+
def get_page(page_idx) end
|
186
|
+
alias_method :page, :get_page
|
187
|
+
|
188
|
+
# Returns the tab bitmap for the page.
|
189
|
+
# @param page [Integer]
|
190
|
+
# @return [Wx::Bitmap]
|
191
|
+
def get_page_bitmap(page) end
|
192
|
+
alias_method :page_bitmap, :get_page_bitmap
|
193
|
+
|
194
|
+
# Returns the number of pages in the notebook.
|
195
|
+
# @return [Integer]
|
196
|
+
def get_page_count; end
|
197
|
+
alias_method :page_count, :get_page_count
|
198
|
+
|
199
|
+
# Returns the page index for the specified window.
|
200
|
+
#
|
201
|
+
# If the window is not found in the notebook, {Wx::NOT_FOUND} is returned.
|
202
|
+
# This is AUI-specific equivalent to Wx::BookCtrl#find_page and it is recommended to use that generic method instead of this one.
|
203
|
+
# @param page_wnd [Wx::Window]
|
204
|
+
# @return [Integer]
|
205
|
+
def get_page_index(page_wnd) end
|
206
|
+
alias_method :page_index, :get_page_index
|
207
|
+
|
208
|
+
# Returns the tab label for the page.
|
209
|
+
# @param page [Integer]
|
210
|
+
# @return [String]
|
211
|
+
def get_page_text(page) end
|
212
|
+
alias_method :page_text, :get_page_text
|
213
|
+
|
214
|
+
# Returns the tooltip for the tab label of the page.
|
215
|
+
# @param pageIdx [Integer]
|
216
|
+
# @return [String]
|
217
|
+
def get_page_tool_tip(pageIdx) end
|
218
|
+
alias_method :page_tool_tip, :get_page_tool_tip
|
219
|
+
|
220
|
+
# Returns the currently selected page.
|
221
|
+
# @return [Integer]
|
222
|
+
def get_selection; end
|
223
|
+
alias_method :selection, :get_selection
|
224
|
+
|
225
|
+
# Returns the height of the tab control.
|
226
|
+
# @return [Integer]
|
227
|
+
def get_tab_ctrl_height; end
|
228
|
+
alias_method :tab_ctrl_height, :get_tab_ctrl_height
|
229
|
+
|
230
|
+
# @overload insert_page(page_idx, page, caption, select=false, bitmap=(Wx::BitmapBundle.new()))
|
231
|
+
# {Wx::AUI::AuiNotebook#insert_page} is similar to AddPage, but allows the ability to specify the insert location.
|
232
|
+
#
|
233
|
+
# If the select parameter is true, calling this will generate a page change event.
|
234
|
+
# @param page_idx [Integer]
|
235
|
+
# @param page [Wx::Window]
|
236
|
+
# @param caption [String]
|
237
|
+
# @param select [Boolean]
|
238
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
239
|
+
# @return [Boolean]
|
240
|
+
# @overload insert_page(index, page, text, select, imageId)
|
241
|
+
# Inserts a new page at the specified position.
|
242
|
+
#
|
243
|
+
# true if successful, false otherwise.
|
244
|
+
#
|
245
|
+
# <div class="wxrb-remark">
|
246
|
+
# <b>Remark:</b>
|
247
|
+
# <p>Do not delete the page, it will be deleted by the book control.
|
248
|
+
# </p>
|
249
|
+
# </div>
|
250
|
+
# @see Wx::AUI::AuiNotebook#add_page
|
251
|
+
# @param index [Integer] Specifies the position for the new page.
|
252
|
+
# @param page [Wx::Window] Specifies the new page.
|
253
|
+
# @param text [String] Specifies the text for the new page.
|
254
|
+
# @param select [Boolean] Specifies whether the page should be selected.
|
255
|
+
# @param imageId [Integer] Specifies the optional image index for the new page.
|
256
|
+
# @return [Boolean]
|
257
|
+
def insert_page(*args) end
|
258
|
+
|
259
|
+
# Removes a page, without deleting the window pointer.
|
260
|
+
# @param page [Integer]
|
261
|
+
# @return [Boolean]
|
262
|
+
def remove_page(page) end
|
263
|
+
|
264
|
+
# Sets the art provider to be used by the notebook.
|
265
|
+
# @param art [Wx::AUI::AuiTabArt]
|
266
|
+
# @return [void]
|
267
|
+
def set_art_provider(art) end
|
268
|
+
alias_method :art_provider=, :set_art_provider
|
269
|
+
|
270
|
+
# Sets the font for drawing the tab labels, using a bold version of the font for selected tab labels.
|
271
|
+
# @param font [Wx::Font,Wx::FontInfo]
|
272
|
+
# @return [Boolean]
|
273
|
+
def set_font(font) end
|
274
|
+
alias_method :font=, :set_font
|
275
|
+
|
276
|
+
# Sets the font for measuring tab labels.
|
277
|
+
# @param font [Wx::Font,Wx::FontInfo]
|
278
|
+
# @return [void]
|
279
|
+
def set_measuring_font(font) end
|
280
|
+
alias_method :measuring_font=, :set_measuring_font
|
281
|
+
|
282
|
+
# Sets the font for drawing unselected tab labels.
|
283
|
+
# @param font [Wx::Font,Wx::FontInfo]
|
284
|
+
# @return [void]
|
285
|
+
def set_normal_font(font) end
|
286
|
+
alias_method :normal_font=, :set_normal_font
|
287
|
+
|
288
|
+
# Sets the bitmap for the page.
|
289
|
+
#
|
290
|
+
# To remove a bitmap from the tab caption, pass an empty {Wx::BitmapBundle}.
|
291
|
+
# @param page [Integer]
|
292
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
293
|
+
# @return [Boolean]
|
294
|
+
def set_page_bitmap(page, bitmap) end
|
295
|
+
|
296
|
+
# Sets the image index for the given page.
|
297
|
+
#
|
298
|
+
# image is an index into the image list which was set with {Wx::AUI::AuiNotebook#set_image_list}.
|
299
|
+
# @param n [Integer]
|
300
|
+
# @param imageId [Integer]
|
301
|
+
# @return [Boolean]
|
302
|
+
def set_page_image(n, imageId) end
|
303
|
+
|
304
|
+
# Sets the tab label for the page.
|
305
|
+
# @param page [Integer]
|
306
|
+
# @param text [String]
|
307
|
+
# @return [Boolean]
|
308
|
+
def set_page_text(page, text) end
|
309
|
+
|
310
|
+
# Sets the tooltip displayed when hovering over the tab label of the page.
|
311
|
+
#
|
312
|
+
# true if tooltip was updated, false if it failed, e.g. because the page index is invalid.
|
313
|
+
# @param page [Integer]
|
314
|
+
# @param text [String]
|
315
|
+
# @return [Boolean]
|
316
|
+
def set_page_tool_tip(page, text) end
|
317
|
+
|
318
|
+
# Sets the font for drawing selected tab labels.
|
319
|
+
# @param font [Wx::Font,Wx::FontInfo]
|
320
|
+
# @return [void]
|
321
|
+
def set_selected_font(font) end
|
322
|
+
alias_method :selected_font=, :set_selected_font
|
323
|
+
|
324
|
+
# Sets the page selection.
|
325
|
+
#
|
326
|
+
# Calling this method will generate a page change event.
|
327
|
+
# @param new_page [Integer]
|
328
|
+
# @return [Integer]
|
329
|
+
def set_selection(new_page) end
|
330
|
+
alias_method :selection=, :set_selection
|
331
|
+
|
332
|
+
# Sets the tab height.
|
333
|
+
#
|
334
|
+
# By default, the tab control height is calculated by measuring the text height and bitmap sizes on the tab captions. Calling this method will override that calculation and set the tab control to the specified height parameter. A call to this method will override any call to {Wx::AUI::AuiNotebook#set_uniform_bitmap_size}.
|
335
|
+
# Specifying -1 as the height will return the control to its default auto-sizing behaviour.
|
336
|
+
# @param height [Integer]
|
337
|
+
# @return [void]
|
338
|
+
def set_tab_ctrl_height(height) end
|
339
|
+
alias_method :tab_ctrl_height=, :set_tab_ctrl_height
|
340
|
+
|
341
|
+
# Ensure that all tabs have the same height, even if some of them don't have bitmaps.
|
342
|
+
#
|
343
|
+
# Passing {Wx::DEFAULT_SIZE} as size undoes the effect of a previous call to this function and instructs the control to use dynamic tab height.
|
344
|
+
# @param size [Array(Integer, Integer), Wx::Size]
|
345
|
+
# @return [void]
|
346
|
+
def set_uniform_bitmap_size(size) end
|
347
|
+
alias_method :uniform_bitmap_size=, :set_uniform_bitmap_size
|
348
|
+
|
349
|
+
# Split performs a split operation programmatically.
|
350
|
+
#
|
351
|
+
# The argument page indicates the page that will be split off. This page will also become the active page after the split.
|
352
|
+
# The direction argument specifies where the pane should go, it should be one of the following: {Wx::Direction::TOP}, {Wx::Direction::BOTTOM}, {Wx::Direction::LEFT}, or {Wx::Direction::RIGHT}.
|
353
|
+
# @param page [Integer]
|
354
|
+
# @param direction [Integer]
|
355
|
+
# @return [void]
|
356
|
+
def split(page, direction) end
|
357
|
+
|
358
|
+
# Shows the window menu for the active tab control associated with this notebook, and returns true if a selection was made.
|
359
|
+
# @return [Boolean]
|
360
|
+
def show_window_menu; end
|
361
|
+
|
362
|
+
# Returns the image index for the given page.
|
363
|
+
# @param nPage [Integer]
|
364
|
+
# @return [Integer]
|
365
|
+
def get_page_image(nPage) end
|
366
|
+
alias_method :page_image, :get_page_image
|
367
|
+
|
368
|
+
# Returns tab control based on point coordinates inside the tab frame.
|
369
|
+
# @param pt [Array(Integer, Integer), Wx::Point]
|
370
|
+
# @return [Wx::AUI::AuiTabCtrl]
|
371
|
+
def get_tab_ctrl_from_point(pt) end
|
372
|
+
alias_method :tab_ctrl_from_point, :get_tab_ctrl_from_point
|
373
|
+
|
374
|
+
# Returns active tab control for this notebook.
|
375
|
+
# @return [Wx::AUI::AuiTabCtrl]
|
376
|
+
def get_active_tab_ctrl; end
|
377
|
+
alias_method :active_tab_ctrl, :get_active_tab_ctrl
|
378
|
+
|
379
|
+
end # AuiNotebook
|
380
|
+
|
381
|
+
# A simple class which holds information about the notebook's pages and their state.
|
382
|
+
#
|
383
|
+
# Category: Window Docking (wxAUI)
|
384
|
+
#
|
385
|
+
#
|
386
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
387
|
+
# @wxrb_require USE_AUI
|
388
|
+
class AuiNotebookPage < ::Object
|
389
|
+
|
390
|
+
#
|
391
|
+
#
|
392
|
+
#
|
393
|
+
# @return [Wx::Window]
|
394
|
+
def window; end
|
395
|
+
#
|
396
|
+
#
|
397
|
+
#
|
398
|
+
# @param val [Wx::Window]
|
399
|
+
# @return [void]
|
400
|
+
def window=(val); end
|
401
|
+
|
402
|
+
#
|
403
|
+
#
|
404
|
+
#
|
405
|
+
# @return [String]
|
406
|
+
def caption; end
|
407
|
+
#
|
408
|
+
#
|
409
|
+
#
|
410
|
+
# @param val [String]
|
411
|
+
# @return [void]
|
412
|
+
def caption=(val); end
|
413
|
+
|
414
|
+
#
|
415
|
+
#
|
416
|
+
#
|
417
|
+
# @return [String]
|
418
|
+
def tooltip; end
|
419
|
+
#
|
420
|
+
#
|
421
|
+
#
|
422
|
+
# @param val [String]
|
423
|
+
# @return [void]
|
424
|
+
def tooltip=(val); end
|
425
|
+
|
426
|
+
#
|
427
|
+
#
|
428
|
+
#
|
429
|
+
# @return [Wx::BitmapBundle]
|
430
|
+
def bitmap; end
|
431
|
+
#
|
432
|
+
#
|
433
|
+
#
|
434
|
+
# @param val [Wx::BitmapBundle]
|
435
|
+
# @return [void]
|
436
|
+
def bitmap=(val); end
|
437
|
+
|
438
|
+
#
|
439
|
+
#
|
440
|
+
#
|
441
|
+
# @return [Wx::Rect]
|
442
|
+
def rect; end
|
443
|
+
#
|
444
|
+
#
|
445
|
+
#
|
446
|
+
# @param val [Wx::Rect]
|
447
|
+
# @return [void]
|
448
|
+
def rect=(val); end
|
449
|
+
|
450
|
+
#
|
451
|
+
#
|
452
|
+
#
|
453
|
+
# @return [Boolean]
|
454
|
+
def active; end
|
455
|
+
#
|
456
|
+
#
|
457
|
+
#
|
458
|
+
# @param val [Boolean]
|
459
|
+
# @return [void]
|
460
|
+
def active=(val); end
|
461
|
+
|
462
|
+
end # AuiNotebookPage
|
459
463
|
|
460
|
-
end # AuiNotebookPage
|
461
|
-
|
462
464
|
|
463
|
-
end
|
465
|
+
end
|
466
|
+
|
467
|
+
end
|