wxruby3 0.9.0.pre.rc.3-x64-mingw-ucrt → 0.9.0-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/README.md +1 -1
- data/ext/mkrf_conf_bingem.rb +4 -1
- 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/accessors.rb +10 -2
- data/lib/wx/aui/auifloatframe.rb +20 -0
- data/lib/wx/aui/auimanager.rb +3 -0
- data/lib/wx/aui/auinotebook.rb +17 -0
- data/lib/wx/aui/events/evt_list.rb +7 -7
- data/lib/wx/aui/require.rb +5 -1
- data/lib/wx/aui.rb +4 -1
- data/lib/wx/core/acceleratortable.rb +8 -0
- data/lib/wx/core/animation.rb +8 -0
- data/lib/wx/core/app.rb +8 -0
- data/lib/wx/core/array_ext.rb +7 -0
- data/lib/wx/core/art_locator.rb +7 -0
- data/lib/wx/core/artprovider.rb +9 -0
- data/lib/wx/core/bitmap.rb +16 -4
- data/lib/wx/core/bitmap_combobox.rb +7 -0
- data/lib/wx/core/brush.rb +7 -0
- data/lib/wx/core/busycursor.rb +9 -0
- data/lib/wx/core/choice.rb +7 -0
- data/lib/wx/core/choicedlg.rb +7 -0
- data/lib/wx/core/clientdc.rb +9 -0
- data/lib/wx/core/clipboard.rb +8 -0
- data/lib/wx/core/collapsible_pane.rb +8 -1
- data/lib/wx/core/colour.rb +8 -0
- data/lib/wx/core/combo_ctrl.rb +110 -0
- data/lib/wx/core/combobox.rb +7 -0
- data/lib/wx/core/config.rb +303 -0
- data/lib/wx/core/controlwithitems.rb +12 -1
- data/lib/wx/core/cursor.rb +14 -4
- data/lib/wx/core/data_object.rb +7 -0
- data/lib/wx/core/dataformat.rb +9 -0
- data/lib/wx/core/datetime.rb +14 -0
- data/lib/wx/core/dc.rb +7 -0
- data/lib/wx/core/dialog.rb +18 -1
- data/lib/wx/core/enum.rb +7 -0
- data/lib/wx/core/event.rb +7 -0
- data/lib/wx/core/event_blocker.rb +7 -0
- data/lib/wx/core/event_loop.rb +7 -0
- data/lib/wx/core/events/evt_list.rb +76 -0
- data/lib/wx/core/evthandler.rb +8 -0
- data/lib/wx/core/ext.rb +7 -0
- data/lib/wx/core/file_dialog.rb +23 -0
- data/lib/wx/core/find_replace_dialog.rb +7 -0
- data/lib/wx/core/functions.rb +8 -0
- data/lib/wx/core/gauge.rb +10 -1
- data/lib/wx/core/genericdirctrl.rb +9 -0
- data/lib/wx/core/hboxsizer.rb +16 -0
- data/lib/wx/core/helpcontroller.rb +8 -0
- data/lib/wx/core/helpcontrollerhelpprovider.rb +9 -0
- data/lib/wx/core/helpprovider.rb +10 -1
- data/lib/wx/core/icon.rb +17 -6
- data/lib/wx/core/id_helper.rb +7 -0
- data/lib/wx/core/image.rb +16 -4
- data/lib/wx/core/imagelist.rb +8 -1
- data/lib/wx/core/listbox.rb +7 -0
- data/lib/wx/core/listctrl.rb +9 -0
- data/lib/wx/core/locale.rb +8 -0
- data/lib/wx/core/log.rb +24 -0
- data/lib/wx/core/menu.rb +9 -0
- data/lib/wx/core/menu_bar.rb +7 -0
- data/lib/wx/core/menuitem.rb +9 -0
- data/lib/wx/core/notebook.rb +9 -0
- data/lib/wx/core/object.rb +9 -0
- data/lib/wx/core/paintdc.rb +7 -0
- data/lib/wx/core/pen.rb +7 -0
- data/lib/wx/core/pen_info.rb +7 -0
- data/lib/wx/core/platform_info.rb +7 -0
- data/lib/wx/core/point.rb +8 -0
- data/lib/wx/core/real_point.rb +8 -0
- data/lib/wx/core/rect.rb +9 -0
- data/lib/wx/core/region_iterator.rb +7 -0
- data/lib/wx/core/simplehelpprovider.rb +9 -0
- data/lib/wx/core/size.rb +8 -0
- data/lib/wx/core/sizer.rb +9 -0
- data/lib/wx/core/splash_screen.rb +22 -2
- data/lib/wx/core/text_entry.rb +7 -0
- data/lib/wx/core/textctrl.rb +86 -5
- data/lib/wx/core/timer.rb +9 -0
- data/lib/wx/core/toolbar.rb +9 -0
- data/lib/wx/core/toolbartool.rb +8 -0
- data/lib/wx/core/treectrl.rb +9 -0
- data/lib/wx/core/v_list_box.rb +7 -0
- data/lib/wx/core/validator.rb +7 -0
- data/lib/wx/core/variant.rb +7 -0
- data/lib/wx/core/vboxsizer.rb +16 -0
- data/lib/wx/core/window.rb +8 -0
- data/lib/wx/core/window_update_locker.rb +9 -0
- data/lib/wx/core/xmlresource.rb +8 -0
- data/lib/wx/core.rb +4 -1
- data/lib/wx/doc/app.rb +7 -1
- data/lib/wx/doc/array_ext.rb +6 -0
- data/lib/wx/doc/art_locator.rb +7 -0
- data/lib/wx/doc/aui/auimanager.rb +6 -0
- data/lib/wx/doc/aui/auinotebook.rb +6 -0
- data/lib/wx/doc/bitmap.rb +12 -4
- data/lib/wx/doc/brush.rb +6 -0
- data/lib/wx/doc/busy_info.rb +6 -0
- data/lib/wx/doc/client_dc.rb +6 -0
- data/lib/wx/doc/clipboard.rb +6 -0
- data/lib/wx/doc/colour_dialog.rb +6 -0
- data/lib/wx/doc/config.rb +190 -0
- data/lib/wx/doc/const.rb +7 -0
- data/lib/wx/doc/controlwithitems.rb +6 -0
- data/lib/wx/doc/core.rb +6 -0
- data/lib/wx/doc/cursor.rb +13 -5
- data/lib/wx/doc/data_object.rb +6 -0
- data/lib/wx/doc/datetime.rb +16 -0
- data/lib/wx/doc/dc.rb +6 -0
- data/lib/wx/doc/enum.rb +8 -1
- data/lib/wx/doc/event.rb +12 -0
- data/lib/wx/doc/event_blocker.rb +6 -0
- data/lib/wx/doc/event_loop.rb +6 -0
- data/lib/wx/doc/events.rb +6 -0
- data/lib/wx/doc/evthandler.rb +8 -0
- data/lib/wx/doc/extra/01_packages.md +52 -51
- data/lib/wx/doc/extra/05_event-handling.md +37 -12
- data/lib/wx/doc/extra/06_geometry.md +5 -5
- data/lib/wx/doc/extra/07_colour_and_font.md +2 -2
- data/lib/wx/doc/extra/09_exceptions.md +1 -1
- data/lib/wx/doc/extra/10_art.md +18 -12
- data/lib/wx/doc/extra/11_drawing_and_dc.md +4 -4
- data/lib/wx/doc/font.rb +6 -0
- data/lib/wx/doc/font_data.rb +16 -0
- data/lib/wx/doc/functions.rb +9 -1
- data/lib/wx/doc/gc_dc.rb +6 -0
- data/lib/wx/doc/gdi_common.rb +8 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +9 -9
- data/lib/wx/doc/gen/accelerator.rb +4 -9
- data/lib/wx/doc/gen/accessible.rb +21 -21
- data/lib/wx/doc/gen/activity_indicator.rb +2 -2
- data/lib/wx/doc/gen/animation.rb +13 -13
- data/lib/wx/doc/gen/animation_ctrl.rb +7 -7
- data/lib/wx/doc/gen/any_button.rb +2 -2
- data/lib/wx/doc/gen/app.rb +16 -85
- data/lib/wx/doc/gen/app_traits.rb +381 -0
- data/lib/wx/doc/gen/art_provider.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_manager.rb +12 -14
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +5 -5
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +13 -14
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_notebook.rb +102 -19
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +44 -44
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +11 -11
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +28 -28
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +7 -7
- data/lib/wx/doc/gen/aui/event_list.rb +7 -0
- data/lib/wx/doc/gen/banner_window.rb +98 -0
- data/lib/wx/doc/gen/bitmap.rb +24 -55
- data/lib/wx/doc/gen/bitmap_button.rb +3 -3
- data/lib/wx/doc/gen/bitmap_combo_box.rb +2 -2
- data/lib/wx/doc/gen/book_ctrl_base.rb +13 -13
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +8 -8
- data/lib/wx/doc/gen/button.rb +4 -4
- data/lib/wx/doc/gen/calendar_ctrl.rb +12 -12
- data/lib/wx/doc/gen/calendar_date_attr.rb +11 -11
- data/lib/wx/doc/gen/calendar_event.rb +2 -8
- data/lib/wx/doc/gen/caret.rb +4 -4
- data/lib/wx/doc/gen/check_box.rb +9 -9
- data/lib/wx/doc/gen/check_list_box.rb +4 -4
- data/lib/wx/doc/gen/choice.rb +3 -3
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +9 -9
- data/lib/wx/doc/gen/collapsible_pane.rb +4 -4
- data/lib/wx/doc/gen/collapsible_pane_event.rb +3 -3
- data/lib/wx/doc/gen/colour.rb +26 -26
- data/lib/wx/doc/gen/colour_dialog.rb +6 -6
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +7 -7
- data/lib/wx/doc/gen/combo_ctrl.rb +960 -0
- data/lib/wx/doc/gen/command_link_button.rb +110 -0
- data/lib/wx/doc/gen/config_base.rb +10 -0
- data/lib/wx/doc/gen/context_help_button.rb +3 -3
- data/lib/wx/doc/gen/control.rb +3 -3
- data/lib/wx/doc/gen/control_with_items.rb +5 -5
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +3 -8
- data/lib/wx/doc/gen/data_format.rb +3 -3
- data/lib/wx/doc/gen/data_object.rb +13 -13
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +5 -5
- data/lib/wx/doc/gen/dc.rb +125 -62
- data/lib/wx/doc/gen/dialog.rb +46 -17
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +3 -3
- data/lib/wx/doc/gen/drag_drop.rb +18 -44
- data/lib/wx/doc/gen/drag_image.rb +7 -32
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +15 -23
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_list.rb +103 -5
- data/lib/wx/doc/gen/events.rb +151 -151
- data/lib/wx/doc/gen/evt_handler.rb +7 -7
- data/lib/wx/doc/gen/ext_help_controller.rb +8 -8
- data/lib/wx/doc/gen/file_dialog.rb +4 -2
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +146 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +159 -0
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +3 -3
- data/lib/wx/doc/gen/file_system.rb +250 -0
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +4 -4
- data/lib/wx/doc/gen/font.rb +60 -65
- data/lib/wx/doc/gen/font_data.rb +6 -6
- data/lib/wx/doc/gen/font_dialog.rb +2 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +6 -20
- data/lib/wx/doc/gen/fs_file.rb +61 -21
- data/lib/wx/doc/gen/gauge.rb +3 -3
- data/lib/wx/doc/gen/gb_sizer_item.rb +12 -26
- data/lib/wx/doc/gen/gdi_common.rb +8 -8
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -6
- data/lib/wx/doc/gen/graphics_context.rb +291 -60
- data/lib/wx/doc/gen/graphics_object.rb +47 -101
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +36 -51
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +7 -12
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +6 -4
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +3 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +2 -0
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +414 -171
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_event.rb +7 -7
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +9 -9
- data/lib/wx/doc/gen/grid/grid_size_event.rb +5 -5
- data/lib/wx/doc/gen/grid/grid_string_table.rb +6 -6
- data/lib/wx/doc/gen/grid/grid_table_base.rb +15 -15
- data/lib/wx/doc/gen/grid_bag_sizer.rb +10 -10
- data/lib/wx/doc/gen/gui_event_loop.rb +12 -12
- data/lib/wx/doc/gen/header_ctrl.rb +755 -0
- data/lib/wx/doc/gen/header_ctrl_event.rb +131 -0
- data/lib/wx/doc/gen/help_controller.rb +7 -7
- data/lib/wx/doc/gen/help_provider.rb +3 -3
- data/lib/wx/doc/gen/html/html_cell.rb +67 -44
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -3
- data/lib/wx/doc/gen/html/html_easy_printing.rb +5 -5
- data/lib/wx/doc/gen/html/html_help_controller.rb +40 -52
- data/lib/wx/doc/gen/html/html_help_data.rb +2 -2
- data/lib/wx/doc/gen/html/html_help_window.rb +21 -27
- data/lib/wx/doc/gen/html/html_list_box.rb +6 -6
- data/lib/wx/doc/gen/html/html_printout.rb +1 -1
- data/lib/wx/doc/gen/html/html_window.rb +35 -31
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +3 -3
- data/lib/wx/doc/gen/icon.rb +10 -10
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +46 -51
- data/lib/wx/doc/gen/image_list.rb +14 -24
- data/lib/wx/doc/gen/info_bar.rb +152 -0
- data/lib/wx/doc/gen/keyboard_state.rb +17 -17
- data/lib/wx/doc/gen/list_box.rb +19 -19
- data/lib/wx/doc/gen/list_ctrl.rb +58 -93
- data/lib/wx/doc/gen/list_event.rb +2 -2
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +15 -39
- data/lib/wx/doc/gen/log.rb +17 -67
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +8 -8
- data/lib/wx/doc/gen/media_ctrl.rb +15 -15
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +3 -6
- data/lib/wx/doc/gen/menu.rb +15 -16
- data/lib/wx/doc/gen/menu_bar.rb +9 -26
- data/lib/wx/doc/gen/menu_item.rb +12 -12
- data/lib/wx/doc/gen/message_dialog.rb +6 -6
- data/lib/wx/doc/gen/mini_frame.rb +2 -2
- data/lib/wx/doc/gen/mouse_state.rb +50 -10
- data/lib/wx/doc/gen/non_owned_window.rb +2 -2
- data/lib/wx/doc/gen/notebook.rb +7 -7
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -12
- data/lib/wx/doc/gen/palette.rb +12 -14
- data/lib/wx/doc/gen/panel.rb +4 -4
- data/lib/wx/doc/gen/pen.rb +25 -25
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -2
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +14 -14
- data/lib/wx/doc/gen/pg/pg_cell.rb +3 -6
- data/lib/wx/doc/gen/pg/pg_editor.rb +19 -19
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +61 -86
- data/lib/wx/doc/gen/pg/pg_properties.rb +210 -263
- data/lib/wx/doc/gen/pg/pg_property.rb +161 -257
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +2 -2
- data/lib/wx/doc/gen/pg/property_grid.rb +30 -30
- data/lib/wx/doc/gen/pg/property_grid_event.rb +7 -7
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +45 -51
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +39 -42
- data/lib/wx/doc/gen/pg/property_grid_page.rb +11 -20
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +10 -19
- data/lib/wx/doc/gen/picker_base.rb +5 -5
- data/lib/wx/doc/gen/platform_info.rb +173 -13
- data/lib/wx/doc/gen/popup_window.rb +2 -2
- data/lib/wx/doc/gen/progress_dialog.rb +2 -2
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/preview_frame.rb +14 -1
- data/lib/wx/doc/gen/prt/print_data.rb +44 -44
- data/lib/wx/doc/gen/prt/printer.rb +22 -27
- data/lib/wx/doc/gen/query_layout_info_event.rb +4 -4
- data/lib/wx/doc/gen/radio_box.rb +9 -9
- data/lib/wx/doc/gen/radio_button.rb +5 -5
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +28 -28
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +13 -13
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +13 -13
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +7 -7
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +8 -14
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +7 -7
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +12 -16
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +13 -13
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rearrange_ctrl.rb +60 -0
- data/lib/wx/doc/gen/rearrange_list.rb +99 -0
- data/lib/wx/doc/gen/region.rb +26 -35
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +423 -0
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +608 -1520
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +37 -0
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +525 -0
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +435 -472
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +9 -9
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +12 -12
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +282 -0
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +14 -14
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +3 -16
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +328 -0
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2849 -0
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1174 -0
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +17 -17
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +305 -0
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +183 -0
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -2
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +32 -35
- data/lib/wx/doc/gen/sash_event.rb +5 -5
- data/lib/wx/doc/gen/sash_layout_window.rb +8 -8
- data/lib/wx/doc/gen/sash_window.rb +6 -6
- data/lib/wx/doc/gen/scroll_bar.rb +4 -4
- data/lib/wx/doc/gen/scrolled_canvas.rb +10 -16
- data/lib/wx/doc/gen/scrolled_control.rb +10 -16
- data/lib/wx/doc/gen/scrolled_window.rb +10 -16
- data/lib/wx/doc/gen/search_ctrl.rb +5 -5
- data/lib/wx/doc/gen/simplebook.rb +5 -5
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -2
- data/lib/wx/doc/gen/sizer.rb +40 -45
- data/lib/wx/doc/gen/sizer_item.rb +5 -5
- data/lib/wx/doc/gen/slider.rb +2 -2
- data/lib/wx/doc/gen/spin_button.rb +2 -2
- data/lib/wx/doc/gen/spin_ctrl.rb +3 -3
- data/lib/wx/doc/gen/spin_ctrl_double.rb +146 -0
- data/lib/wx/doc/gen/spin_double_event.rb +53 -0
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +16 -12
- data/lib/wx/doc/gen/static_bitmap.rb +4 -4
- data/lib/wx/doc/gen/static_box.rb +5 -5
- data/lib/wx/doc/gen/static_line.rb +3 -3
- data/lib/wx/doc/gen/static_text.rb +3 -3
- data/lib/wx/doc/gen/status_bar.rb +39 -5
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +145 -177
- data/lib/wx/doc/gen/stc/styled_text_event.rb +6 -6
- data/lib/wx/doc/gen/svg_file_dc.rb +5 -5
- data/lib/wx/doc/gen/system_options.rb +2 -2
- data/lib/wx/doc/gen/system_settings.rb +6 -6
- data/lib/wx/doc/gen/task_bar_icon.rb +7 -7
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +56 -54
- data/lib/wx/doc/gen/text_ctrl.rb +13 -37
- data/lib/wx/doc/gen/text_entry.rb +16 -16
- data/lib/wx/doc/gen/text_entry_dialog.rb +4 -4
- data/lib/wx/doc/gen/text_validator.rb +3 -8
- data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -5
- data/lib/wx/doc/gen/timer.rb +5 -5
- data/lib/wx/doc/gen/tip_provider.rb +2 -2
- data/lib/wx/doc/gen/toggle_button.rb +4 -4
- data/lib/wx/doc/gen/tool_bar.rb +30 -37
- data/lib/wx/doc/gen/tool_tip.rb +1 -9
- data/lib/wx/doc/gen/toolbook.rb +6 -6
- data/lib/wx/doc/gen/top_level_window.rb +25 -95
- data/lib/wx/doc/gen/tree_ctrl.rb +20 -20
- data/lib/wx/doc/gen/tree_event.rb +2 -2
- data/lib/wx/doc/gen/treebook.rb +14 -14
- data/lib/wx/doc/gen/ui_action_simulator.rb +19 -18
- data/lib/wx/doc/gen/utils.rb +11 -11
- data/lib/wx/doc/gen/v_list_box.rb +9 -9
- data/lib/wx/doc/gen/v_scrolled_window.rb +7 -7
- data/lib/wx/doc/gen/validator.rb +3 -3
- data/lib/wx/doc/gen/variant.rb +22 -22
- data/lib/wx/doc/gen/window.rb +157 -122
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -3
- data/lib/wx/doc/gen/wizard_page.rb +2 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +65 -0
- data/lib/wx/doc/gen/xml_node.rb +10 -10
- data/lib/wx/doc/gen/xml_resource.rb +12 -12
- data/lib/wx/doc/graphics_context.rb +59 -39
- data/lib/wx/doc/grid/grid.rb +16 -1
- data/lib/wx/doc/hboxsizer.rb +33 -0
- data/lib/wx/doc/help_controller.rb +6 -0
- data/lib/wx/doc/html/html_help_controller.rb +6 -0
- data/lib/wx/doc/icon.rb +13 -5
- data/lib/wx/doc/id_helper.rb +6 -0
- data/lib/wx/doc/image.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +6 -0
- data/lib/wx/doc/log.rb +17 -0
- data/lib/wx/doc/memory_dc.rb +6 -0
- data/lib/wx/doc/mirror_dc.rb +6 -0
- data/lib/wx/doc/pen.rb +6 -0
- data/lib/wx/doc/pg/events.rb +6 -0
- data/lib/wx/doc/pg/pg_property.rb +17 -0
- data/lib/wx/doc/pg/pgeditor.rb +6 -0
- data/lib/wx/doc/pg/property_grid.rb +6 -0
- data/lib/wx/doc/pg/property_grid_interface.rb +6 -0
- data/lib/wx/doc/progress_dialog.rb +6 -0
- data/lib/wx/doc/prt/page_setup_dialog.rb +6 -0
- data/lib/wx/doc/prt/print_data.rb +6 -0
- data/lib/wx/doc/prt/print_dialog.rb +6 -0
- data/lib/wx/doc/prt/printer.rb +6 -0
- data/lib/wx/doc/prt/printer_dc.rb +6 -0
- data/lib/wx/doc/radio_box.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_bar.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_gallery.rb +6 -0
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +6 -0
- data/lib/wx/doc/region_iterator.rb +6 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +28 -0
- data/lib/wx/doc/rtc/richtext_formatting_dialog.rb +68 -0
- data/lib/wx/doc/rtc/richtext_printing.rb +6 -0
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +20 -0
- data/lib/wx/doc/scaled_dc.rb +6 -0
- data/lib/wx/doc/screen_dc.rb +6 -0
- data/lib/wx/doc/stock_objects.rb +6 -0
- data/lib/wx/doc/stream.rb +6 -0
- data/lib/wx/doc/svg_file_dc.rb +6 -0
- data/lib/wx/doc/system_settings.rb +6 -0
- data/lib/wx/doc/text_validator.rb +6 -0
- data/lib/wx/doc/textctrl.rb +89 -0
- data/lib/wx/doc/tree_event.rb +20 -0
- data/lib/wx/doc/treebook.rb +6 -0
- data/lib/wx/doc/v_list_box.rb +6 -0
- data/lib/wx/doc/variant.rb +6 -0
- data/lib/wx/doc/vboxsizer.rb +33 -0
- data/lib/wx/doc/window.rb +6 -0
- data/lib/wx/doc/window_disabler.rb +6 -0
- data/lib/wx/doc/xml_resource.rb +8 -0
- data/lib/wx/global_const.rb +4 -1
- data/lib/wx/grid/grid.rb +23 -3
- data/lib/wx/grid/keyword_defs.rb +8 -1
- data/lib/wx/grid/require.rb +4 -1
- data/lib/wx/grid.rb +4 -1
- data/lib/wx/helpers.rb +8 -1
- data/lib/wx/html/htmlhelpcontroller.rb +29 -3
- data/lib/wx/html/htmlwindow.rb +23 -12
- data/lib/wx/html/keyword_defs.rb +8 -1
- data/lib/wx/html/require.rb +4 -1
- data/lib/wx/html/simple_html_listbox.rb +3 -0
- data/lib/wx/html.rb +4 -1
- data/lib/wx/keyword_ctors.rb +22 -3
- data/lib/wx/keyword_defs.rb +55 -3
- data/lib/wx/pg/events.rb +4 -1
- data/lib/wx/pg/keyword_defs.rb +8 -1
- data/lib/wx/pg/pg_editor.rb +3 -0
- data/lib/wx/pg/pg_properties.rb +4 -1
- data/lib/wx/pg/pg_property.rb +18 -5
- data/lib/wx/pg/property_grid.rb +4 -1
- data/lib/wx/pg/property_grid_interface.rb +3 -0
- data/lib/wx/pg/require.rb +4 -1
- data/lib/wx/pg.rb +4 -1
- data/lib/wx/prt/keyword_defs.rb +8 -1
- data/lib/wx/prt/page_setup_dialog.rb +3 -0
- data/lib/wx/prt/previewframe.rb +5 -0
- data/lib/wx/prt/require.rb +4 -1
- data/lib/wx/prt.rb +4 -1
- data/lib/wx/rbn/events.rb +4 -1
- data/lib/wx/rbn/keyword_defs.rb +8 -1
- data/lib/wx/rbn/require.rb +5 -1
- data/lib/wx/rbn/ribbon_art_provider.rb +3 -1
- data/lib/wx/rbn/ribbon_bar.rb +3 -0
- data/lib/wx/rbn/ribbon_button_bar.rb +3 -0
- data/lib/wx/rbn/ribbon_control.rb +3 -0
- data/lib/wx/rbn/ribbon_gallery.rb +10 -0
- data/lib/wx/rbn/ribbon_page.rb +3 -0
- data/lib/wx/rbn/ribbon_panel.rb +3 -0
- data/lib/wx/rbn/ribbon_tool_bar.rb +3 -0
- data/lib/wx/rbn.rb +4 -1
- data/lib/wx/rtc/ext.rb +4 -1
- data/lib/wx/rtc/keyword_defs.rb +18 -7
- data/lib/wx/rtc/require.rb +8 -1
- data/lib/wx/rtc/richtext_buffer.rb +36 -0
- data/lib/wx/rtc/richtext_formatting_dialog.rb +88 -0
- data/lib/wx/rtc/richtext_style_organiser_dialog.rb +46 -0
- data/lib/wx/rtc/symbol_picker_dialog.rb +47 -0
- data/lib/wx/rtc.rb +5 -1
- data/lib/wx/stc/keyword_defs.rb +8 -1
- data/lib/wx/stc/require.rb +4 -1
- data/lib/wx/stc.rb +4 -1
- data/lib/wx/version.rb +5 -1
- data/lib/wx/wxruby/base.rb +4 -1
- data/lib/wx/wxruby/cmd/sampler.rb +4 -1
- data/lib/wx/wxruby/cmd/test.rb +4 -1
- data/lib/wx.rb +4 -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/rakelib/install.rb +4 -1
- data/rakelib/lib/config/cygwin.rb +4 -1
- data/rakelib/lib/config/linux.rb +4 -1
- data/rakelib/lib/config/macosx.rb +5 -2
- data/rakelib/lib/config/mingw.rb +4 -1
- data/rakelib/lib/config/netbsd.rb +4 -1
- data/rakelib/lib/config/unixish.rb +10 -7
- data/rakelib/lib/config.rb +7 -2
- data/rakelib/lib/ext/enum_chain.rb +4 -1
- data/rakelib/prepost.rake +4 -1
- data/rakelib/prepost.rb +4 -1
- data/samples/aui/aui.rb +8 -3
- data/samples/bigdemo/bigdemo.rb +9 -2
- data/samples/bigdemo/run.rb +9 -2
- data/samples/bigdemo/utils.rb +9 -1
- data/samples/calendar/calendar.rb +9 -4
- data/samples/caret/caret.rb +8 -3
- data/samples/controls/books.rb +8 -2
- data/samples/controls/controls.rb +33 -77
- data/samples/controls/get_item_sample.rb +8 -2
- data/samples/controls/htlbox.rb +10 -3
- data/samples/dialogs/dialogs.rb +9 -4
- data/samples/dialogs/wizard.rb +8 -3
- data/samples/dragdrop/dragdrop.rb +8 -3
- data/samples/drawing/bitmap.rb +8 -3
- data/samples/drawing/bitmap_image.rb +8 -3
- data/samples/drawing/graphics_drawing.rb +44 -33
- data/samples/drawing/image_prt.rb +8 -2
- data/samples/drawing/maths_images.rb +8 -3
- data/samples/drawing/rmagic_bitmap_image.rb +8 -3
- data/samples/etc/choice.rb +8 -3
- data/samples/etc/miniframe.rb +8 -3
- data/samples/etc/sash.rb +8 -3
- data/samples/etc/scrollwin.rb +8 -3
- data/samples/etc/system_settings.rb +8 -3
- data/samples/event/activation.rb +8 -3
- data/samples/event/event.rb +8 -3
- data/samples/event/threaded.rb +8 -3
- data/samples/event/update_ui_event.rb +8 -3
- data/samples/grid/grid.rb +9 -3
- data/samples/grid/gridtablebase.rb +8 -3
- data/samples/html/html.rb +8 -3
- data/samples/mdi/mdi.rb +8 -3
- data/samples/minimal/minimal.rb +8 -3
- data/samples/minimal/nothing.rb +8 -3
- data/samples/printing/printing.rb +8 -3
- data/samples/printing/printing2.rb +8 -2
- data/samples/propgrid/propgrid.rb +4 -1
- data/samples/propgrid/propgrid_minimal.rb +4 -2
- data/samples/propgrid/sample_props.rb +4 -1
- data/samples/ribbon/ribbon.rb +4 -1
- data/samples/sampler/editor.rb +4 -1
- data/samples/sampler/ext.rb +4 -1
- data/samples/sampler/sample.rb +13 -4
- data/samples/sampler/stc_editor.rb +4 -1
- data/samples/sampler/txt_editor.rb +4 -1
- data/samples/sampler.rb +11 -3
- data/samples/splash/splash.rb +4 -2
- data/samples/text/art/richtext/alignleft.xpm +24 -0
- data/samples/text/art/richtext/alignright.xpm +24 -0
- data/samples/text/art/richtext/bold.xpm +24 -0
- data/samples/text/art/richtext/centre.xpm +24 -0
- data/samples/text/art/richtext/copy.xpm +45 -0
- data/samples/text/art/richtext/cut.xpm +47 -0
- data/samples/text/art/richtext/font.xpm +25 -0
- data/samples/text/art/richtext/idea.xpm +47 -0
- data/samples/text/art/richtext/indentless.xpm +25 -0
- data/samples/text/art/richtext/indentmore.xpm +25 -0
- data/samples/text/art/richtext/italic.xpm +25 -0
- data/samples/text/art/richtext/open.xpm +58 -0
- data/samples/text/art/richtext/paste.xpm +47 -0
- data/samples/text/art/richtext/redo.xpm +59 -0
- data/samples/text/art/richtext/save.xpm +43 -0
- data/samples/text/art/richtext/smiley.xpm +42 -0
- data/samples/text/art/richtext/underline.xpm +25 -0
- data/samples/text/art/richtext/undo.xpm +59 -0
- data/samples/text/art/richtext/zebra.xpm +409 -0
- data/samples/text/rich_textctrl.rb +8 -3
- data/samples/text/richtext.rb +1824 -0
- data/samples/text/scintilla.rb +8 -3
- data/samples/text/textctrl.rb +21 -4
- data/samples/text/tn_richtext.png +0 -0
- data/samples/text/unicode.rb +9 -4
- data/samples/treectrl/treectrl.rb +10 -5
- data/samples/xrc/custom_xrc_sample.rb +8 -3
- data/samples/xrc/xrc_sample.rb +8 -3
- data/tests/art/test_art/bitmap/wxruby-128x128.png +0 -0
- data/tests/art/test_art/bitmap/wxruby-256x256.png +0 -0
- data/tests/art/test_art/bitmap/wxruby-64x64.png +0 -0
- data/tests/lib/item_container_tests.rb +3 -0
- data/tests/lib/text_entry_tests.rb +3 -0
- data/tests/lib/wxapp_runner.rb +3 -0
- data/tests/lib/wxframe_runner.rb +81 -3
- data/tests/test_app_event_filter.rb +3 -0
- data/tests/test_app_traits.rb +33 -0
- data/tests/test_art.rb +22 -0
- data/tests/test_art_provider.rb +3 -0
- data/tests/test_aui.rb +65 -0
- data/tests/test_basic.rb +5 -1
- data/tests/test_box_sizer.rb +5 -2
- data/tests/test_clipboard.rb +3 -0
- data/tests/test_config.rb +150 -0
- data/tests/test_dc.rb +3 -0
- data/tests/test_dialog.rb +3 -0
- data/tests/test_event_handling.rb +3 -0
- data/tests/test_events.rb +3 -0
- data/tests/test_ext_controls.rb +286 -3
- data/tests/test_file_dialog.rb +55 -0
- data/tests/test_font.rb +8 -5
- data/tests/test_gdi_object.rb +3 -0
- data/tests/test_geometry.rb +4 -0
- data/tests/test_grid_sizer.rb +7 -4
- data/tests/test_intl.rb +3 -0
- data/tests/test_item_data.rb +3 -0
- data/tests/test_list_ctrl.rb +4 -1
- data/tests/test_log.rb +63 -0
- data/tests/test_proof_check.rb +52 -0
- data/tests/test_richtext.rb +204 -0
- data/tests/test_std_controls.rb +45 -35
- data/tests/test_timer.rb +3 -0
- data/tests/test_variant.rb +3 -0
- data/tests/test_window.rb +10 -8
- data/tests/testapp.rb +4 -0
- data/tests/testapp_noframe.rb +4 -0
- metadata +76 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
data/lib/wx/doc/gen/window.rb
CHANGED
@@ -267,16 +267,16 @@ module Wx
|
|
267
267
|
# This method may be overridden in the derived classes to return false to indicate that this control doesn't accept input at all (i.e. behaves like e.g. {Wx::StaticText}) and so doesn't need focus.
|
268
268
|
#
|
269
269
|
# @see Wx::Window#accepts_focus_from_keyboard
|
270
|
-
# @return [
|
270
|
+
# @return [Boolean]
|
271
271
|
def accepts_focus; end
|
272
272
|
|
273
273
|
# This method may be overridden in the derived classes to return false to indicate that while this control can, in principle, have focus if the user clicks it with the mouse, it shouldn't be included in the TAB traversal chain when using the keyboard.
|
274
|
-
# @return [
|
274
|
+
# @return [Boolean]
|
275
275
|
def accepts_focus_from_keyboard; end
|
276
276
|
|
277
277
|
# Overridden to indicate whether this window or one of its children accepts focus.
|
278
278
|
# Usually it's the same as {Wx::Window#accepts_focus} but is overridden for container windows.
|
279
|
-
# @return [
|
279
|
+
# @return [Boolean]
|
280
280
|
def accepts_focus_recursively; end
|
281
281
|
|
282
282
|
# Disable giving focus to this window using the keyboard navigation keys.
|
@@ -285,25 +285,25 @@ module Wx
|
|
285
285
|
def disable_focus_from_keyboard; end
|
286
286
|
|
287
287
|
# Can this window itself have focus?
|
288
|
-
# @return [
|
288
|
+
# @return [Boolean]
|
289
289
|
def is_focusable; end
|
290
290
|
alias_method :focusable?, :is_focusable
|
291
291
|
|
292
292
|
# Can this window have focus right now?
|
293
293
|
# If this method returns true, it means that calling {Wx::Window#set_focus} will put focus either to this window or one of its children, if you need to know whether this window accepts focus itself, use {Wx::Window#is_focusable}
|
294
|
-
# @return [
|
294
|
+
# @return [Boolean]
|
295
295
|
def can_accept_focus; end
|
296
296
|
alias_method :can_accept_focus?, :can_accept_focus
|
297
297
|
|
298
298
|
# Can this window be assigned focus from keyboard right now?
|
299
|
-
# @return [
|
299
|
+
# @return [Boolean]
|
300
300
|
def can_accept_focus_from_keyboard; end
|
301
301
|
alias_method :can_accept_focus_from_keyboard?, :can_accept_focus_from_keyboard
|
302
302
|
|
303
303
|
# Returns true if the window (or in case of composite controls, its main child window) has focus.
|
304
304
|
#
|
305
305
|
# @see Wx::Window.find_focus
|
306
|
-
# @return [
|
306
|
+
# @return [Boolean]
|
307
307
|
def has_focus; end
|
308
308
|
alias_method :has_focus?, :has_focus
|
309
309
|
|
@@ -312,7 +312,7 @@ module Wx
|
|
312
312
|
# @see Wx::FocusEvent
|
313
313
|
# @see Wx::Panel#set_focus
|
314
314
|
# @see Wx::Panel#set_focus_ignoring_children
|
315
|
-
# @param canFocus [
|
315
|
+
# @param canFocus [Boolean]
|
316
316
|
# @return [void]
|
317
317
|
def set_can_focus(canFocus) end
|
318
318
|
alias_method :can_focus=, :set_can_focus
|
@@ -320,7 +320,7 @@ module Wx
|
|
320
320
|
# Enables or disables visible indication of keyboard focus.
|
321
321
|
# By default, controls behave in platform-appropriate way and show focus in the same way native applications do. In some very rare circumstances it may be desirable to change the default (notably multiline text controls don't normally have a focus indicator on Mac), which this method allows. It should only be used if you have a good understanding of the native platform's guidelines and user expectations.
|
322
322
|
# This method is only implemented on Mac.
|
323
|
-
# @param enable [
|
323
|
+
# @param enable [Boolean]
|
324
324
|
# @return [void]
|
325
325
|
def enable_visible_focus(enable) end
|
326
326
|
|
@@ -346,18 +346,13 @@ module Wx
|
|
346
346
|
|
347
347
|
# Destroys all children of a window.
|
348
348
|
# Called automatically by the destructor.
|
349
|
-
# @return [
|
349
|
+
# @return [Boolean]
|
350
350
|
def destroy_children; end
|
351
351
|
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
|
356
|
-
# @overload get_children()
|
357
|
-
# Returns a const reference to the list of the window's children.
|
358
|
-
# {Wx::WindowList} is a type-safe {Wx::List}-like class whose elements are of type <code>wxWindow*</code>.
|
359
|
-
# @return [Wx::WindowList]
|
360
|
-
def get_children(*args) end
|
352
|
+
# Returns a const reference to the list of the window's children.
|
353
|
+
# {Wx::WindowList} is a type-safe {Wx::List}-like class whose elements are of type <code>wxWindow*</code>.
|
354
|
+
# @return [Wx::WindowList]
|
355
|
+
def get_children; end
|
361
356
|
alias_method :children, :get_children
|
362
357
|
|
363
358
|
# Removes a child window.
|
@@ -394,7 +389,7 @@ module Wx
|
|
394
389
|
# Returns true if the window is a descendant (i.e. a child or grand-child or grand-grand-child or ...) of this one.
|
395
390
|
# Notice that a window can never be a descendant of another one if they are in different top level windows, i.e. a child of a {Wx::Dialog} is not considered to be a descendant of dialogs parent {Wx::Frame}.
|
396
391
|
# @param win [Wx::Window] Any window, possible NULL (false is always returned then).
|
397
|
-
# @return [
|
392
|
+
# @return [Boolean]
|
398
393
|
def is_descendant(win) end
|
399
394
|
alias_method :descendant?, :is_descendant
|
400
395
|
|
@@ -402,13 +397,13 @@ module Wx
|
|
402
397
|
# a non-standard toolbar in a {Wx::Frame}) and then re-inserted into another.
|
403
398
|
# Notice that currently you need to explicitly call {Wx::Notebook#remove_page} before reparenting a notebook page.
|
404
399
|
# @param newParent [Wx::Window] New parent.
|
405
|
-
# @return [
|
400
|
+
# @return [Boolean]
|
406
401
|
def reparent(newParent) end
|
407
402
|
|
408
403
|
# Call this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling.
|
409
404
|
# This function is currently not implemented.
|
410
|
-
# @param hflag [
|
411
|
-
# @param vflag [
|
405
|
+
# @param hflag [Boolean] Whether the horizontal scroll bar should always be visible.
|
406
|
+
# @param vflag [Boolean] Whether the vertical scroll bar should always be visible.
|
412
407
|
# @return [void]
|
413
408
|
def always_show_scrollbars(hflag=true, vflag=true) end
|
414
409
|
|
@@ -438,14 +433,14 @@ module Wx
|
|
438
433
|
|
439
434
|
# Returns true if this window can have a scroll bar in this orientation.
|
440
435
|
# @param orient [Integer] Orientation to check, either {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}.
|
441
|
-
# @return [
|
436
|
+
# @return [Boolean]
|
442
437
|
def can_scroll(orient) end
|
443
438
|
alias_method :can_scroll?, :can_scroll
|
444
439
|
|
445
440
|
# Returns true if this window currently has a scroll bar for this orientation.
|
446
441
|
# This method may return false even when {Wx::Window#can_scroll} for the same orientation returns true, but if {Wx::Window#can_scroll} returns false, i.e. scrolling in this direction is not enabled at all, {Wx::Window#has_scrollbar} always returns false as well.
|
447
442
|
# @param orient [Integer] Orientation to check, either {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}.
|
448
|
-
# @return [
|
443
|
+
# @return [Boolean]
|
449
444
|
def has_scrollbar(orient) end
|
450
445
|
alias_method :has_scrollbar?, :has_scrollbar
|
451
446
|
|
@@ -453,7 +448,7 @@ module Wx
|
|
453
448
|
#
|
454
449
|
# @see Wx::Window#always_show_scrollbars
|
455
450
|
# @param orient [Integer] Orientation to check, either {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}.
|
456
|
-
# @return [
|
451
|
+
# @return [Boolean]
|
457
452
|
def is_scrollbar_always_shown(orient) end
|
458
453
|
alias_method :scrollbar_always_shown?, :is_scrollbar_always_shown
|
459
454
|
|
@@ -463,7 +458,7 @@ module Wx
|
|
463
458
|
# This function is currently only implemented under MSW and {Wx::TextCtrl} under wxGTK (it also works for {Wx::Scrolled} classes under all platforms).
|
464
459
|
# @see Wx::Window#scroll_pages
|
465
460
|
# @param lines [Integer]
|
466
|
-
# @return [
|
461
|
+
# @return [Boolean]
|
467
462
|
def scroll_lines(lines) end
|
468
463
|
|
469
464
|
# Scrolls the window by the given number of pages down (if pages is positive) or up.
|
@@ -472,7 +467,7 @@ module Wx
|
|
472
467
|
# This function is currently only implemented under MSW and wxGTK.
|
473
468
|
# @see Wx::Window#scroll_lines
|
474
469
|
# @param pages [Integer]
|
475
|
-
# @return [
|
470
|
+
# @return [Boolean]
|
476
471
|
def scroll_pages(pages) end
|
477
472
|
|
478
473
|
# Physically scrolls the pixels in the window and move child windows accordingly.
|
@@ -484,19 +479,19 @@ module Wx
|
|
484
479
|
def scroll_window(dx, dy, rect=nil) end
|
485
480
|
|
486
481
|
# Same as {Wx::Window#scroll_lines} (-1).
|
487
|
-
# @return [
|
482
|
+
# @return [Boolean]
|
488
483
|
def line_up; end
|
489
484
|
|
490
485
|
# Same as {Wx::Window#scroll_lines} (1).
|
491
|
-
# @return [
|
486
|
+
# @return [Boolean]
|
492
487
|
def line_down; end
|
493
488
|
|
494
489
|
# Same as {Wx::Window#scroll_pages} (-1).
|
495
|
-
# @return [
|
490
|
+
# @return [Boolean]
|
496
491
|
def page_up; end
|
497
492
|
|
498
493
|
# Same as {Wx::Window#scroll_pages} (1).
|
499
|
-
# @return [
|
494
|
+
# @return [Boolean]
|
500
495
|
def page_down; end
|
501
496
|
|
502
497
|
# Sets the position of one of the built-in scrollbars.
|
@@ -508,7 +503,7 @@ module Wx
|
|
508
503
|
# @see Wx::Scrolled
|
509
504
|
# @param orientation [Integer] Determines the scrollbar whose position is to be set. May be {Wx::Orientation::HORIZONTAL} or {Wx::Orientation::VERTICAL}.
|
510
505
|
# @param pos [Integer] Position in scroll units.
|
511
|
-
# @param refresh [
|
506
|
+
# @param refresh [Boolean] true to redraw the scrollbar, false otherwise.
|
512
507
|
# @return [void]
|
513
508
|
def set_scroll_pos(orientation, pos, refresh=true) end
|
514
509
|
|
@@ -526,14 +521,14 @@ module Wx
|
|
526
521
|
# @param position [Integer] The position of the scrollbar in scroll units.
|
527
522
|
# @param thumbSize [Integer] The size of the thumb, or visible portion of the scrollbar, in scroll units.
|
528
523
|
# @param range [Integer] The maximum position of the scrollbar. Value of -1 can be used to ask for the scrollbar to be shown but in the disabled state: this can be used to avoid removing the scrollbar even when it is not needed (currently this is only implemented in wxMSW port).
|
529
|
-
# @param refresh [
|
524
|
+
# @param refresh [Boolean] true to redraw the scrollbar, false otherwise.
|
530
525
|
# @return [void]
|
531
526
|
def set_scrollbar(orientation, position, thumbSize, range, refresh=true) end
|
532
527
|
|
533
528
|
# Prepare for changing positions of multiple child windows.
|
534
529
|
# This method should be called before changing positions of multiple child windows to reduce flicker and, in MSW case, even avoid display corruption in some cases. It is used internally by wxWidgets and called automatically when the window size changes but it can also be useful to call it from outside of the library if a repositioning involving multiple children is done without changing the window size.
|
535
530
|
# If this method returns true, then {Wx::Window#end_repositioning_children} must be called after setting all children positions. Use {Wx::ChildrenRepositioningGuard} class to ensure that this requirement is satisfied.
|
536
|
-
# @return [
|
531
|
+
# @return [Boolean]
|
537
532
|
def begin_repositioning_children; end
|
538
533
|
|
539
534
|
# Fix child window positions after setting all of them at once.
|
@@ -877,7 +872,7 @@ module Wx
|
|
877
872
|
# @param direction [Integer]
|
878
873
|
# @param size [Integer]
|
879
874
|
# @param availableOtherDir [Integer]
|
880
|
-
# @return [
|
875
|
+
# @return [Boolean]
|
881
876
|
def inform_first_direction(direction, size, availableOtherDir) end
|
882
877
|
|
883
878
|
# Resets the cached best size value so it will be recalculated the next time it is needed.
|
@@ -1220,7 +1215,7 @@ module Wx
|
|
1220
1215
|
#
|
1221
1216
|
# @see Wx::Window#freeze
|
1222
1217
|
# @see Wx::Window#thaw
|
1223
|
-
# @return [
|
1218
|
+
# @return [Boolean]
|
1224
1219
|
def is_frozen; end
|
1225
1220
|
alias_method :frozen?, :is_frozen
|
1226
1221
|
|
@@ -1239,7 +1234,7 @@ module Wx
|
|
1239
1234
|
# @see Wx::Window#get_foreground_colour
|
1240
1235
|
# @see Wx::Window#set_background_style
|
1241
1236
|
# @see Wx::Window#set_transparent
|
1242
|
-
# @return [BackgroundStyle]
|
1237
|
+
# @return [Wx::BackgroundStyle]
|
1243
1238
|
def get_background_style; end
|
1244
1239
|
alias_method :background_style, :get_background_style
|
1245
1240
|
|
@@ -1306,14 +1301,14 @@ module Wx
|
|
1306
1301
|
|
1307
1302
|
# Returns true if this window background is transparent (as, for example, for {Wx::StaticText}) and should show the parent window background.
|
1308
1303
|
# This method is mostly used internally by the library itself and you normally shouldn't have to call it. You may, however, have to override it in your {Wx::Window}-derived class to ensure that background is painted correctly.
|
1309
|
-
# @return [
|
1304
|
+
# @return [Boolean]
|
1310
1305
|
def has_transparent_background; end
|
1311
1306
|
alias_method :has_transparent_background?, :has_transparent_background
|
1312
1307
|
|
1313
1308
|
# Causes this window, and all of its children recursively, to be repainted.
|
1314
1309
|
# Note that repainting doesn't happen immediately but only during the next event loop iteration, if you need to update the window immediately you should use {Wx::Window#update} instead.
|
1315
1310
|
# @see Wx::Window#refresh_rect
|
1316
|
-
# @param eraseBackground [
|
1311
|
+
# @param eraseBackground [Boolean] If true, the background will be erased too. Note that in non-MSW ports background is always erased.
|
1317
1312
|
# @param rect [Wx::Rect] If non-NULL, only the given rectangle will be treated as damaged.
|
1318
1313
|
# @return [void]
|
1319
1314
|
def refresh(eraseBackground=true, rect=nil) end
|
@@ -1321,7 +1316,7 @@ module Wx
|
|
1321
1316
|
# Redraws the contents of the given rectangle: only the area inside it will be repainted.
|
1322
1317
|
# This is the same as {Wx::Window#refresh} but has a nicer syntax as it can be called with a temporary {Wx::Rect} object as argument like this <code>RefreshRect(wxRect(x, y, w, h))</code>.
|
1323
1318
|
# @param rect [Wx::Rect]
|
1324
|
-
# @param eraseBackground [
|
1319
|
+
# @param eraseBackground [Boolean]
|
1325
1320
|
# @return [void]
|
1326
1321
|
def refresh_rect(rect, eraseBackground=true) end
|
1327
1322
|
|
@@ -1345,7 +1340,7 @@ module Wx
|
|
1345
1340
|
# @see Wx::EraseEvent
|
1346
1341
|
# @see Wx::SystemSettings
|
1347
1342
|
# @param colour [Wx::Colour,String,Symbol] The colour to be used as the background colour; pass {Wx::NULL_COLOUR} to reset to the default colour. Note that you may want to use {Wx::SystemSettings.get_colour} to retrieve a suitable colour to use rather than setting a hard-coded one.
|
1348
|
-
# @return [
|
1343
|
+
# @return [Boolean]
|
1349
1344
|
def set_background_colour(colour) end
|
1350
1345
|
alias_method :background_colour=, :set_background_colour
|
1351
1346
|
|
@@ -1370,8 +1365,8 @@ module Wx
|
|
1370
1365
|
# @see Wx::Window#get_foreground_colour
|
1371
1366
|
# @see Wx::Window#set_transparent
|
1372
1367
|
# @see Wx::Window#is_transparent_background_supported
|
1373
|
-
# @param style [BackgroundStyle]
|
1374
|
-
# @return [
|
1368
|
+
# @param style [Wx::BackgroundStyle]
|
1369
|
+
# @return [Boolean]
|
1375
1370
|
def set_background_style(style) end
|
1376
1371
|
alias_method :background_style=, :set_background_style
|
1377
1372
|
|
@@ -1381,7 +1376,7 @@ module Wx
|
|
1381
1376
|
#
|
1382
1377
|
# true if background transparency is supported.
|
1383
1378
|
# @param reason [String] If not NULL, a reason message is provided if transparency is not supported.
|
1384
|
-
# @return [
|
1379
|
+
# @return [Boolean]
|
1385
1380
|
def is_transparent_background_supported(reason=nil) end
|
1386
1381
|
alias_method :transparent_background_supported?, :is_transparent_background_supported
|
1387
1382
|
|
@@ -1393,7 +1388,7 @@ module Wx
|
|
1393
1388
|
# @see Wx::Window#get_font
|
1394
1389
|
# @see Wx::Window#inherit_attributes
|
1395
1390
|
# @param font [Wx::Font,Wx::FontInfo] Font to associate with this window, pass {Wx::NULL_FONT} to reset to the default font.
|
1396
|
-
# @return [
|
1391
|
+
# @return [Boolean]
|
1397
1392
|
def set_font(font) end
|
1398
1393
|
alias_method :font=, :set_font
|
1399
1394
|
|
@@ -1407,7 +1402,7 @@ module Wx
|
|
1407
1402
|
# @see Wx::Window#get_background_colour
|
1408
1403
|
# @see Wx::Window#should_inherit_colours
|
1409
1404
|
# @param colour [Wx::Colour,String,Symbol] The colour to be used as the foreground colour; pass {Wx::NULL_COLOUR} to reset to the default colour.
|
1410
|
-
# @return [
|
1405
|
+
# @return [Boolean]
|
1411
1406
|
def set_foreground_colour(colour) end
|
1412
1407
|
alias_method :foreground_colour=, :set_foreground_colour
|
1413
1408
|
|
@@ -1424,16 +1419,16 @@ module Wx
|
|
1424
1419
|
#
|
1425
1420
|
# @see Wx::Window#set_own_background_colour
|
1426
1421
|
# @see Wx::Window#inherit_attributes
|
1427
|
-
# @return [
|
1422
|
+
# @return [Boolean]
|
1428
1423
|
def inherits_background_colour; end
|
1429
1424
|
|
1430
1425
|
# Return true if a background colour has been set for this window.
|
1431
|
-
# @return [
|
1426
|
+
# @return [Boolean]
|
1432
1427
|
def use_bg_col; end
|
1433
1428
|
|
1434
1429
|
# Return true if a background colour has been set for this window.
|
1435
1430
|
# Same as {Wx::Window#use_bg_col}
|
1436
|
-
# @return [
|
1431
|
+
# @return [Boolean]
|
1437
1432
|
def use_background_colour; end
|
1438
1433
|
|
1439
1434
|
# Sets the font of the window but prevents it from being inherited by the children of this window.
|
@@ -1455,27 +1450,27 @@ module Wx
|
|
1455
1450
|
alias_method :own_foreground_colour=, :set_own_foreground_colour
|
1456
1451
|
|
1457
1452
|
# Return true if a foreground colour has been set for this window.
|
1458
|
-
# @return [
|
1453
|
+
# @return [Boolean]
|
1459
1454
|
def use_foreground_colour; end
|
1460
1455
|
|
1461
1456
|
# Return true if this window inherits the foreground colour from its parent.
|
1462
1457
|
#
|
1463
1458
|
# @see Wx::Window#set_own_foreground_colour
|
1464
1459
|
# @see Wx::Window#inherit_attributes
|
1465
|
-
# @return [
|
1460
|
+
# @return [Boolean]
|
1466
1461
|
def inherits_foreground_colour; end
|
1467
1462
|
|
1468
1463
|
# Return true from here to allow the colours of this window to be changed by {Wx::Window#inherit_attributes}.
|
1469
1464
|
# Returning false forbids inheriting them from the parent window.
|
1470
1465
|
# The base class version returns false, but this method is overridden in {Wx::Control} where it returns true.
|
1471
|
-
# @return [
|
1466
|
+
# @return [Boolean]
|
1472
1467
|
def should_inherit_colours; end
|
1473
1468
|
|
1474
1469
|
# This function tells a window if it should use the system's "theme" code to draw the windows' background instead of its own background drawing code.
|
1475
1470
|
# This does not always have any effect since the underlying platform obviously needs to support the notion of themes in user defined windows. One such platform is GTK+ where windows can have (very colourful) backgrounds defined by a user's selected theme.
|
1476
1471
|
# Dialogs, notebook pages and the status bar have this flag set to true by default so that the default look and feel is simulated best.
|
1477
1472
|
# @see Wx::Window#get_theme_enabled
|
1478
|
-
# @param enable [
|
1473
|
+
# @param enable [Boolean]
|
1479
1474
|
# @return [void]
|
1480
1475
|
def set_theme_enabled(enable) end
|
1481
1476
|
alias_method :theme_enabled=, :set_theme_enabled
|
@@ -1483,13 +1478,13 @@ module Wx
|
|
1483
1478
|
# Returns true if the window uses the system theme for drawing its background.
|
1484
1479
|
#
|
1485
1480
|
# @see Wx::Window#set_theme_enabled
|
1486
|
-
# @return [
|
1481
|
+
# @return [Boolean]
|
1487
1482
|
def get_theme_enabled; end
|
1488
1483
|
alias_method :theme_enabled, :get_theme_enabled
|
1489
1484
|
|
1490
1485
|
# Returns true if the system supports transparent windows and calling {Wx::Window#set_transparent} may succeed.
|
1491
1486
|
# If this function returns false, transparent windows are definitely not supported by the current system.
|
1492
|
-
# @return [
|
1487
|
+
# @return [Boolean]
|
1493
1488
|
def can_set_transparent; end
|
1494
1489
|
alias_method :can_set_transparent?, :can_set_transparent
|
1495
1490
|
|
@@ -1497,7 +1492,7 @@ module Wx
|
|
1497
1492
|
# If the system supports transparent windows, returns true, otherwise returns false and the window remains fully opaque. See also {Wx::Window#can_set_transparent}.
|
1498
1493
|
# The parameter alpha is in the range 0..255 where 0 corresponds to a fully transparent window and 255 to the fully opaque one. The constants {Wx::IMAGE_ALPHA_TRANSPARENT} and {Wx::IMAGE_ALPHA_OPAQUE} can be used.
|
1499
1494
|
# @param alpha [Integer]
|
1500
|
-
# @return [
|
1495
|
+
# @return [Boolean]
|
1501
1496
|
def set_transparent(alpha) end
|
1502
1497
|
alias_method :transparent=, :set_transparent
|
1503
1498
|
|
@@ -1516,7 +1511,7 @@ module Wx
|
|
1516
1511
|
# Returns true if the key pressed was for navigation and was handled, false otherwise.
|
1517
1512
|
# @see Wx::Window#navigate
|
1518
1513
|
# @param event [Wx::KeyEvent]
|
1519
|
-
# @return [
|
1514
|
+
# @return [Boolean]
|
1520
1515
|
def handle_as_navigation_key(event) end
|
1521
1516
|
|
1522
1517
|
# Shorthand for:
|
@@ -1525,7 +1520,7 @@ module Wx
|
|
1525
1520
|
# ```
|
1526
1521
|
# @see Wx::Window#process_window_event
|
1527
1522
|
# @param event [Wx::Event]
|
1528
|
-
# @return [
|
1523
|
+
# @return [Boolean]
|
1529
1524
|
def handle_window_event(event) end
|
1530
1525
|
|
1531
1526
|
# Convenient wrapper for {Wx::Window#process_event}.
|
@@ -1535,13 +1530,13 @@ module Wx
|
|
1535
1530
|
# ```
|
1536
1531
|
# but more convenient. Notice that {Wx::Window#process_event} itself can't be called for {Wx::Window} objects as it ignores the event handlers associated with the window; use this function instead.
|
1537
1532
|
# @param event [Wx::Event]
|
1538
|
-
# @return [
|
1533
|
+
# @return [Boolean]
|
1539
1534
|
def process_window_event(event) end
|
1540
1535
|
|
1541
1536
|
# Wrapper for {Wx::EvtHandler#process_event_locally}.
|
1542
1537
|
# This method is similar to {Wx::Window#process_window_event} but can be used to search for the event handler only in this window and any event handlers pushed on top of it. Unlike {Wx::Window#process_window_event} it won't propagate the event upwards. But it will use the validator and event handlers associated with this window, if any.
|
1543
1538
|
# @param event [Wx::Event]
|
1544
|
-
# @return [
|
1539
|
+
# @return [Boolean]
|
1545
1540
|
def process_window_event_locally(event) end
|
1546
1541
|
|
1547
1542
|
# Pushes this event handler onto the event stack for the window.
|
@@ -1567,7 +1562,7 @@ module Wx
|
|
1567
1562
|
# @see Wx::Window#push_event_handler
|
1568
1563
|
# @see Wx::Window#pop_event_handler
|
1569
1564
|
# @param handler [Wx::EvtHandler] The event handler to remove, must be non-NULL and must be present in this windows event handlers stack.
|
1570
|
-
# @return [
|
1565
|
+
# @return [Boolean]
|
1571
1566
|
def remove_event_handler(handler) end
|
1572
1567
|
|
1573
1568
|
# Sets the event handler for this window.
|
@@ -1612,13 +1607,13 @@ module Wx
|
|
1612
1607
|
#
|
1613
1608
|
# @see Wx::Window#set_extra_style
|
1614
1609
|
# @param exFlag [Integer]
|
1615
|
-
# @return [
|
1610
|
+
# @return [Boolean]
|
1616
1611
|
def has_extra_style(exFlag) end
|
1617
1612
|
alias_method :has_extra_style?, :has_extra_style
|
1618
1613
|
|
1619
1614
|
# Returns true if the window has the given flag bit set.
|
1620
1615
|
# @param flag [Integer]
|
1621
|
-
# @return [
|
1616
|
+
# @return [Boolean]
|
1622
1617
|
def has_flag(flag) end
|
1623
1618
|
alias_method :has_flag?, :has_flag
|
1624
1619
|
|
@@ -1651,7 +1646,7 @@ module Wx
|
|
1651
1646
|
# @see Wx::Window#set_window_style_flag
|
1652
1647
|
# @see Wx::Window#has_flag
|
1653
1648
|
# @param flag [Integer]
|
1654
|
-
# @return [
|
1649
|
+
# @return [Boolean]
|
1655
1650
|
def toggle_window_style(flag) end
|
1656
1651
|
|
1657
1652
|
# Moves this window in the tab navigation order after the specified win.
|
@@ -1673,13 +1668,13 @@ module Wx
|
|
1673
1668
|
#
|
1674
1669
|
# You may wish to call this from a text control custom keypress handler to do the default navigation behaviour for the tab key, since the standard default behaviour for a multiline text control with the {Wx::TE_PROCESS_TAB} style is to insert a tab and not navigate to the next control. See also {Wx::NavigationKeyEvent} and HandleAsNavigationKey.
|
1675
1670
|
# @param flags [Integer] A combination of {Wx::NavigationKeyEvent::IsForward} and {Wx::NavigationKeyEvent::WinChange}.
|
1676
|
-
# @return [
|
1671
|
+
# @return [Boolean]
|
1677
1672
|
def navigate(flags=Wx::NavigationKeyEvent::IsForward) end
|
1678
1673
|
|
1679
1674
|
# Performs a keyboard navigation action inside this window.
|
1680
1675
|
# See {Wx::Window#navigate} for more information.
|
1681
1676
|
# @param flags [Integer]
|
1682
|
-
# @return [
|
1677
|
+
# @return [Boolean]
|
1683
1678
|
def navigate_in(flags=Wx::NavigationKeyEvent::IsForward) end
|
1684
1679
|
|
1685
1680
|
# Lowers the window to the bottom of the window hierarchy (Z-order).
|
@@ -1696,20 +1691,20 @@ module Wx
|
|
1696
1691
|
def raise; end
|
1697
1692
|
|
1698
1693
|
# Equivalent to calling {Wx::Window#show}(false).
|
1699
|
-
# @return [
|
1694
|
+
# @return [Boolean]
|
1700
1695
|
def hide; end
|
1701
1696
|
|
1702
1697
|
# This function hides a window, like {Wx::Window#hide}, but using a special visual effect if possible.
|
1703
1698
|
# The parameters of this function are the same as for {Wx::Window#show_with_effect}, please see their description there.
|
1704
|
-
# @param effect [ShowEffect]
|
1699
|
+
# @param effect [Wx::ShowEffect]
|
1705
1700
|
# @param timeout [Integer]
|
1706
|
-
# @return [
|
1701
|
+
# @return [Boolean]
|
1707
1702
|
def hide_with_effect(effect, timeout=0) end
|
1708
1703
|
|
1709
1704
|
# Returns true if the window is enabled, i.e. if it accepts user input, false otherwise.
|
1710
1705
|
# Notice that this method can return false even if this window itself hadn't been explicitly disabled when one of its parent windows is disabled. To get the intrinsic status of this window, use {Wx::Window#is_this_enabled}
|
1711
1706
|
# @see Wx::Window#enable
|
1712
|
-
# @return [
|
1707
|
+
# @return [Boolean]
|
1713
1708
|
def is_enabled; end
|
1714
1709
|
alias_method :enabled?, :is_enabled
|
1715
1710
|
|
@@ -1718,43 +1713,43 @@ module Wx
|
|
1718
1713
|
# Call this in a paint event handler to optimize redrawing by only redrawing those areas, which have been exposed.
|
1719
1714
|
# @param x [Integer]
|
1720
1715
|
# @param y [Integer]
|
1721
|
-
# @return [
|
1716
|
+
# @return [Boolean]
|
1722
1717
|
# @overload is_exposed(pt)
|
1723
1718
|
# This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
1724
1719
|
# @param pt [Array(Integer, Integer), Wx::Point]
|
1725
|
-
# @return [
|
1720
|
+
# @return [Boolean]
|
1726
1721
|
# @overload is_exposed(x, y, w, h)
|
1727
1722
|
# This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
1728
1723
|
# @param x [Integer]
|
1729
1724
|
# @param y [Integer]
|
1730
1725
|
# @param w [Integer]
|
1731
1726
|
# @param h [Integer]
|
1732
|
-
# @return [
|
1727
|
+
# @return [Boolean]
|
1733
1728
|
# @overload is_exposed(rect)
|
1734
1729
|
# This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
1735
1730
|
# @param rect [Wx::Rect]
|
1736
|
-
# @return [
|
1731
|
+
# @return [Boolean]
|
1737
1732
|
def is_exposed(*args) end
|
1738
1733
|
alias_method :exposed?, :is_exposed
|
1739
1734
|
|
1740
1735
|
# Returns true if the window is shown, false if it has been hidden.
|
1741
1736
|
#
|
1742
1737
|
# @see Wx::Window#is_shown_on_screen
|
1743
|
-
# @return [
|
1738
|
+
# @return [Boolean]
|
1744
1739
|
def is_shown; end
|
1745
1740
|
alias_method :shown?, :is_shown
|
1746
1741
|
|
1747
1742
|
# Returns true if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well.
|
1748
1743
|
#
|
1749
1744
|
# @see Wx::Window#is_shown
|
1750
|
-
# @return [
|
1745
|
+
# @return [Boolean]
|
1751
1746
|
def is_shown_on_screen; end
|
1752
1747
|
alias_method :shown_on_screen?, :is_shown_on_screen
|
1753
1748
|
|
1754
1749
|
# Disables the window.
|
1755
1750
|
# Same as {Wx::Window#enable} Enable(false).
|
1756
1751
|
# Returns true if the window has been disabled, false if it had been already disabled before the call to this function.
|
1757
|
-
# @return [
|
1752
|
+
# @return [Boolean]
|
1758
1753
|
def disable; end
|
1759
1754
|
|
1760
1755
|
# Enable or disable the window for user input.
|
@@ -1770,8 +1765,8 @@ module Wx
|
|
1770
1765
|
# @see Wx::Window#is_enabled
|
1771
1766
|
# @see Wx::Window#disable
|
1772
1767
|
# @see Wx::RadioBox#enable
|
1773
|
-
# @param enable [
|
1774
|
-
# @return [
|
1768
|
+
# @param enable [Boolean] If true, enables the window for input. If false, disables the window.
|
1769
|
+
# @return [Boolean]
|
1775
1770
|
def enable(enable=true) end
|
1776
1771
|
|
1777
1772
|
# Shows or hides the window.
|
@@ -1783,16 +1778,16 @@ module Wx
|
|
1783
1778
|
# @see Wx::Window#hide
|
1784
1779
|
# @see Wx::RadioBox#show
|
1785
1780
|
# @see Wx::ShowEvent.
|
1786
|
-
# @param show [
|
1787
|
-
# @return [
|
1781
|
+
# @param show [Boolean] If true displays the window. Otherwise, hides it.
|
1782
|
+
# @return [Boolean]
|
1788
1783
|
def show(show=true) end
|
1789
1784
|
|
1790
1785
|
# This function shows a window, like {Wx::Window#show}, but using a special visual effect if possible.
|
1791
1786
|
# Currently this function is only implemented in wxMSW and wxOSX and does the same thing as {Wx::Window#show} in the other ports.
|
1792
1787
|
# @see Wx::Window#hide_with_effect
|
1793
|
-
# @param effect [ShowEffect] The effect to use.
|
1788
|
+
# @param effect [Wx::ShowEffect] The effect to use.
|
1794
1789
|
# @param timeout [Integer] The timeout parameter specifies the time of the animation, in milliseconds. If the default value of 0 is used, the default animation time for the current platform is used.
|
1795
|
-
# @return [
|
1790
|
+
# @return [Boolean]
|
1796
1791
|
def show_with_effect(effect, timeout=0) end
|
1797
1792
|
|
1798
1793
|
# Gets the help text to be used as context-sensitive help for this window.
|
@@ -1816,7 +1811,7 @@ module Wx
|
|
1816
1811
|
# Gets the help text to be used as context-sensitive help for this window.
|
1817
1812
|
# This method should be overridden if the help message depends on the position inside the window, otherwise {Wx::Window#get_help_text} can be used.
|
1818
1813
|
# @param point [Array(Integer, Integer), Wx::Point] Coordinates of the mouse at the moment of help event emission.
|
1819
|
-
# @param origin [Wx::
|
1814
|
+
# @param origin [Wx::wxHelpEvent::Origin] Help event origin, see also {Wx::HelpEvent#get_origin}.
|
1820
1815
|
# @return [String]
|
1821
1816
|
def get_help_text_at_point(point, origin) end
|
1822
1817
|
alias_method :help_text_at_point, :get_help_text_at_point
|
@@ -1880,13 +1875,13 @@ module Wx
|
|
1880
1875
|
# @see Wx::Menu
|
1881
1876
|
# @param menu [Wx::Menu]
|
1882
1877
|
# @param pos [Array(Integer, Integer), Wx::Point]
|
1883
|
-
# @return [
|
1878
|
+
# @return [Boolean]
|
1884
1879
|
# @overload popup_menu(menu, x, y)
|
1885
1880
|
# This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
1886
1881
|
# @param menu [Wx::Menu]
|
1887
1882
|
# @param x [Integer]
|
1888
1883
|
# @param y [Integer]
|
1889
|
-
# @return [
|
1884
|
+
# @return [Boolean]
|
1890
1885
|
def popup_menu(*args) end
|
1891
1886
|
|
1892
1887
|
# Validator functions.
|
@@ -1907,7 +1902,7 @@ module Wx
|
|
1907
1902
|
# @see Wx::Window#transfer_data_from_window
|
1908
1903
|
# @see Wx::Window#transfer_data_to_window
|
1909
1904
|
# @see Wx::Validator
|
1910
|
-
# @return [
|
1905
|
+
# @return [Boolean]
|
1911
1906
|
def validate; end
|
1912
1907
|
|
1913
1908
|
# Returns the identifier of the window.
|
@@ -1925,7 +1920,7 @@ module Wx
|
|
1925
1920
|
alias_method :label, :get_label
|
1926
1921
|
|
1927
1922
|
# Returns the layout direction for this window, Note that {Wx::LayoutDirection::Layout_Default} is returned if layout direction is not supported.
|
1928
|
-
# @return [LayoutDirection]
|
1923
|
+
# @return [Wx::LayoutDirection]
|
1929
1924
|
def get_layout_direction; end
|
1930
1925
|
alias_method :layout_direction, :get_layout_direction
|
1931
1926
|
|
@@ -1944,7 +1939,7 @@ module Wx
|
|
1944
1939
|
alias_method :name, :get_name
|
1945
1940
|
|
1946
1941
|
# Returns the value previously passed to {Wx::Window#set_window_variant}.
|
1947
|
-
# @return [WindowVariant]
|
1942
|
+
# @return [Wx::WindowVariant]
|
1948
1943
|
def get_window_variant; end
|
1949
1944
|
alias_method :window_variant, :get_window_variant
|
1950
1945
|
|
@@ -1967,7 +1962,7 @@ module Wx
|
|
1967
1962
|
|
1968
1963
|
# Sets the layout direction for this window.
|
1969
1964
|
# This function is only supported under MSW and GTK platforms, but not under Mac currently.
|
1970
|
-
# @param dir [LayoutDirection]
|
1965
|
+
# @param dir [Wx::LayoutDirection]
|
1971
1966
|
# @return [void]
|
1972
1967
|
def set_layout_direction(dir) end
|
1973
1968
|
alias_method :layout_direction=, :set_layout_direction
|
@@ -1983,7 +1978,7 @@ module Wx
|
|
1983
1978
|
# Chooses a different variant of the window display to use.
|
1984
1979
|
# Window variants currently just differ in size, as can be seen from {Wx::WindowVariant} documentation. Under all platforms but macOS, this function does nothing more than change the font used by the window. However under macOS it is implemented natively and selects the appropriate variant of the native widget, which has better appearance than just scaled down or up version of the normal variant, so it should be preferred to directly tweaking the font size.
|
1985
1980
|
# By default the controls naturally use the normal variant.
|
1986
|
-
# @param variant [WindowVariant]
|
1981
|
+
# @param variant [Wx::WindowVariant]
|
1987
1982
|
# @return [void]
|
1988
1983
|
def set_window_variant(variant) end
|
1989
1984
|
alias_method :window_variant=, :set_window_variant
|
@@ -2017,20 +2012,20 @@ module Wx
|
|
2017
2012
|
# @see Window Deletion Overview
|
2018
2013
|
# @see Wx::Window#destroy
|
2019
2014
|
# @see Wx::CloseEvent
|
2020
|
-
# @param force [
|
2021
|
-
# @return [
|
2015
|
+
# @param force [Boolean] false if the window's close handler should be able to veto the destruction of this window, true if it cannot.
|
2016
|
+
# @return [Boolean]
|
2022
2017
|
def close(force=false) end
|
2023
2018
|
|
2024
2019
|
# Destroys the window safely.
|
2025
2020
|
# Use this function instead of the delete operator, since different window classes can be destroyed differently. Frames and dialogs are not destroyed immediately when this function is called they are added to a list of windows to be deleted on idle time, when all the window's events have been processed. This prevents problems with events being sent to non-existent windows.
|
2026
2021
|
# true if the window has either been successfully deleted, or it has been added to the list of windows pending real deletion.
|
2027
|
-
# @return [
|
2022
|
+
# @return [Boolean]
|
2028
2023
|
def destroy; end
|
2029
2024
|
|
2030
2025
|
# Returns true if this window is in process of being destroyed.
|
2031
2026
|
# Top level windows are not deleted immediately but are rather scheduled for later destruction to give them time to process any pending messages; see {Wx::Window#destroy} description.
|
2032
2027
|
# This function returns true if this window, or one of its parent windows, is scheduled for destruction and can be useful to avoid manipulating it as it's usually useless to do something with a window which is at the point of disappearing anyhow.
|
2033
|
-
# @return [
|
2028
|
+
# @return [Boolean]
|
2034
2029
|
def is_being_deleted; end
|
2035
2030
|
alias_method :being_deleted?, :is_being_deleted
|
2036
2031
|
|
@@ -2054,7 +2049,7 @@ module Wx
|
|
2054
2049
|
# Enables or disables eligibility for drop file events (OnDropFiles).
|
2055
2050
|
# Windows only until version 2.8.9, available on all platforms since 2.8.10. Cannot be used together with {Wx::Window#set_drop_target} on non-Windows platforms.
|
2056
2051
|
# @see Wx::Window#set_drop_target
|
2057
|
-
# @param accept [
|
2052
|
+
# @param accept [Boolean] If true, the window is eligible for drop file events. If false, the window will not accept drop file events.
|
2058
2053
|
# @return [void]
|
2059
2054
|
def drag_accept_files(accept) end
|
2060
2055
|
|
@@ -2085,32 +2080,27 @@ module Wx
|
|
2085
2080
|
def set_sizer_and_fit(sizer) end
|
2086
2081
|
alias_method :sizer_and_fit=, :set_sizer_and_fit
|
2087
2082
|
|
2088
|
-
# Returns a pointer to the window's layout constraints, or NULL if there are none.
|
2089
|
-
# @return [Wx::LayoutConstraints]
|
2090
|
-
def get_constraints; end
|
2091
|
-
alias_method :constraints, :get_constraints
|
2092
|
-
|
2093
2083
|
# Lays out the children of this window using the associated sizer.
|
2094
2084
|
# If a sizer hadn't been associated with this window (see {Wx::Window#set_sizer}), this function doesn't do anything, unless this is a top level window (see {Wx::TopLevelWindow#layout}).
|
2095
2085
|
# Note that this method is called automatically when the window size changes if it has the associated sizer (or if {Wx::Window#set_auto_layout} with true argument had been explicitly called), ensuring that it is always laid out correctly.
|
2096
2086
|
#
|
2097
2087
|
# Always returns true, the return value is not useful.
|
2098
2088
|
# @see Window Sizing Overview
|
2099
|
-
# @return [
|
2089
|
+
# @return [Boolean]
|
2100
2090
|
def layout; end
|
2101
2091
|
|
2102
2092
|
# Determines whether the {Wx::Window#layout} function will be called automatically when the window is resized.
|
2103
2093
|
# This method is called implicitly by {Wx::Window#set_sizer} but if you use {Wx::Window#set_constraints} you should call it manually or otherwise the window layout won't be correctly updated when its size changes.
|
2104
2094
|
# @see Wx::Window#set_sizer
|
2105
2095
|
# @see Wx::Window#set_constraints
|
2106
|
-
# @param autoLayout [
|
2096
|
+
# @param autoLayout [Boolean] Set this to true if you wish the {Wx::Window#layout} function to be called automatically when the window is resized.
|
2107
2097
|
# @return [void]
|
2108
2098
|
def set_auto_layout(autoLayout) end
|
2109
2099
|
alias_method :auto_layout=, :set_auto_layout
|
2110
2100
|
|
2111
2101
|
# Returns true if {Wx::Window#layout} is called automatically when the window is resized.
|
2112
2102
|
# This function is mostly useful for wxWidgets itself and is rarely needed in the application code.
|
2113
|
-
# @return [
|
2103
|
+
# @return [Boolean]
|
2114
2104
|
def get_auto_layout; end
|
2115
2105
|
alias_method :auto_layout, :get_auto_layout
|
2116
2106
|
|
@@ -2141,7 +2131,7 @@ module Wx
|
|
2141
2131
|
# @see Wx::Window#release_mouse
|
2142
2132
|
# @see Wx::MouseCaptureLostEvent
|
2143
2133
|
# @see Wx::MouseCaptureChangedEvent
|
2144
|
-
# @return [
|
2134
|
+
# @return [Boolean]
|
2145
2135
|
def has_capture; end
|
2146
2136
|
alias_method :has_capture?, :has_capture
|
2147
2137
|
|
@@ -2167,7 +2157,7 @@ module Wx
|
|
2167
2157
|
# @see Wx::SetCursor
|
2168
2158
|
# @see Wx::Cursor
|
2169
2159
|
# @param cursor [Wx::Cursor] Specifies the cursor that the window should normally display.
|
2170
|
-
# @return [
|
2160
|
+
# @return [Boolean]
|
2171
2161
|
def set_cursor(cursor) end
|
2172
2162
|
alias_method :cursor=, :set_cursor
|
2173
2163
|
|
@@ -2187,7 +2177,7 @@ module Wx
|
|
2187
2177
|
#
|
2188
2178
|
# true if the specified events were enabled or false if the current platform doesn't support touch events.
|
2189
2179
|
# @param eventsMask [Integer] Either {Wx::TOUCH_NONE} or {Wx::TOUCH_ALL_GESTURES} to disable or enable gesture events for this window.
|
2190
|
-
# @return [
|
2180
|
+
# @return [Boolean]
|
2191
2181
|
def enable_touch_events(eventsMask) end
|
2192
2182
|
|
2193
2183
|
# @overload hit_test(x, y)
|
@@ -2196,20 +2186,20 @@ module Wx
|
|
2196
2186
|
# The point coordinates are specified in client window coordinates.
|
2197
2187
|
# @param x [Integer]
|
2198
2188
|
# @param y [Integer]
|
2199
|
-
# @return [HitTest]
|
2189
|
+
# @return [Wx::HitTest]
|
2200
2190
|
# @overload hit_test(pt)
|
2201
2191
|
# This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
2202
2192
|
# @param pt [Array(Integer, Integer), Wx::Point]
|
2203
|
-
# @return [HitTest]
|
2193
|
+
# @return [Wx::HitTest]
|
2204
2194
|
def hit_test(*args) end
|
2205
2195
|
|
2206
2196
|
# @overload get_border(flags)
|
2207
2197
|
# Get the window border style from the given flags: this is different from simply doing flags & {Wx::Border::BORDER_MASK} because it uses GetDefaultBorder() to translate {Wx::Border::BORDER_DEFAULT} to something reasonable.
|
2208
2198
|
# @param flags [Integer]
|
2209
|
-
# @return [Border]
|
2199
|
+
# @return [Wx::Border]
|
2210
2200
|
# @overload get_border()
|
2211
2201
|
# Get border for the flags of this window.
|
2212
|
-
# @return [Border]
|
2202
|
+
# @return [Wx::Border]
|
2213
2203
|
def get_border(*args) end
|
2214
2204
|
alias_method :border, :get_border
|
2215
2205
|
|
@@ -2236,7 +2226,7 @@ module Wx
|
|
2236
2226
|
|
2237
2227
|
# This method should be overridden to return true if this window has multiple pages.
|
2238
2228
|
# All standard class with multiple pages such as {Wx::Notebook}, {Wx::Listbook} and {Wx::Treebook} already override it to return true and user-defined classes with similar behaviour should also do so, to allow the library to handle such windows appropriately.
|
2239
|
-
# @return [
|
2229
|
+
# @return [Boolean]
|
2240
2230
|
def has_multiple_pages; end
|
2241
2231
|
alias_method :has_multiple_pages?, :has_multiple_pages
|
2242
2232
|
|
@@ -2253,31 +2243,31 @@ module Wx
|
|
2253
2243
|
# Returns true if the window contents is double-buffered by the system, i.e. if any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later.
|
2254
2244
|
#
|
2255
2245
|
# @see Wx::BufferedDC
|
2256
|
-
# @return [
|
2246
|
+
# @return [Boolean]
|
2257
2247
|
def is_double_buffered; end
|
2258
2248
|
alias_method :double_buffered?, :is_double_buffered
|
2259
2249
|
|
2260
2250
|
# Turn on or off double buffering of the window if the system supports it.
|
2261
|
-
# @param on [
|
2251
|
+
# @param on [Boolean]
|
2262
2252
|
# @return [void]
|
2263
2253
|
def set_double_buffered(on) end
|
2264
2254
|
alias_method :double_buffered=, :set_double_buffered
|
2265
2255
|
|
2266
2256
|
# Returns true if the window is retained, false otherwise.
|
2267
2257
|
# Retained windows are only available on X platforms.
|
2268
|
-
# @return [
|
2258
|
+
# @return [Boolean]
|
2269
2259
|
def is_retained; end
|
2270
2260
|
alias_method :retained?, :is_retained
|
2271
2261
|
|
2272
2262
|
# Returns true if this window is intrinsically enabled, false otherwise, i.e. if {Wx::Window#enable} Enable(false) had been called.
|
2273
2263
|
# This method is mostly used for wxWidgets itself, user code should normally use {Wx::Window#is_enabled} instead.
|
2274
|
-
# @return [
|
2264
|
+
# @return [Boolean]
|
2275
2265
|
def is_this_enabled; end
|
2276
2266
|
alias_method :this_enabled?, :is_this_enabled
|
2277
2267
|
|
2278
2268
|
# Returns true if the given window is a top-level one.
|
2279
2269
|
# Currently all frames and dialogs are considered to be top-level windows (even if they have a parent window).
|
2280
|
-
# @return [
|
2270
|
+
# @return [Boolean]
|
2281
2271
|
def is_top_level; end
|
2282
2272
|
alias_method :top_level?, :is_top_level
|
2283
2273
|
|
@@ -2297,7 +2287,7 @@ module Wx
|
|
2297
2287
|
# @param hotkeyId [Integer] Numeric identifier of the hotkey. For applications this must be between 0 and 0xBFFF. If this function is called from a shared DLL, it must be a system wide unique identifier between 0xC000 and 0xFFFF. This is a MSW specific detail.
|
2298
2288
|
# @param modifiers [Integer] A bitwise combination of {Wx::KeyModifier::MOD_SHIFT}, {Wx::KeyModifier::MOD_CONTROL}, {Wx::KeyModifier::MOD_ALT} or {Wx::KeyModifier::MOD_WIN} specifying the modifier keys that have to be pressed along with the key.
|
2299
2289
|
# @param virtualKeyCode [Integer] The key code of the hotkey, e.g. an ASCII character such as <code>'K'</code> or one of elements of {Wx::KeyCode} enum.
|
2300
|
-
# @return [
|
2290
|
+
# @return [Boolean]
|
2301
2291
|
def register_hot_key(hotkeyId, modifiers, virtualKeyCode) end
|
2302
2292
|
|
2303
2293
|
# Unregisters a system wide hotkey.
|
@@ -2306,7 +2296,7 @@ module Wx
|
|
2306
2296
|
# This function is currently only implemented under MSW.
|
2307
2297
|
# @see Wx::Window#register_hot_key
|
2308
2298
|
# @param hotkeyId [Integer] Numeric identifier of the hotkey. Must be the same id that was passed to {Wx::Window#register_hot_key}.
|
2309
|
-
# @return [
|
2299
|
+
# @return [Boolean]
|
2310
2300
|
def unregister_hot_key(hotkeyId) end
|
2311
2301
|
|
2312
2302
|
# This function sends one or more {Wx::UpdateUIEvent} to the window.
|
@@ -2336,7 +2326,7 @@ module Wx
|
|
2336
2326
|
# This static method is "overridden" in many derived classes and so calling, for example, {Wx::Button#get_class_default_attributes} will typically return the values appropriate for a button which will be normally different from those returned by, say, {Wx::ListCtrl#get_class_default_attributes}.
|
2337
2327
|
# The {Wx::VisualAttributes} structure has at least the fields font, colFg and colBg. All of them may be invalid if it was not possible to determine the default control appearance or, especially for the background colour, if the field doesn't make sense as is the case for colBg for the controls with themed background.
|
2338
2328
|
# @see Wx::Window#inherit_attributes
|
2339
|
-
# @param variant [WindowVariant]
|
2329
|
+
# @param variant [Wx::WindowVariant]
|
2340
2330
|
# @return [Wx::VisualAttributes]
|
2341
2331
|
def self.get_class_default_attributes(variant=Wx::WindowVariant::WINDOW_VARIANT_NORMAL) end
|
2342
2332
|
|
@@ -2476,10 +2466,55 @@ module Wx
|
|
2476
2466
|
# @param size [Array(Integer, Integer), Wx::Size]
|
2477
2467
|
# @param style [Integer]
|
2478
2468
|
# @param name [String]
|
2479
|
-
# @return [
|
2469
|
+
# @return [Boolean]
|
2480
2470
|
def create(parent, id, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=Wx::PanelNameStr) end
|
2481
2471
|
|
2482
2472
|
end # Window
|
2483
2473
|
|
2474
|
+
# Struct containing all the visual attributes of a control.
|
2475
|
+
#
|
2476
|
+
#
|
2477
|
+
#
|
2478
|
+
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
2479
|
+
class VisualAttributes < ::Object
|
2480
|
+
|
2481
|
+
# The font used for control label/text inside it.
|
2482
|
+
#
|
2483
|
+
#
|
2484
|
+
# @return [Wx::Font]
|
2485
|
+
def font; end
|
2486
|
+
# The font used for control label/text inside it.
|
2487
|
+
#
|
2488
|
+
#
|
2489
|
+
# @param val [Wx::Font]
|
2490
|
+
# @return [void]
|
2491
|
+
def font=(val); end
|
2492
|
+
|
2493
|
+
# The foreground colour.
|
2494
|
+
#
|
2495
|
+
#
|
2496
|
+
# @return [Wx::Colour]
|
2497
|
+
def col_fg; end
|
2498
|
+
# The foreground colour.
|
2499
|
+
#
|
2500
|
+
#
|
2501
|
+
# @param val [Wx::Colour]
|
2502
|
+
# @return [void]
|
2503
|
+
def col_fg=(val); end
|
2504
|
+
|
2505
|
+
# The background colour.
|
2506
|
+
# May be {Wx::NULL_COLOUR} if the controls background colour is not solid.
|
2507
|
+
#
|
2508
|
+
# @return [Wx::Colour]
|
2509
|
+
def col_bg; end
|
2510
|
+
# The background colour.
|
2511
|
+
# May be {Wx::NULL_COLOUR} if the controls background colour is not solid.
|
2512
|
+
#
|
2513
|
+
# @param val [Wx::Colour]
|
2514
|
+
# @return [void]
|
2515
|
+
def col_bg=(val); end
|
2516
|
+
|
2517
|
+
end # VisualAttributes
|
2518
|
+
|
2484
2519
|
|
2485
2520
|
end
|