wxruby3 0.9.0.pre.rc.3-x64-mingw-ucrt → 0.9.1-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/const.rb +83 -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 +100 -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 +73 -66
- 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 +6 -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 +18 -10
- 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 +4 -4
- data/lib/wx/doc/gen/animation.rb +13 -13
- data/lib/wx/doc/gen/animation_ctrl.rb +9 -9
- 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 +4 -4
- 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 +15 -16
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +4 -4
- 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 +26 -57
- data/lib/wx/doc/gen/bitmap_button.rb +5 -5
- data/lib/wx/doc/gen/bitmap_combo_box.rb +6 -6
- 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 +6 -6
- 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 +11 -11
- data/lib/wx/doc/gen/check_list_box.rb +7 -7
- data/lib/wx/doc/gen/choice.rb +5 -5
- 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 +6 -6
- 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 +3 -3
- data/lib/wx/doc/gen/combo_box.rb +11 -11
- 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 +5 -5
- data/lib/wx/doc/gen/control_with_items.rb +5 -5
- data/lib/wx/doc/gen/core.rb +6 -6
- data/lib/wx/doc/gen/cursor.rb +4 -9
- data/lib/wx/doc/gen/data_format.rb +3 -3
- data/lib/wx/doc/gen/data_object.rb +14 -14
- 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 +127 -64
- data/lib/wx/doc/gen/defs.rb +3 -3
- data/lib/wx/doc/gen/dial_up_event.rb +42 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +129 -0
- data/lib/wx/doc/gen/dialog.rb +48 -19
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +5 -5
- 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 +4 -4
- data/lib/wx/doc/gen/event.rb +22 -24
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_list.rb +133 -7
- data/lib/wx/doc/gen/events.rb +162 -166
- 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_ctrl.rb +200 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +80 -0
- data/lib/wx/doc/gen/file_dialog.rb +5 -3
- 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 +5 -5
- 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 +61 -66
- 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 +3 -3
- data/lib/wx/doc/gen/frame.rb +10 -24
- data/lib/wx/doc/gen/fs_file.rb +61 -21
- data/lib/wx/doc/gen/gauge.rb +5 -5
- 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 +8 -8
- 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 +3 -1
- 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 +416 -173
- 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 +46 -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 +6 -6
- data/lib/wx/doc/gen/html/html_help_controller.rb +79 -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 +11 -11
- data/lib/wx/doc/gen/html/html_printout.rb +1 -1
- data/lib/wx/doc/gen/html/html_window.rb +36 -32
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +5 -5
- 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 +24 -24
- data/lib/wx/doc/gen/list_ctrl.rb +61 -96
- 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 +12 -12
- data/lib/wx/doc/gen/media_ctrl.rb +17 -17
- 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 +88 -88
- data/lib/wx/doc/gen/message_dialog.rb +6 -6
- data/lib/wx/doc/gen/mini_frame.rb +4 -4
- 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 +9 -9
- 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 +6 -6
- 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 +32 -32
- data/lib/wx/doc/gen/pg/property_grid_event.rb +7 -7
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +43 -49
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +41 -44
- 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 +174 -14
- 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 +3 -3
- data/lib/wx/doc/gen/prt/preview_frame.rb +14 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/print_data.rb +44 -44
- data/lib/wx/doc/gen/prt/printer.rb +23 -28
- data/lib/wx/doc/gen/query_layout_info_event.rb +4 -4
- data/lib/wx/doc/gen/radio_box.rb +13 -13
- data/lib/wx/doc/gen/radio_button.rb +7 -7
- 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 +8 -8
- 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 +437 -474
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +9 -9
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +13 -13
- 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 +18 -18
- 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 +3 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +34 -37
- data/lib/wx/doc/gen/sash_event.rb +8 -5
- data/lib/wx/doc/gen/sash_layout_window.rb +10 -10
- data/lib/wx/doc/gen/sash_window.rb +7 -7
- data/lib/wx/doc/gen/scroll_bar.rb +6 -6
- data/lib/wx/doc/gen/scrolled_canvas.rb +12 -18
- data/lib/wx/doc/gen/scrolled_control.rb +12 -18
- data/lib/wx/doc/gen/scrolled_window.rb +12 -18
- data/lib/wx/doc/gen/search_ctrl.rb +7 -7
- 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 +4 -4
- data/lib/wx/doc/gen/spin_button.rb +3 -3
- 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 +18 -14
- data/lib/wx/doc/gen/static_bitmap.rb +6 -6
- data/lib/wx/doc/gen/static_box.rb +11 -11
- data/lib/wx/doc/gen/static_line.rb +5 -5
- data/lib/wx/doc/gen/static_text.rb +5 -5
- data/lib/wx/doc/gen/status_bar.rb +41 -7
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +148 -180
- 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 +15 -39
- 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 +6 -6
- data/lib/wx/doc/gen/tool_bar.rb +32 -39
- 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 +27 -97
- data/lib/wx/doc/gen/tree_ctrl.rb +22 -22
- 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 +12 -12
- data/lib/wx/doc/gen/v_list_box.rb +11 -11
- data/lib/wx/doc/gen/v_scrolled_window.rb +9 -9
- 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 +162 -127
- 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 +11 -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 +96 -7
- 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 +6 -3
- 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 +1794 -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_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -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_book_controls.rb +29 -0
- 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_exceptions.rb +41 -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_sizer.rb +43 -0
- data/tests/test_std_controls.rb +81 -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 +86 -3
- data/lib/wx/doc/gen/html/html_help_frame.rb +0 -112
@@ -657,20 +657,20 @@ module Wx
|
|
657
657
|
# childId is 0 (the action for this object) or greater than 0 (the action for a child).
|
658
658
|
# {Wx::AccStatus::ACC_NOT_SUPPORTED} if there is no default action for this window (e.g. an edit control).
|
659
659
|
# @param childId [Integer]
|
660
|
-
# @return [AccStatus]
|
660
|
+
# @return [Wx::AccStatus]
|
661
661
|
def do_default_action(childId) end
|
662
662
|
|
663
663
|
# Gets the specified child (starting from 1).
|
664
664
|
# If child is NULL and the return value is {Wx::AccStatus::ACC_OK}, this means that the child is a simple element and not an accessible object.
|
665
665
|
# @param childId [Integer]
|
666
666
|
# @param child [Wx::Accessible]
|
667
|
-
# @return [AccStatus]
|
667
|
+
# @return [Wx::AccStatus]
|
668
668
|
def get_child(childId, child) end
|
669
669
|
alias_method :child, :get_child
|
670
670
|
|
671
671
|
# Returns the number of children in childCount.
|
672
672
|
# @param childCount [int]
|
673
|
-
# @return [AccStatus]
|
673
|
+
# @return [Wx::AccStatus]
|
674
674
|
def get_child_count(childCount) end
|
675
675
|
alias_method :child_count, :get_child_count
|
676
676
|
|
@@ -679,14 +679,14 @@ module Wx
|
|
679
679
|
# the current document."
|
680
680
|
# @param childId [Integer]
|
681
681
|
# @param actionName [String]
|
682
|
-
# @return [AccStatus]
|
682
|
+
# @return [Wx::AccStatus]
|
683
683
|
def get_default_action(childId, actionName) end
|
684
684
|
alias_method :default_action, :get_default_action
|
685
685
|
|
686
686
|
# Returns the description for this object or a child.
|
687
687
|
# @param childId [Integer]
|
688
688
|
# @param description [String]
|
689
|
-
# @return [AccStatus]
|
689
|
+
# @return [Wx::AccStatus]
|
690
690
|
def get_description(childId, description) end
|
691
691
|
alias_method :description, :get_description
|
692
692
|
|
@@ -694,14 +694,14 @@ module Wx
|
|
694
694
|
# If childId is 0 and child is NULL, no object in this subhierarchy has the focus. If this object has the focus, child should be 'this'.
|
695
695
|
# @param childId [int]
|
696
696
|
# @param child [Wx::Accessible]
|
697
|
-
# @return [AccStatus]
|
697
|
+
# @return [Wx::AccStatus]
|
698
698
|
def get_focus(childId, child) end
|
699
699
|
alias_method :focus, :get_focus
|
700
700
|
|
701
701
|
# Returns help text for this object or a child, similar to tooltip text.
|
702
702
|
# @param childId [Integer]
|
703
703
|
# @param helpText [String]
|
704
|
-
# @return [AccStatus]
|
704
|
+
# @return [Wx::AccStatus]
|
705
705
|
def get_help_text(childId, helpText) end
|
706
706
|
alias_method :help_text, :get_help_text
|
707
707
|
|
@@ -709,7 +709,7 @@ module Wx
|
|
709
709
|
# Returns e.g. ALT+K.
|
710
710
|
# @param childId [Integer]
|
711
711
|
# @param shortcut [String]
|
712
|
-
# @return [AccStatus]
|
712
|
+
# @return [Wx::AccStatus]
|
713
713
|
def get_keyboard_shortcut(childId, shortcut) end
|
714
714
|
alias_method :keyboard_shortcut, :get_keyboard_shortcut
|
715
715
|
|
@@ -717,20 +717,20 @@ module Wx
|
|
717
717
|
# rect is in screen coordinates.
|
718
718
|
# @param rect [Wx::Rect]
|
719
719
|
# @param elementId [Integer]
|
720
|
-
# @return [AccStatus]
|
720
|
+
# @return [Wx::AccStatus]
|
721
721
|
def get_location(rect, elementId) end
|
722
722
|
alias_method :location, :get_location
|
723
723
|
|
724
724
|
# Gets the name of the specified object.
|
725
725
|
# @param childId [Integer]
|
726
726
|
# @param name [String]
|
727
|
-
# @return [AccStatus]
|
727
|
+
# @return [Wx::AccStatus]
|
728
728
|
def get_name(childId, name) end
|
729
729
|
alias_method :name, :get_name
|
730
730
|
|
731
731
|
# Returns the parent of this object, or NULL.
|
732
732
|
# @param parent [Wx::Accessible]
|
733
|
-
# @return [AccStatus]
|
733
|
+
# @return [Wx::AccStatus]
|
734
734
|
def get_parent(parent) end
|
735
735
|
alias_method :parent, :get_parent
|
736
736
|
|
@@ -738,7 +738,7 @@ module Wx
|
|
738
738
|
# See {Wx::AccRole} for a list of these roles.
|
739
739
|
# @param childId [Integer]
|
740
740
|
# @param role [Wx::AccRole]
|
741
|
-
# @return [AccStatus]
|
741
|
+
# @return [Wx::AccStatus]
|
742
742
|
def get_role(childId, role) end
|
743
743
|
alias_method :role, :get_role
|
744
744
|
|
@@ -753,7 +753,7 @@ module Wx
|
|
753
753
|
#
|
754
754
|
# - a list variant (<code>GetType()</code> <code>==</code> <code>"list"</code>) if multiple child objects are selected
|
755
755
|
# @param selections [Wx::Variant]
|
756
|
-
# @return [AccStatus]
|
756
|
+
# @return [Wx::AccStatus]
|
757
757
|
def get_selections(selections) end
|
758
758
|
alias_method :selections, :get_selections
|
759
759
|
|
@@ -761,14 +761,14 @@ module Wx
|
|
761
761
|
# See {Wx::AccStatus} for a list of these states.
|
762
762
|
# @param childId [Integer]
|
763
763
|
# @param state [long]
|
764
|
-
# @return [AccStatus]
|
764
|
+
# @return [Wx::AccStatus]
|
765
765
|
def get_state(childId, state) end
|
766
766
|
alias_method :state, :get_state
|
767
767
|
|
768
768
|
# Returns a localized string representing the value for the object or child.
|
769
769
|
# @param childId [Integer]
|
770
770
|
# @param strValue [String]
|
771
|
-
# @return [AccStatus]
|
771
|
+
# @return [Wx::AccStatus]
|
772
772
|
def get_value(childId, strValue) end
|
773
773
|
alias_method :value, :get_value
|
774
774
|
|
@@ -783,22 +783,22 @@ module Wx
|
|
783
783
|
# @param pt [Array(Integer, Integer), Wx::Point]
|
784
784
|
# @param childId [int]
|
785
785
|
# @param childObject [Wx::Accessible]
|
786
|
-
# @return [AccStatus]
|
786
|
+
# @return [Wx::AccStatus]
|
787
787
|
def hit_test(pt, childId, childObject) end
|
788
788
|
|
789
789
|
# Navigates from fromId to toId or to toObject.
|
790
|
-
# @param navDir [NavDir]
|
790
|
+
# @param navDir [Wx::NavDir]
|
791
791
|
# @param fromId [Integer]
|
792
792
|
# @param toId [int]
|
793
793
|
# @param toObject [Wx::Accessible]
|
794
|
-
# @return [AccStatus]
|
794
|
+
# @return [Wx::AccStatus]
|
795
795
|
def navigate(navDir, fromId, toId, toObject) end
|
796
796
|
|
797
797
|
# Selects the object or child.
|
798
798
|
# See {Wx::AccSelectionFlags} for a list of the selection actions.
|
799
799
|
# @param childId [Integer]
|
800
|
-
# @param selectFlags [AccSelectionFlags]
|
801
|
-
# @return [AccStatus]
|
800
|
+
# @param selectFlags [Wx::AccSelectionFlags]
|
801
|
+
# @return [Wx::AccStatus]
|
802
802
|
def select(childId, selectFlags) end
|
803
803
|
|
804
804
|
# Sets the window associated with this object.
|
@@ -810,7 +810,7 @@ module Wx
|
|
810
810
|
# Allows the application to send an event when something changes in an accessible object.
|
811
811
|
# @param eventType [Integer]
|
812
812
|
# @param window [Wx::Window]
|
813
|
-
# @param objectType [AccObject]
|
813
|
+
# @param objectType [Wx::AccObject]
|
814
814
|
# @param objectId [Integer]
|
815
815
|
# @return [void]
|
816
816
|
def self.notify_event(eventType, window, objectType, objectId) end
|
@@ -20,7 +20,7 @@ module Wx
|
|
20
20
|
# Default constructor.
|
21
21
|
# Use {Wx::ActivityIndicator#create} to really create the control after using this constructor.
|
22
22
|
# @return [Wx::ActivityIndicator]
|
23
|
-
# @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("
|
23
|
+
# @overload initialize(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR"))
|
24
24
|
# Constructor fully creating the control.
|
25
25
|
# The arguments have the usual meanings and only parent is typically required.
|
26
26
|
# @param parent [Wx::Window]
|
@@ -40,8 +40,8 @@ module Wx
|
|
40
40
|
# @param size [Array(Integer, Integer), Wx::Size]
|
41
41
|
# @param style [Integer]
|
42
42
|
# @param name [String]
|
43
|
-
# @return [
|
44
|
-
def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("
|
43
|
+
# @return [Boolean]
|
44
|
+
def create(parent, winid=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=0, name=("ACTIVITYINDICATOR")) end
|
45
45
|
|
46
46
|
# Starts animation of the indicator.
|
47
47
|
# Does nothing if the indicator is already running.
|
@@ -55,7 +55,7 @@ module Wx
|
|
55
55
|
|
56
56
|
# Returns true if the control is currently showing activity.
|
57
57
|
# Returns false initially, true once {Wx::ActivityIndicator#start} is called and false again after calling {Wx::ActivityIndicator#stop}.
|
58
|
-
# @return [
|
58
|
+
# @return [Boolean]
|
59
59
|
def is_running; end
|
60
60
|
alias_method :running?, :is_running
|
61
61
|
|
data/lib/wx/doc/gen/animation.rb
CHANGED
@@ -82,7 +82,7 @@ module Wx
|
|
82
82
|
#
|
83
83
|
# @see Wx::AnimationCtrl#create_animation
|
84
84
|
# @param name [String] A filename.
|
85
|
-
# @param type [AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
|
85
|
+
# @param type [Wx::AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
|
86
86
|
# @return [Wx::Animation]
|
87
87
|
# @overload initialize(other)
|
88
88
|
# Copy constructor.
|
@@ -91,7 +91,7 @@ module Wx
|
|
91
91
|
def initialize(*args) end
|
92
92
|
|
93
93
|
# Returns true if animation data is present.
|
94
|
-
# @return [
|
94
|
+
# @return [Boolean]
|
95
95
|
def is_ok; end
|
96
96
|
alias_method :ok?, :is_ok
|
97
97
|
|
@@ -123,15 +123,15 @@ module Wx
|
|
123
123
|
# Loads an animation from a file.
|
124
124
|
# true if the operation succeeded, false otherwise.
|
125
125
|
# @param name [String] A filename.
|
126
|
-
# @param type [AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
|
127
|
-
# @return [
|
126
|
+
# @param type [Wx::AnimationType] One of the {Wx::AnimationType} values; {Wx::AnimationType::ANIMATION_TYPE_ANY} means that the function should try to autodetect the filetype.
|
127
|
+
# @return [Boolean]
|
128
128
|
def load_file(name, type=Wx::AnimationType::ANIMATION_TYPE_ANY) end
|
129
129
|
|
130
130
|
# Loads an animation from the given stream.
|
131
131
|
# true if the operation succeeded, false otherwise.
|
132
132
|
# @param stream [IO,Wx::InputStream] The stream to use to load the animation. Under wxGTK may be any kind of stream; under other platforms this must be a seekable stream.
|
133
|
-
# @param type [AnimationType] One of the {Wx::AnimationType} enumeration values.
|
134
|
-
# @return [
|
133
|
+
# @param type [Wx::AnimationType] One of the {Wx::AnimationType} enumeration values.
|
134
|
+
# @return [Boolean]
|
135
135
|
def load(stream, type=Wx::AnimationType::ANIMATION_TYPE_ANY) end
|
136
136
|
|
137
137
|
# Returns the list of animation decoders used by the generic animation and {Wx::GenericAnimationCtrl}.
|
@@ -149,7 +149,7 @@ module Wx
|
|
149
149
|
def self.insert_handler(handler) end
|
150
150
|
|
151
151
|
# Search for an animation decoder by type.
|
152
|
-
# @param animType [AnimationType]
|
152
|
+
# @param animType [Wx::AnimationType]
|
153
153
|
# @return [Wx::AnimationDecoder]
|
154
154
|
def self.find_handler(animType) end
|
155
155
|
|
@@ -175,12 +175,12 @@ module Wx
|
|
175
175
|
|
176
176
|
# Load the animation image frames from the given stream.
|
177
177
|
# @param stream [IO,Wx::InputStream]
|
178
|
-
# @return [
|
178
|
+
# @return [Boolean]
|
179
179
|
def load(stream) end
|
180
180
|
|
181
181
|
# Returns true if this decoder supports loading from the given stream.
|
182
182
|
# @param stream [IO,Wx::InputStream]
|
183
|
-
# @return [
|
183
|
+
# @return [Boolean]
|
184
184
|
def can_read(stream) end
|
185
185
|
alias_method :can_read?, :can_read
|
186
186
|
|
@@ -189,13 +189,13 @@ module Wx
|
|
189
189
|
def clone; end
|
190
190
|
|
191
191
|
# Return the animation type this decoder implements.
|
192
|
-
# @return [AnimationType]
|
192
|
+
# @return [Wx::AnimationType]
|
193
193
|
def get_type; end
|
194
194
|
alias_method :type, :get_type
|
195
195
|
|
196
196
|
# Convert given frame to {Wx::Image}.
|
197
197
|
# @param frame [Integer]
|
198
|
-
# @return [Array(
|
198
|
+
# @return [Array(Boolean,Wx::Image)]
|
199
199
|
def convert_to_image(frame) end
|
200
200
|
|
201
201
|
# @param frame [Integer]
|
@@ -210,7 +210,7 @@ module Wx
|
|
210
210
|
|
211
211
|
# What should be done after displaying this frame.
|
212
212
|
# @param frame [Integer]
|
213
|
-
# @return [AnimationDisposal]
|
213
|
+
# @return [Wx::AnimationDisposal]
|
214
214
|
def get_disposal_method(frame) end
|
215
215
|
alias_method :disposal_method, :get_disposal_method
|
216
216
|
|
@@ -244,7 +244,7 @@ module Wx
|
|
244
244
|
|
245
245
|
# Checks the signature of the data in the given stream and returns true if it appears to be a valid animation format recognized by the animation decoder; this function should modify the stream current position without taking care of restoring it since <code>Wx::AnimationDecoder#can_read</code> will do it.
|
246
246
|
# @param stream [IO,Wx::InputStream]
|
247
|
-
# @return [
|
247
|
+
# @return [Boolean]
|
248
248
|
def do_can_read(stream) end
|
249
249
|
|
250
250
|
end # AnimationDecoder
|
@@ -42,7 +42,7 @@ module Wx
|
|
42
42
|
# @param style [Integer]
|
43
43
|
# @param name [String]
|
44
44
|
# @return [Wx::AnimationCtrl]
|
45
|
-
def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::
|
45
|
+
def initialize(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
|
46
46
|
|
47
47
|
# Creates the control with the given anim animation.
|
48
48
|
# After control creation you must explicitly call {Wx::AnimationCtrl#play} to start to play the animation. Until that function won't be called, the first frame of the animation is displayed.
|
@@ -55,8 +55,8 @@ module Wx
|
|
55
55
|
# @param size [Array(Integer, Integer), Wx::Size] Initial size.
|
56
56
|
# @param style [Integer] The window style, see {Wx::AC_}* flags.
|
57
57
|
# @param name [String] Control name.
|
58
|
-
# @return [
|
59
|
-
def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::
|
58
|
+
# @return [Boolean]
|
59
|
+
def create(parent, id, anim=Wx::NULL_ANIMATION, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::AC_DEFAULT_STYLE, name=Wx::ANIMATION_CTRL_NAME_STR) end
|
60
60
|
|
61
61
|
# Create a new animation object compatible with this control.
|
62
62
|
# A {Wx::Animation} object created using this function is always compatible with controls of this type, see {Wx::Animation#is_compatible_with}.
|
@@ -75,27 +75,27 @@ module Wx
|
|
75
75
|
alias_method :inactive_bitmap, :get_inactive_bitmap
|
76
76
|
|
77
77
|
# Returns true if the animation is being played.
|
78
|
-
# @return [
|
78
|
+
# @return [Boolean]
|
79
79
|
def is_playing; end
|
80
80
|
alias_method :playing?, :is_playing
|
81
81
|
|
82
82
|
# Loads the animation from the given file and calls {Wx::AnimationCtrl#set_animation}.
|
83
83
|
# See {Wx::Animation#load_file} for more info.
|
84
84
|
# @param file [String]
|
85
|
-
# @param animType [AnimationType]
|
86
|
-
# @return [
|
85
|
+
# @param animType [Wx::AnimationType]
|
86
|
+
# @return [Boolean]
|
87
87
|
def load_file(file, animType=Wx::AnimationType::ANIMATION_TYPE_ANY) end
|
88
88
|
|
89
89
|
# Loads the animation from the given stream and calls {Wx::AnimationCtrl#set_animation}.
|
90
90
|
# See {Wx::Animation#load} for more info.
|
91
91
|
# @param file [IO,Wx::InputStream]
|
92
|
-
# @param animType [AnimationType]
|
93
|
-
# @return [
|
92
|
+
# @param animType [Wx::AnimationType]
|
93
|
+
# @return [Boolean]
|
94
94
|
def load(file, animType=Wx::AnimationType::ANIMATION_TYPE_ANY) end
|
95
95
|
|
96
96
|
# Starts playing the animation.
|
97
97
|
# The animation is always played in loop mode (unless the last frame of the animation has an infinite delay time) and always start from the first frame even if you {Wx::stopped} it while some other frame was displayed.
|
98
|
-
# @return [
|
98
|
+
# @return [Boolean]
|
99
99
|
def play; end
|
100
100
|
|
101
101
|
# Sets the animation to play in this control.
|
@@ -100,7 +100,7 @@ module Wx
|
|
100
100
|
# @see Wx::AnyButton#set_bitmap_position
|
101
101
|
# @see Wx::AnyButton#set_bitmap_margins
|
102
102
|
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] The bitmap bundle containing the resolution-dependent bitmaps to display in the button. At default DPI, the size of the bitmap is determined by the default bundle size, i.e. the value returned from {Wx::BitmapBundle#get_default_size}. If the bitmap bundle is invalid, any currently shown bitmaps are removed from the button.
|
103
|
-
# @param dir [Direction] The position of the bitmap inside the button. By default it is positioned to the left of the text, near to the left button border. Other possible values include {Wx::Direction::RIGHT}, {Wx::Direction::TOP} and {Wx::Direction::BOTTOM}.
|
103
|
+
# @param dir [Wx::Direction] The position of the bitmap inside the button. By default it is positioned to the left of the text, near to the left button border. Other possible values include {Wx::Direction::RIGHT}, {Wx::Direction::TOP} and {Wx::Direction::BOTTOM}.
|
104
104
|
# @return [void]
|
105
105
|
def set_bitmap(bitmap, dir=Wx::Direction::LEFT) end
|
106
106
|
alias_method :bitmap=, :set_bitmap
|
@@ -159,7 +159,7 @@ module Wx
|
|
159
159
|
|
160
160
|
# Set the position at which the bitmap is displayed.
|
161
161
|
# This method should only be called if the button does have an associated bitmap.
|
162
|
-
# @param dir [Direction] Direction in which the bitmap should be positioned, one of {Wx::Direction::LEFT}, {Wx::Direction::RIGHT}, {Wx::Direction::TOP} or {Wx::Direction::BOTTOM}.
|
162
|
+
# @param dir [Wx::Direction] Direction in which the bitmap should be positioned, one of {Wx::Direction::LEFT}, {Wx::Direction::RIGHT}, {Wx::Direction::TOP} or {Wx::Direction::BOTTOM}.
|
163
163
|
# @return [void]
|
164
164
|
def set_bitmap_position(dir) end
|
165
165
|
alias_method :bitmap_position=, :set_bitmap_position
|
data/lib/wx/doc/gen/app.rb
CHANGED
@@ -38,89 +38,27 @@ module Wx
|
|
38
38
|
#
|
39
39
|
class App < EvtHandler
|
40
40
|
|
41
|
-
# Called in response of an "open-application" Apple event.
|
42
|
-
# Override this to create a new document in your app.
|
43
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
44
|
-
# @return [void]
|
45
|
-
def mac_new_file; end
|
46
|
-
|
47
|
-
# Called in response of an openFiles message.
|
48
|
-
# You need to override this method in order to open one or more document files after the user double clicked on it or if the files and/or folders were dropped on either the application in the dock or the application icon in Finder.
|
49
|
-
# By default this method calls MacOpenFile for each file/folder.
|
50
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
51
|
-
# @param fileNames [Array<String>]
|
52
|
-
# @return [void]
|
53
|
-
def mac_open_files(fileNames) end
|
54
|
-
|
55
|
-
# Called in response of a "get-url" Apple event.
|
56
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
57
|
-
# @param url [String]
|
58
|
-
# @return [void]
|
59
|
-
def mac_open_url(url) end
|
60
|
-
|
61
|
-
# Called in response of a "print-document" Apple event.
|
62
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
63
|
-
# @param fileName [String]
|
64
|
-
# @return [void]
|
65
|
-
def mac_print_file(fileName) end
|
66
|
-
|
67
|
-
# Called in response of a "reopen-application" Apple event.
|
68
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
69
|
-
# @return [void]
|
70
|
-
def mac_reopen_app; end
|
71
|
-
|
72
|
-
# May be overridden to indicate that the application is not a foreground GUI application under macOS.
|
73
|
-
# This method is called during the application startup and returns true by default. In this case, wxWidgets ensures that the application is ran as a foreground, GUI application so that the user can interact with it normally, even if it is not bundled. If this is undesired, i.e. if the application doesn't need to be brought to the foreground, this method can be overridden to return false.
|
74
|
-
# Notice that overriding it doesn't make any difference for the bundled applications which are always foreground unless LSBackgroundOnly key is specified in the Info.plist file.
|
75
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
76
|
-
# @return [true,false]
|
77
|
-
def osx_is_gui_application; end
|
78
|
-
|
79
|
-
# Enable the automatic tabbing features of macOS.
|
80
|
-
# This feature is native to the operating system. When it is enabled, macOS will automatically place windows inside tabs and show a tab bar in the application. Entries are also added to the View menu to show/hide the tab bar.
|
81
|
-
# Availability: only available for the wxOSX/Cocoa port. {Wx::osx}
|
82
|
-
# Requires macOS 10.12+, does nothing under earlier OS versions.
|
83
|
-
# @param enable [true,false]
|
84
|
-
# @return [void]
|
85
|
-
def osx_enable_automatic_tabbing(enable) end
|
86
|
-
|
87
|
-
# Disables the printing of various GTK messages.
|
88
|
-
# This function can be called to suppress GTK diagnostic messages that are output on the standard error stream by default.
|
89
|
-
# The default value of the argument disables all messages, but you can pass in a mask flag to specifically disable only particular categories of messages.
|
90
|
-
# Note that this function only works when using glib 2.50 (released in September 2016) or later and does nothing with the older versions of the library.
|
91
|
-
#
|
92
|
-
# Availability: only available for the wxGTK port. {Wx::gtk}
|
93
|
-
# @param flags [Integer] The mask for the types of messages to suppress. Refer to the glib documentation for the GLogLevelFlags enum, which defines the various message types.
|
94
|
-
# @return [void]
|
95
|
-
def self.gtk_suppress_diagnostics(flags=-1) end
|
96
|
-
|
97
41
|
# Constructor.
|
98
42
|
# Called implicitly with a definition of a {Wx::App} object.
|
99
43
|
# @return [Wx::App]
|
100
44
|
def initialize; end
|
101
45
|
|
102
|
-
# Get display mode that is used use.
|
103
|
-
# This is only used in framebuffer wxWidgets ports such as {Wx::DFB}.
|
104
|
-
# @return [Wx::VideoMode]
|
105
|
-
def get_display_mode; end
|
106
|
-
alias_method :display_mode, :get_display_mode
|
107
|
-
|
108
46
|
# Returns true if the application will exit when the top-level frame is deleted.
|
109
47
|
#
|
110
48
|
# @see Wx::App#set_exit_on_frame_delete
|
111
|
-
# @return [
|
49
|
+
# @return [Boolean]
|
112
50
|
def get_exit_on_frame_delete; end
|
113
51
|
alias_method :exit_on_frame_delete, :get_exit_on_frame_delete
|
114
52
|
|
115
53
|
# Return the layout direction for the current locale or {Wx::LayoutDirection::Layout_Default} if it's unknown.
|
116
|
-
# @return [LayoutDirection]
|
54
|
+
# @return [Wx::LayoutDirection]
|
117
55
|
def get_layout_direction; end
|
118
56
|
alias_method :layout_direction, :get_layout_direction
|
119
57
|
|
120
58
|
# Returns true if the application will use the best visual on systems that support different visuals, false otherwise.
|
121
59
|
#
|
122
60
|
# @see Wx::App#set_use_best_visual
|
123
|
-
# @return [
|
61
|
+
# @return [Boolean]
|
124
62
|
def get_use_best_visual; end
|
125
63
|
alias_method :use_best_visual, :get_use_best_visual
|
126
64
|
|
@@ -133,7 +71,7 @@ module Wx
|
|
133
71
|
|
134
72
|
# Returns true if the application is active, i.e. if one of its windows is currently in the foreground.
|
135
73
|
# If this function returns false and you need to attract users attention to the application, you may use {Wx::TopLevelWindow#request_user_attention} to do it.
|
136
|
-
# @return [
|
74
|
+
# @return [Boolean]
|
137
75
|
def is_active; end
|
138
76
|
alias_method :active?, :is_active
|
139
77
|
|
@@ -141,29 +79,22 @@ module Wx
|
|
141
79
|
# If win is not NULL, this window will remain enabled, allowing the implementation of some limited user interaction. Returns the result of the call to Wx::AppConsole::Yield.
|
142
80
|
# @see safe_yield
|
143
81
|
# @param win [Wx::Window]
|
144
|
-
# @param onlyIfNeeded [
|
145
|
-
# @return [
|
82
|
+
# @param onlyIfNeeded [Boolean]
|
83
|
+
# @return [Boolean]
|
146
84
|
def safe_yield(win, onlyIfNeeded) end
|
147
85
|
|
148
86
|
# Works like {Wx::App#safe_yield} with onlyIfNeeded == true except that it allows the caller to specify a mask of events to be processed.
|
149
87
|
# See Wx::AppConsole::YieldFor for more info.
|
150
88
|
# @param win [Wx::Window]
|
151
89
|
# @param eventsToProcess [Integer]
|
152
|
-
# @return [
|
90
|
+
# @return [Boolean]
|
153
91
|
def safe_yield_for(win, eventsToProcess) end
|
154
92
|
|
155
|
-
# Set display mode to use.
|
156
|
-
# This is only used in framebuffer wxWidgets ports such as {Wx::DFB}.
|
157
|
-
# @param info [Wx::VideoMode]
|
158
|
-
# @return [true,false]
|
159
|
-
def set_display_mode(info) end
|
160
|
-
alias_method :display_mode=, :set_display_mode
|
161
|
-
|
162
93
|
# Allows the programmer to specify whether the application will exit when the top-level frame is deleted.
|
163
94
|
#
|
164
95
|
# @see Wx::App#get_exit_on_frame_delete
|
165
96
|
# @see Application Shutdown
|
166
|
-
# @param flag [
|
97
|
+
# @param flag [Boolean] If true (the default), the application will exit when the top-level frame is deleted. If false, the application will continue to run.
|
167
98
|
# @return [void]
|
168
99
|
def set_exit_on_frame_delete(flag) end
|
169
100
|
alias_method :exit_on_frame_delete=, :set_exit_on_frame_delete
|
@@ -171,7 +102,7 @@ module Wx
|
|
171
102
|
# Allows runtime switching of the UI environment theme.
|
172
103
|
# Currently implemented for wxGTK2-only. Return true if theme was successfully changed.
|
173
104
|
# @param theme [String] The name of the new theme or an absolute path to a gtkrc-theme-file
|
174
|
-
# @return [
|
105
|
+
# @return [Boolean]
|
175
106
|
def set_native_theme(theme) end
|
176
107
|
alias_method :native_theme=, :set_native_theme
|
177
108
|
|
@@ -192,8 +123,8 @@ module Wx
|
|
192
123
|
# Allows the programmer to specify whether the application will use the best visual on systems that support several visual on the same display.
|
193
124
|
# This is typically the case under Solaris and IRIX, where the default visual is only 8-bit whereas certain applications are supposed to run in TrueColour mode.
|
194
125
|
# Note that this function has to be called in the constructor of the {Wx::App} instance and won't have any effect when called later on. This function currently only has effect under GTK.
|
195
|
-
# @param flag [
|
196
|
-
# @param forceTrueColour [
|
126
|
+
# @param flag [Boolean] If true, the app will use the best visual.
|
127
|
+
# @param forceTrueColour [Boolean] If true then the application will try to force using a TrueColour visual and abort the app if none is found.
|
197
128
|
# @return [void]
|
198
129
|
def set_use_best_visual(flag, forceTrueColour=false) end
|
199
130
|
alias_method :use_best_visual=, :set_use_best_visual
|
@@ -219,7 +150,7 @@ module Wx
|
|
219
150
|
# Returns true if the application is using an event loop.
|
220
151
|
# This function always returns true for the GUI applications which must use an event loop but by default only returns true for the console programs if an event loop is already running as it can't know whether one will be created in the future.
|
221
152
|
# Thus, it only makes sense to override it in console applications which do use an event loop, to return true instead of checking if there is a currently active event loop.
|
222
|
-
# @return [
|
153
|
+
# @return [Boolean]
|
223
154
|
def uses_event_loop; end
|
224
155
|
|
225
156
|
# Process all pending events; it is necessary to call this function to process events posted with {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event}.
|
@@ -236,7 +167,7 @@ module Wx
|
|
236
167
|
|
237
168
|
# Returns true if there are pending events on the internal pending event list.
|
238
169
|
# Whenever {Wx::EvtHandler#queue_event} or {Wx::EvtHandler#add_pending_event} are called (not only for {Wx::App} itself, but for any event handler of the application!), the internal {Wx::App}'s list of handlers with pending events is updated and this function will return true.
|
239
|
-
# @return [
|
170
|
+
# @return [Boolean]
|
240
171
|
def has_pending_events; end
|
241
172
|
alias_method :has_pending_events?, :has_pending_events
|
242
173
|
|
@@ -342,8 +273,8 @@ module Wx
|
|
342
273
|
# Yields control to pending messages in the event loop.
|
343
274
|
# This method is a convenient wrapper for Wx::EvtLoopBase#yield. If the main loop is currently running, it calls this method on it. Otherwise it creates a temporary event loop and uses it instead, which can be useful to process pending messages during the program startup, before the main loop is created.
|
344
275
|
# Use extreme caution when calling this function as, just as Wx::EvtLoopBase#yield, it can result in unexpected reentrances.
|
345
|
-
# @param onlyIfNeeded [
|
346
|
-
# @return [
|
276
|
+
# @param onlyIfNeeded [Boolean]
|
277
|
+
# @return [Boolean]
|
347
278
|
def yield(onlyIfNeeded=false) end
|
348
279
|
|
349
280
|
# Sets the C locale to the default locale for the current environment.
|
@@ -363,7 +294,7 @@ module Wx
|
|
363
294
|
|
364
295
|
# Returns true if the main event loop is currently running, i.e. if the application is inside {Wx::App#on_run}.
|
365
296
|
# This can be useful to test whether events can be dispatched. For example, if this function returns false, non-blocking sockets cannot be used because the events from them would never be processed.
|
366
|
-
# @return [
|
297
|
+
# @return [Boolean]
|
367
298
|
def self.is_main_loop_running; end
|
368
299
|
|
369
300
|
end # App
|