wxruby3 0.9.1-x64-mingw-ucrt → 0.9.2-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/.yardopts +1 -0
- 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/aui/aui_tab_ctrl.rb +18 -0
- data/lib/wx/aui/auinotebook.rb +6 -2
- data/lib/wx/aui/require.rb +1 -0
- data/lib/wx/core/app.rb +2 -2
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/sizer.rb +11 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/window.rb +10 -0
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +47 -43
- data/lib/wx/doc/aui/auimanager.rb +16 -8
- data/lib/wx/doc/aui/auinotebook.rb +20 -5
- data/lib/wx/doc/clipboard.rb +11 -7
- data/lib/wx/doc/colour_dialog.rb +14 -10
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -2
- data/lib/wx/doc/gen/accelerator.rb +14 -5
- data/lib/wx/doc/gen/accessible.rb +35 -47
- data/lib/wx/doc/gen/activity_indicator.rb +4 -5
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +6 -7
- data/lib/wx/doc/gen/any_button.rb +6 -1
- data/lib/wx/doc/gen/app.rb +7 -5
- data/lib/wx/doc/gen/app_traits.rb +27 -10
- data/lib/wx/doc/gen/art_provider.rb +19 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +6 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +11 -7
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +3 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +6 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +14 -8
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +4 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +9 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +3 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +9 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +2 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -8
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +1 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +33 -16
- data/lib/wx/doc/gen/bitmap_button.rb +11 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +12 -8
- data/lib/wx/doc/gen/book_ctrl_base.rb +16 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +7 -3
- data/lib/wx/doc/gen/box_sizer.rb +0 -1
- data/lib/wx/doc/gen/brush.rb +5 -2
- data/lib/wx/doc/gen/busy_info.rb +2 -2
- data/lib/wx/doc/gen/button.rb +23 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +16 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +4 -3
- data/lib/wx/doc/gen/caret.rb +0 -1
- data/lib/wx/doc/gen/check_box.rb +7 -7
- data/lib/wx/doc/gen/check_list_box.rb +5 -6
- data/lib/wx/doc/gen/choice.rb +16 -9
- data/lib/wx/doc/gen/choicebook.rb +6 -7
- data/lib/wx/doc/gen/client_dc.rb +5 -2
- data/lib/wx/doc/gen/clipboard.rb +7 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +6 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +2 -3
- data/lib/wx/doc/gen/colour.rb +8 -4
- data/lib/wx/doc/gen/colour_dialog.rb +6 -8
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +16 -13
- data/lib/wx/doc/gen/combo_ctrl.rb +95 -32
- data/lib/wx/doc/gen/command_link_button.rb +4 -5
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +10 -8
- data/lib/wx/doc/gen/control_with_items.rb +0 -1
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +6 -8
- data/lib/wx/doc/gen/data_format.rb +6 -1
- data/lib/wx/doc/gen/data_object.rb +15 -13
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +12 -8
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +1 -2
- data/lib/wx/doc/gen/dial_up_manager.rb +13 -5
- data/lib/wx/doc/gen/dialog.rb +33 -13
- data/lib/wx/doc/gen/dir_dialog.rb +17 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +9 -10
- data/lib/wx/doc/gen/drag_drop.rb +11 -10
- data/lib/wx/doc/gen/drag_image.rb +6 -2
- data/lib/wx/doc/gen/editable_list_box.rb +2 -2
- data/lib/wx/doc/gen/event.rb +35 -19
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +162 -169
- data/lib/wx/doc/gen/evt_handler.rb +11 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +19 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +3 -4
- data/lib/wx/doc/gen/file_dialog.rb +31 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +7 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +2 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +3 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +8 -9
- data/lib/wx/doc/gen/file_system.rb +38 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +5 -4
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/font.rb +31 -20
- data/lib/wx/doc/gen/font_data.rb +3 -4
- data/lib/wx/doc/gen/font_dialog.rb +1 -2
- data/lib/wx/doc/gen/font_picker_ctrl.rb +6 -7
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +56 -15
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +11 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +0 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -2
- data/lib/wx/doc/gen/gdi_common.rb +30 -11
- data/lib/wx/doc/gen/gdi_object.rb +0 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +6 -7
- data/lib/wx/doc/gen/graphics_context.rb +58 -11
- data/lib/wx/doc/gen/graphics_object.rb +11 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +27 -5
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +3 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +1 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +1 -2
- data/lib/wx/doc/gen/grid/grid_table_message.rb +1 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +0 -6
- data/lib/wx/doc/gen/grid_sizer.rb +0 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +2 -4
- data/lib/wx/doc/gen/header_ctrl.rb +4 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +3 -3
- data/lib/wx/doc/gen/help_provider.rb +12 -3
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +23 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +3 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +7 -2
- data/lib/wx/doc/gen/html/html_help_controller.rb +8 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +3 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +1 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +2 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +5 -7
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +12 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +7 -7
- data/lib/wx/doc/gen/hyperlink_event.rb +2 -3
- data/lib/wx/doc/gen/icon.rb +5 -29
- data/lib/wx/doc/gen/icon_location.rb +0 -1
- data/lib/wx/doc/gen/image.rb +83 -17
- data/lib/wx/doc/gen/image_list.rb +15 -6
- data/lib/wx/doc/gen/info_bar.rb +2 -2
- data/lib/wx/doc/gen/keyboard_state.rb +0 -1
- data/lib/wx/doc/gen/list_box.rb +29 -17
- data/lib/wx/doc/gen/list_ctrl.rb +76 -29
- data/lib/wx/doc/gen/list_event.rb +3 -4
- data/lib/wx/doc/gen/listbook.rb +6 -7
- data/lib/wx/doc/gen/locale.rb +46 -4
- data/lib/wx/doc/gen/log.rb +16 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +8 -2
- data/lib/wx/doc/gen/mdi_frame.rb +28 -7
- data/lib/wx/doc/gen/media_ctrl.rb +26 -18
- data/lib/wx/doc/gen/media_event.rb +5 -4
- data/lib/wx/doc/gen/memory_dc.rb +6 -6
- data/lib/wx/doc/gen/menu.rb +37 -23
- data/lib/wx/doc/gen/menu_bar.rb +52 -12
- data/lib/wx/doc/gen/menu_item.rb +41 -19
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +11 -5
- data/lib/wx/doc/gen/mirror_dc.rb +0 -2
- data/lib/wx/doc/gen/mouse_state.rb +0 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +17 -9
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +0 -1
- data/lib/wx/doc/gen/paint_dc.rb +0 -1
- data/lib/wx/doc/gen/palette.rb +0 -1
- data/lib/wx/doc/gen/panel.rb +17 -8
- data/lib/wx/doc/gen/pen.rb +17 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +2 -0
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +9 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +8 -5
- data/lib/wx/doc/gen/pg/pg_editor.rb +115 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +1 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +515 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +296 -69
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +9 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +81 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +214 -36
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +40 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +26 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +13 -4
- data/lib/wx/doc/gen/picker_base.rb +12 -5
- data/lib/wx/doc/gen/platform_info.rb +4 -9
- data/lib/wx/doc/gen/popup_window.rb +2 -5
- data/lib/wx/doc/gen/progress_dialog.rb +1 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +13 -3
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +2 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +1 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +3 -0
- data/lib/wx/doc/gen/prt/print_data.rb +4 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/printer.rb +50 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +1 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -3
- data/lib/wx/doc/gen/radio_box.rb +9 -10
- data/lib/wx/doc/gen/radio_button.rb +13 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +19 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +3 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +18 -6
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +4 -4
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +1 -2
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +5 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +2 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +2 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -2
- data/lib/wx/doc/gen/rearrange_list.rb +3 -4
- data/lib/wx/doc/gen/region.rb +75 -17
- data/lib/wx/doc/gen/region_iterator.rb +0 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +6 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -2
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +3 -6
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +10 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +3 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +2 -4
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +28 -23
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +7 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +2 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +5 -5
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +2 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +1 -2
- data/lib/wx/doc/gen/sash_event.rb +9 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +11 -4
- data/lib/wx/doc/gen/sash_window.rb +3 -4
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +19 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +32 -10
- data/lib/wx/doc/gen/scrolled_control.rb +32 -10
- data/lib/wx/doc/gen/scrolled_window.rb +32 -10
- data/lib/wx/doc/gen/search_ctrl.rb +8 -9
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +7 -4
- data/lib/wx/doc/gen/sizer.rb +12 -7
- data/lib/wx/doc/gen/sizer_item.rb +5 -2
- data/lib/wx/doc/gen/slider.rb +27 -17
- data/lib/wx/doc/gen/spin_button.rb +15 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +24 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +6 -7
- data/lib/wx/doc/gen/spin_double_event.rb +3 -4
- data/lib/wx/doc/gen/spin_event.rb +3 -3
- data/lib/wx/doc/gen/splash_screen.rb +1 -2
- data/lib/wx/doc/gen/splitter_event.rb +3 -4
- data/lib/wx/doc/gen/splitter_window.rb +76 -18
- data/lib/wx/doc/gen/static_bitmap.rb +10 -5
- data/lib/wx/doc/gen/static_box.rb +9 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +3 -4
- data/lib/wx/doc/gen/static_text.rb +5 -6
- data/lib/wx/doc/gen/status_bar.rb +19 -9
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +39 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +5 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +0 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +7 -8
- data/lib/wx/doc/gen/system_options.rb +6 -6
- data/lib/wx/doc/gen/system_settings.rb +2 -3
- data/lib/wx/doc/gen/task_bar_button.rb +312 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +21 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +4 -3
- data/lib/wx/doc/gen/text_attr.rb +20 -5
- data/lib/wx/doc/gen/text_ctrl.rb +90 -25
- data/lib/wx/doc/gen/text_entry.rb +31 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +2 -2
- data/lib/wx/doc/gen/text_validator.rb +43 -10
- data/lib/wx/doc/gen/time_picker_ctrl.rb +5 -6
- data/lib/wx/doc/gen/timer.rb +6 -2
- data/lib/wx/doc/gen/timer_event.rb +1 -2
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +5 -6
- data/lib/wx/doc/gen/tool_bar.rb +98 -25
- data/lib/wx/doc/gen/tool_tip.rb +35 -5
- data/lib/wx/doc/gen/toolbook.rb +3 -4
- data/lib/wx/doc/gen/top_level_window.rb +69 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +40 -16
- data/lib/wx/doc/gen/tree_event.rb +3 -4
- data/lib/wx/doc/gen/treebook.rb +7 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +6 -2
- data/lib/wx/doc/gen/utils.rb +39 -7
- data/lib/wx/doc/gen/v_list_box.rb +6 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +6 -4
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -0
- data/lib/wx/doc/gen/window.rb +195 -45
- data/lib/wx/doc/gen/window_dc.rb +0 -1
- data/lib/wx/doc/gen/window_disabler.rb +5 -2
- data/lib/wx/doc/gen/with_images.rb +6 -1
- data/lib/wx/doc/gen/wizard.rb +4 -4
- data/lib/wx/doc/gen/wizard_event.rb +3 -4
- 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 +0 -1
- data/lib/wx/doc/gen/xml_node.rb +19 -4
- data/lib/wx/doc/gen/xml_resource.rb +18 -5
- data/lib/wx/doc/graphics_context.rb +1 -0
- data/lib/wx/doc/grid/grid.rb +22 -1
- data/lib/wx/doc/help_controller.rb +11 -7
- data/lib/wx/doc/html/html_help_controller.rb +12 -4
- data/lib/wx/doc/list_ctrl.rb +33 -29
- data/lib/wx/doc/menu.rb +20 -0
- data/lib/wx/doc/notebook.rb +21 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/pg_property.rb +18 -0
- data/lib/wx/doc/progress_dialog.rb +36 -32
- data/lib/wx/doc/prt/page_setup_dialog.rb +20 -12
- data/lib/wx/doc/prt/print_data.rb +13 -5
- data/lib/wx/doc/prt/print_dialog.rb +31 -23
- data/lib/wx/doc/prt/printer.rb +20 -12
- data/lib/wx/doc/radio_box.rb +19 -15
- data/lib/wx/doc/rbn/ribbon_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_button_bar.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_gallery.rb +13 -5
- data/lib/wx/doc/rbn/ribbon_tool_bar.rb +13 -5
- data/lib/wx/doc/region_iterator.rb +32 -28
- data/lib/wx/doc/rtc/rich_text_composite_object.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_ctrl.rb +24 -0
- data/lib/wx/doc/rtc/rich_text_paragraph.rb +24 -0
- data/lib/wx/doc/rtc/richtext_buffer.rb +27 -19
- data/lib/wx/doc/rtc/richtext_printing.rb +17 -9
- data/lib/wx/doc/rtc/richtext_style_sheet.rb +17 -9
- data/lib/wx/doc/sizer.rb +20 -0
- data/lib/wx/doc/stc/styled_text_ctrl.rb +24 -0
- data/lib/wx/doc/stream.rb +39 -35
- data/lib/wx/doc/system_settings.rb +30 -26
- data/lib/wx/doc/text_validator.rb +12 -8
- data/lib/wx/doc/textctrl.rb +16 -0
- data/lib/wx/doc/tree_ctrl.rb +95 -0
- data/lib/wx/doc/treebook.rb +9 -5
- data/lib/wx/doc/v_list_box.rb +9 -5
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +57 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rtc/require.rb +3 -0
- data/lib/wx/rtc/rich_text_composite_object.rb +25 -0
- data/lib/wx/rtc/rich_text_ctrl.rb +25 -0
- data/lib/wx/rtc/rich_text_paragraph.rb +25 -0
- data/lib/wx/stc/require.rb +1 -0
- data/lib/wx/stc/styled_text_ctrl.rb +25 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/lib/config/linux.rb +0 -3
- data/rakelib/lib/config/macosx.rb +2 -2
- data/rakelib/lib/config/mingw.rb +1 -1
- data/rakelib/lib/config/unixish.rb +1 -1
- data/rakelib/lib/config.rb +14 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +74 -2
- data/rakelib/yard/templates/default/fulldoc/html/full_list.erb +38 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +39 -0
- data/rakelib/yard/templates/default/tags/html/wxrb_require.erb +10 -0
- data/rakelib/yard/templates/default/tags/setup.rb +16 -0
- data/rakelib/yard/yard-custom-templates.rb +3 -0
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_list_ctrl.rb +1 -1
- data/tests/test_media_ctrl.rb +38 -0
- data/tests/test_menu.rb +69 -0
- data/tests/test_pg.rb +27 -0
- data/tests/test_richtext.rb +45 -0
- data/tests/test_sizer.rb +16 -0
- data/tests/test_std_controls.rb +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +28 -3
@@ -5,31 +5,35 @@
|
|
5
5
|
# :startdoc:
|
6
6
|
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
8
|
+
module Wx
|
9
|
+
|
10
|
+
class SystemSettings
|
11
|
+
|
12
|
+
# Return the name of the current system appearance if available or empty string otherwise.
|
13
|
+
#
|
14
|
+
# This is currently only implemented for macOS and returns a not necessarily user-readable
|
15
|
+
# string such as "NSAppearanceNameAqua" there and an empty string under all the other platforms.
|
16
|
+
# @return [String]
|
17
|
+
def get_appearance_name; end
|
18
|
+
alias :appearance_name :get_appearance_name
|
19
|
+
|
20
|
+
# Return true if the current system there is explicitly recognized as being a dark theme or if
|
21
|
+
# the default window background is dark.
|
22
|
+
#
|
23
|
+
# This method should be used to check whether custom colours more appropriate for the default (light)
|
24
|
+
# or dark appearance should be used.
|
25
|
+
# return [true,false]
|
26
|
+
def is_appearance_dark; end
|
27
|
+
alias :appearance_dark? :is_appearance_dark
|
28
|
+
|
29
|
+
# Return true if the default window background is significantly darker than foreground.
|
30
|
+
#
|
31
|
+
# This is used by #is_appearance_dark if there is no platform-specific way to determine whether a dark
|
32
|
+
# mode is being used and is generally not very useful to call directly.
|
33
|
+
# return [true,false]
|
34
|
+
def is_appearance_using_dark_background; end
|
35
|
+
alias :appearance_using_dark_background? :is_appearance_using_dark_background
|
36
|
+
|
37
|
+
end
|
34
38
|
|
35
39
|
end
|
@@ -5,14 +5,18 @@
|
|
5
5
|
# :startdoc:
|
6
6
|
|
7
7
|
|
8
|
-
|
8
|
+
module Wx
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
class TextValidator
|
11
|
+
|
12
|
+
# @overload initialize(validator)
|
13
|
+
# Copy constructor.
|
14
|
+
# @param [Wx::TextValidator] validator validator to copy
|
15
|
+
# @overload initialize(style=Wx::FILTER_NONE)
|
16
|
+
# Constructor taking a style.
|
17
|
+
# @param [Integer] style One or more of the {Wx::TextValidatorStyle} styles. See #set_style.
|
18
|
+
def initialize(*args) end
|
19
|
+
|
20
|
+
end
|
17
21
|
|
18
22
|
end
|
data/lib/wx/doc/textctrl.rb
CHANGED
@@ -23,6 +23,7 @@ module Wx
|
|
23
23
|
# ````
|
24
24
|
#
|
25
25
|
# This class is only available if `Wx.has_feature?(:USE_SPELLCHECK)` returns true.
|
26
|
+
# @wxrb_require USE_SPELLCHECK
|
26
27
|
class TextProofOptions
|
27
28
|
def initialize(schk=false, gchk=false, lang='')end
|
28
29
|
|
@@ -59,6 +60,18 @@ module Wx
|
|
59
60
|
|
60
61
|
class TextCtrl
|
61
62
|
|
63
|
+
# Appends the string representation of `obj` to the text value of the control.
|
64
|
+
# Calls #to_s to get the string representation of `obj`.
|
65
|
+
# @param [Object] obj
|
66
|
+
# @return [self]
|
67
|
+
def <<(obj) end
|
68
|
+
|
69
|
+
# Yield each line to the given block.
|
70
|
+
# Returns an Enumerator if no block given.
|
71
|
+
# @yieldparam [String] line the line yielded
|
72
|
+
# @return [Object,Enumerator] last result of block or Enumerator if no block given.
|
73
|
+
def each_line; end
|
74
|
+
|
62
75
|
# @overload enable_proof_check(text_proof_options = Wx::TextProofOptions.default)
|
63
76
|
# Enable or disable native spell checking on this text control if it is available on the current platform.
|
64
77
|
# Currently this is supported in WXMSW (when running under Windows 8 or later), WXGTK when using GTK 3 and wxOSX.
|
@@ -67,6 +80,7 @@ module Wx
|
|
67
80
|
# When using WXGTK, this method only works if gspell library was available during the wxWidgets library build.
|
68
81
|
# @param [Wx::TextProofOptions] text_proof_options A Wx::TextProofOptions object specifying the desired behaviour of the proof checker (e.g. language to use, spell check, grammar check, etc.) and whether the proof checks should be enabled at all. By default, spelling checks for the current language are enabled. Passing Wx::TextProofOptions.disable disables all the checks.
|
69
82
|
# @return [Boolean] true if proof checking has been successfully enabled or disabled, false otherwise (usually because the corresponding functionality is not available under the current platform or for this type of text control).
|
83
|
+
# @wxrb_require USE_SPELLCHECK
|
70
84
|
# @overload enable_proof_check(spell_checking, grammar_checking, language)
|
71
85
|
# Enable or disable native spell checking on this text control if it is available on the current platform.
|
72
86
|
# Currently this is supported in WXMSW (when running under Windows 8 or later), WXGTK when using GTK 3 and wxOSX.
|
@@ -77,11 +91,13 @@ module Wx
|
|
77
91
|
# @param [Boolean] grammar_checking
|
78
92
|
# @param [String] language
|
79
93
|
# @return [Boolean] true if proof checking has been successfully enabled or disabled, false otherwise (usually because the corresponding functionality is not available under the current platform or for this type of text control).
|
94
|
+
# @wxrb_require USE_SPELLCHECK
|
80
95
|
def enable_proof_check(*opts) end
|
81
96
|
|
82
97
|
# Returns the current text proofing options.
|
83
98
|
# Only available if `Wx.has_feature?(:USE_SPELLCHECK)` returns true.
|
84
99
|
# @return [Wx::TextProofOptions]
|
100
|
+
# @wxrb_require USE_SPELLCHECK
|
85
101
|
def get_proof_check_options; end
|
86
102
|
|
87
103
|
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# :stopdoc:
|
2
|
+
# Copyright (c) 2023 M.J.N. Corino, The Netherlands
|
3
|
+
#
|
4
|
+
# This software is released under the MIT license.
|
5
|
+
# :startdoc:
|
6
|
+
|
7
|
+
|
8
|
+
module Wx
|
9
|
+
|
10
|
+
class TreeCtrl
|
11
|
+
|
12
|
+
# Yield each tree item id (recursively) to the given block.
|
13
|
+
# Starts at tree item specified or at root if none specified.
|
14
|
+
# Returns an Enumerator if no block given.
|
15
|
+
# @param [Wx::TreeItemId,nil] start_id
|
16
|
+
# @yieldparam [Wx::TreeItemId] child_id the child tree item id yielded
|
17
|
+
# @return [Object,Enumerator] last result of block or Enumerator if no block given.
|
18
|
+
def traverse(start_id=nil) end
|
19
|
+
alias :each :traverse
|
20
|
+
|
21
|
+
# Returns the first child; call #get_next_child() for the next child.
|
22
|
+
# For this enumeration method a 'cookie' is returned which is opaque for the application but is necessary
|
23
|
+
# for the library to make these methods reentrant (i.e. allow more than one enumeration on one and the
|
24
|
+
# same object simultaneously). The cookie returned from (and passed to) #get_first_child() and #get_next_child()
|
25
|
+
# should be the same variable.
|
26
|
+
#
|
27
|
+
# Returns an invalid tree item (i.e. Wx::TreeItemId#ok? returns false) if there are no further children.
|
28
|
+
# @param [Wx::TreeItemId] parent_id the id of the parent tree item for which to iterate children
|
29
|
+
# @return [Array(Wx::TreeItemId, Object)] first child item id (if any) and cookie value
|
30
|
+
def get_first_child(parent_id) end
|
31
|
+
|
32
|
+
# Returns the next child; call #get_first_child() for the first child.
|
33
|
+
# For this enumeration function you must pass in a 'cookie' parameter which is opaque for the application
|
34
|
+
# but is necessary for the library to make these functions reentrant (i.e. allow more than one enumeration
|
35
|
+
# on one and the same object simultaneously). The cookie returned from (and passed to) #get_first_child()
|
36
|
+
# and #get_next_child() should be the same variable.
|
37
|
+
#
|
38
|
+
# Returns an invalid tree item if there are no further children.
|
39
|
+
# @param [Wx::TreeItemId] parent_id the id of the parent tree item for which to iterate children
|
40
|
+
# @param [Object] cookie cookie value as returned from previous #get_first_cild or #get_next_child call.
|
41
|
+
# @return [Array(Wx::TreeItemId, Object)] first child item id (if any) and cookie value
|
42
|
+
def get_next_child(parent_id, cookie) end
|
43
|
+
|
44
|
+
# Iterate all child items of the given parent and yield it's id to the given block.
|
45
|
+
# Returns an Enumerator if no block given.
|
46
|
+
# @param [Wx::TreeItemId] parent_id
|
47
|
+
# @yieldparam [Wx::TreeItemId] child_id the child tree item id yielded
|
48
|
+
# @return [Object,Enumerator] last result of block or Enumerator if no block given.
|
49
|
+
def each_item_child(parent_id) end
|
50
|
+
|
51
|
+
# Returns an array of tree item ids of the child items of the given parent.
|
52
|
+
# @param [Wx::TreeItemId] parent_id
|
53
|
+
# @return [Array<Wx::TreeItemId>]
|
54
|
+
def get_item_children(parent_id) end
|
55
|
+
alias :item_children :get_item_children
|
56
|
+
|
57
|
+
# Returns an array of tree item ids of the current child items of the root.
|
58
|
+
# Mainly useful for tree control using TR_HIDE_ROOT style where there are
|
59
|
+
# multiple root-like items.
|
60
|
+
# @return [Array<Wx::TreeItemId>]
|
61
|
+
def get_root_items; end
|
62
|
+
|
63
|
+
# Returns an array of tree item ids of the currently selected items.
|
64
|
+
# This function can be called only if the control has the wxTR_MULTIPLE style.
|
65
|
+
# @return [Array<Wx::TreeItemId>]
|
66
|
+
def get_selections; end
|
67
|
+
|
68
|
+
# Inserts an item before one identified by its position (pos).
|
69
|
+
# pos must be less than or equal to the number of children.
|
70
|
+
# The image and selImage parameters are an index within the normal image list specifying
|
71
|
+
# the image to use for unselected and selected items, respectively. If image > -1 and
|
72
|
+
# selImage is -1, the same image is used for both selected and unselected items.
|
73
|
+
# @param [Wx::TreeItemId] parent parent tree item id to insert child item for
|
74
|
+
# @param [Integer] pos child item's position to insert before
|
75
|
+
# @param [Integer] image image index for unselected item
|
76
|
+
# @param [Integer] selImage image index for selected item
|
77
|
+
# @param data [Object]
|
78
|
+
# @return [Wx::TreeItemId] id of inserted tree item
|
79
|
+
def insert_item_before(parent, pos, text, image=-1, selImage=-1, data=nil) end
|
80
|
+
|
81
|
+
# Starts editing the label of the given item.
|
82
|
+
# This function generates a EVT_TREE_BEGIN_LABEL_EDIT event which can be vetoed to prevent the editing from starting.
|
83
|
+
# If it does start, a text control, which can be retrieved using GetEditControl(), allowing the user to edit the
|
84
|
+
# label interactively is shown.
|
85
|
+
# When the editing ends, EVT_TREE_END_LABEL_EDIT event is sent and this event can be vetoed as well to prevent the
|
86
|
+
# label from changing. Note that this event is sent both when the user accepts (e.g. by pressing Enter) or cancels
|
87
|
+
# (e.g. by pressing Escape) and its handler can use wxTreeEvent::IsEditCancelled() to distinguish between these
|
88
|
+
# situations.
|
89
|
+
# @param [Wx::TreeItemId] item_id
|
90
|
+
# @return [void]
|
91
|
+
def edit_label(item_id) end
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
data/lib/wx/doc/treebook.rb
CHANGED
@@ -5,11 +5,15 @@
|
|
5
5
|
# :startdoc:
|
6
6
|
|
7
7
|
|
8
|
-
|
8
|
+
module Wx
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
class Treebook
|
11
|
+
|
12
|
+
# Returns the Wx::TreeCtrl used for this Treebook
|
13
|
+
# @return [Wx::TreeCtrl] the tree control
|
14
|
+
def get_tree_ctrl; end
|
15
|
+
alias :tree_ctrl :get_tree_ctrl
|
16
|
+
|
17
|
+
end
|
14
18
|
|
15
19
|
end
|
data/lib/wx/doc/v_list_box.rb
CHANGED
@@ -5,11 +5,15 @@
|
|
5
5
|
# :startdoc:
|
6
6
|
|
7
7
|
|
8
|
-
|
8
|
+
module Wx
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
class VListBox
|
11
|
+
|
12
|
+
# Iterate selected items. Returns Enumerator if no block given.
|
13
|
+
# @yieldparam [Integer] sel selected item index
|
14
|
+
# @return [Enumerator,Object] if block given returns last return value of block, Enumerator otherwise
|
15
|
+
def each_selected; end
|
16
|
+
|
17
|
+
end
|
14
18
|
|
15
19
|
end
|
data/lib/wx/doc/variant.rb
CHANGED
@@ -5,165 +5,169 @@
|
|
5
5
|
# :startdoc:
|
6
6
|
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
8
|
+
module Wx
|
9
|
+
|
10
|
+
class Variant
|
11
|
+
|
12
|
+
include ::Enumerable
|
13
|
+
|
14
|
+
# When a block is given iterates all items of a variant list passing
|
15
|
+
# each item to the block.
|
16
|
+
# Returns an enumerator when no block is given.
|
17
|
+
# @overload each(&block)
|
18
|
+
# @yieldparam item [Wx::Variant] variant list item
|
19
|
+
# @return [Object] result of last block execution
|
20
|
+
# @overload each
|
21
|
+
# @return [Enumerator] an enumerator
|
22
|
+
def each; end
|
23
|
+
|
24
|
+
# Replaces the value of the current variant with the given value
|
25
|
+
# @overload assign(value)
|
26
|
+
# Equality test operator.
|
27
|
+
# @param value [Wx::Variant]
|
28
|
+
# @return [self]
|
29
|
+
# @overload assign(value)
|
30
|
+
# Equality test operator.
|
31
|
+
# @param value [String]
|
32
|
+
# @return [self]
|
33
|
+
# @overload assign(value)
|
34
|
+
# Equality test operator.
|
35
|
+
# @param value [Integer]
|
36
|
+
# @return [self]
|
37
|
+
# @overload assign(value)
|
38
|
+
# Equality test operator.
|
39
|
+
# @param value [true,false]
|
40
|
+
# @return [self]
|
41
|
+
# @overload assign(value)
|
42
|
+
# Equality test operator.
|
43
|
+
# @param value [Float]
|
44
|
+
# @return [self]
|
45
|
+
# @overload assign(value)
|
46
|
+
# Equality test operator.
|
47
|
+
# @param value [Integer]
|
48
|
+
# @return [self]
|
49
|
+
# @overload assign(value)
|
50
|
+
# Equality test operator.
|
51
|
+
# @param value [Integer]
|
52
|
+
# @return [self]
|
53
|
+
# @overload assign(value)
|
54
|
+
# Equality test operator.
|
55
|
+
# @param value [Object]
|
56
|
+
# @return [self]
|
57
|
+
# @overload assign(value)
|
58
|
+
# Equality test operator.
|
59
|
+
# @param value [Wx::Object]
|
60
|
+
# @return [self]
|
61
|
+
# @overload assign(value)
|
62
|
+
# Equality test operator.
|
63
|
+
# @param value [Array<Wx::Variant>]
|
64
|
+
# @return [self]
|
65
|
+
# @overload assign(value)
|
66
|
+
# Equality test operator.
|
67
|
+
# @param value [Array<String>]
|
68
|
+
# @return [self]
|
69
|
+
# @overload assign(value)
|
70
|
+
# Equality test operator.
|
71
|
+
# @param value [Time,Date,DateTime]
|
72
|
+
# @return [self]
|
73
|
+
def assign(*args) end
|
74
|
+
alias :<< :assign
|
75
|
+
|
76
|
+
# Convert contained object to integer value if possible.
|
77
|
+
# Raises TypeError exception if incompatible.
|
78
|
+
# @return [Integer] integer value
|
79
|
+
def to_i; end
|
80
|
+
|
81
|
+
# Convert contained object to floating point value if possible.
|
82
|
+
# Raises TypeError exception if incompatible.
|
83
|
+
# @return [Float] floating point value
|
84
|
+
def to_f; end
|
85
|
+
|
86
|
+
# Convert contained object to string value if possible.
|
87
|
+
# Raises TypeError exception if incompatible.
|
88
|
+
# @return [String] string value
|
89
|
+
def to_s; end
|
90
|
+
|
91
|
+
# Checks if Variant contains a String value (not null).
|
92
|
+
# @return [true,false]
|
93
|
+
def string?; end
|
94
|
+
|
95
|
+
# Checks if Variant contains a boolean value (not null).
|
96
|
+
# @return [true,false]
|
97
|
+
def bool?; end
|
98
|
+
|
99
|
+
# Checks if Variant contains a long value (not null).
|
100
|
+
# @return [true,false]
|
101
|
+
def long?; end
|
102
|
+
|
103
|
+
# Checks if Variant contains a long long value (not null).
|
104
|
+
# @return [true,false]
|
105
|
+
def long_long?; end
|
106
|
+
|
107
|
+
# Checks if Variant contains an unsigned long long value (not null).
|
108
|
+
# @return [true,false]
|
109
|
+
def u_long_long?; end
|
110
|
+
|
111
|
+
# Checks if Variant contains an integer value (long|long long|unsigned long long).
|
112
|
+
# @return [true,false]
|
113
|
+
def integer?; end
|
114
|
+
|
115
|
+
# Checks if Variant contains a (wx)DateTime value (not null).
|
116
|
+
# (Note that the DateTime values in question concern wxDateTime
|
117
|
+
# and not the Ruby DateTime class; in fact wxDateTime is normally
|
118
|
+
# returned as a Ruby Time value)
|
119
|
+
# @return [true,false]
|
120
|
+
def date_time?; end
|
121
|
+
|
122
|
+
# Checks if Variant contains a double value (not null).
|
123
|
+
# @return [true,false]
|
124
|
+
def double?; end
|
125
|
+
|
126
|
+
# Checks if Variant contains an integer value (integer | double).
|
127
|
+
# @return [true,false]
|
128
|
+
def numeric?; end
|
129
|
+
|
130
|
+
# Checks if Variant contains a VariantList (array of Variant) value (not null).
|
131
|
+
# @return [true,false]
|
132
|
+
def list?; end
|
133
|
+
|
134
|
+
# Checks if Variant contains an ArrayString (array of String) value (not null).
|
135
|
+
# @return [true,false]
|
136
|
+
def array_string?; end
|
137
|
+
|
138
|
+
# Checks if Variant contains a Font value (not null).
|
139
|
+
# @return [true,false]
|
140
|
+
def font?; end
|
141
|
+
|
142
|
+
# Returns font value.
|
143
|
+
# @return [Wx::Font]
|
144
|
+
def get_font; end
|
145
|
+
alias :font :get_font
|
146
|
+
|
147
|
+
# Checks if Variant contains a Colour value (not null).
|
148
|
+
# @return [true,false]
|
149
|
+
def colour?; end
|
150
|
+
|
151
|
+
# Returns colour value.
|
152
|
+
# @return [Wx::Colour]
|
153
|
+
def get_colour; end
|
154
|
+
alias :colour :get_colour
|
155
|
+
|
156
|
+
# Checks if Variant contains a ColourPropertyValue value (not null).
|
157
|
+
# @return [true,false]
|
158
|
+
def colour_property_value?; end
|
159
|
+
|
160
|
+
# Returns colour property value.
|
161
|
+
# @return [Wx::PG::ColourPropertyValue]
|
162
|
+
def get_colour_property_value; end
|
163
|
+
alias :colour_property_value :get_colour_property_value
|
164
|
+
|
165
|
+
# Checks if Variant contains an unspecified Ruby object (not null or
|
166
|
+
# nil and not one of the other value types).
|
167
|
+
# @param [Class] klass the (base) class of the Ruby object to check
|
168
|
+
# @return [true,false]
|
169
|
+
def object?(klass=Object) end
|
170
|
+
|
171
|
+
end
|
168
172
|
|
169
173
|
end
|