wxruby3 0.9.0-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/const.rb +83 -0
- data/lib/wx/core/controlwithitems.rb +8 -6
- data/lib/wx/core/events/evt_list.rb +24 -0
- 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/const.rb +66 -66
- data/lib/wx/doc/controlwithitems.rb +17 -7
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/event.rb +0 -6
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/functions.rb +9 -9
- 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 +6 -7
- data/lib/wx/doc/gen/animation.rb +7 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +8 -9
- 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 +20 -8
- 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 +3 -2
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +1 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -3
- 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 +3 -3
- data/lib/wx/doc/gen/bitmap.rb +34 -17
- data/lib/wx/doc/gen/bitmap_button.rb +13 -10
- data/lib/wx/doc/gen/bitmap_combo_box.rb +16 -12
- 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 +25 -13
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +18 -15
- 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 +9 -9
- data/lib/wx/doc/gen/check_list_box.rb +8 -9
- data/lib/wx/doc/gen/choice.rb +18 -11
- 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 +8 -9
- 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 +11 -12
- data/lib/wx/doc/gen/colour_picker_event.rb +4 -5
- data/lib/wx/doc/gen/combo_box.rb +20 -17
- data/lib/wx/doc/gen/combo_ctrl.rb +100 -37
- data/lib/wx/doc/gen/command_link_button.rb +6 -7
- data/lib/wx/doc/gen/context_help_button.rb +7 -3
- data/lib/wx/doc/gen/control.rb +12 -10
- 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 +16 -14
- data/lib/wx/doc/gen/date_event.rb +2 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/dc.rb +155 -37
- data/lib/wx/doc/gen/defs.rb +54 -54
- data/lib/wx/doc/gen/dial_up_event.rb +41 -0
- data/lib/wx/doc/gen/dial_up_manager.rb +137 -0
- data/lib/wx/doc/gen/dialog.rb +35 -15
- 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 +11 -12
- 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 +4 -4
- data/lib/wx/doc/gen/event.rb +42 -20
- data/lib/wx/doc/gen/event_blocker.rb +1 -3
- data/lib/wx/doc/gen/event_list.rb +1656 -1624
- data/lib/wx/doc/gen/events.rb +170 -181
- 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 +209 -0
- data/lib/wx/doc/gen/file_ctrl_event.rb +79 -0
- data/lib/wx/doc/gen/file_dialog.rb +32 -15
- 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 +10 -11
- 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 +8 -9
- data/lib/wx/doc/gen/font_picker_event.rb +2 -3
- data/lib/wx/doc/gen/frame.rb +60 -19
- data/lib/wx/doc/gen/fs_file.rb +17 -10
- data/lib/wx/doc/gen/gauge.rb +13 -10
- 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 +8 -9
- data/lib/wx/doc/gen/graphics_context.rb +59 -12
- 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 +2 -2
- 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 +29 -7
- 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 +7 -14
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -3
- data/lib/wx/doc/gen/help_controller.rb +42 -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 +8 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +47 -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 +10 -12
- data/lib/wx/doc/gen/html/html_printout.rb +1 -2
- data/lib/wx/doc/gen/html/html_window.rb +13 -7
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -9
- 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 +33 -21
- data/lib/wx/doc/gen/list_ctrl.rb +79 -32
- 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 +32 -11
- data/lib/wx/doc/gen/media_ctrl.rb +28 -20
- 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 +117 -95
- data/lib/wx/doc/gen/message_dialog.rb +7 -8
- data/lib/wx/doc/gen/mini_frame.rb +13 -7
- 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 +19 -11
- 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 +19 -10
- 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 +83 -22
- data/lib/wx/doc/gen/pg/property_grid_event.rb +31 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +212 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +42 -12
- 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 +15 -5
- 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 +2 -2
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -1
- 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 +13 -14
- data/lib/wx/doc/gen/radio_button.rb +15 -11
- 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 +2 -2
- 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 +3 -4
- data/lib/wx/doc/gen/rearrange_list.rb +5 -6
- 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 +12 -9
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +3 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +3 -5
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +4 -5
- 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 +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -14
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +3 -3
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +3 -4
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +3 -4
- data/lib/wx/doc/gen/sash_event.rb +12 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +13 -6
- data/lib/wx/doc/gen/sash_window.rb +4 -5
- data/lib/wx/doc/gen/screen_dc.rb +0 -1
- data/lib/wx/doc/gen/scroll_bar.rb +21 -12
- data/lib/wx/doc/gen/scrolled_canvas.rb +34 -12
- data/lib/wx/doc/gen/scrolled_control.rb +34 -12
- data/lib/wx/doc/gen/scrolled_window.rb +34 -12
- data/lib/wx/doc/gen/search_ctrl.rb +10 -11
- 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 +29 -19
- data/lib/wx/doc/gen/spin_button.rb +16 -11
- 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 +78 -20
- data/lib/wx/doc/gen/static_bitmap.rb +12 -7
- data/lib/wx/doc/gen/static_box.rb +13 -11
- data/lib/wx/doc/gen/static_box_sizer.rb +0 -2
- data/lib/wx/doc/gen/static_line.rb +5 -6
- data/lib/wx/doc/gen/static_text.rb +7 -8
- data/lib/wx/doc/gen/status_bar.rb +21 -11
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +41 -15
- 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 +92 -27
- 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 +7 -8
- 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 +7 -8
- data/lib/wx/doc/gen/tool_bar.rb +99 -26
- 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 +71 -25
- data/lib/wx/doc/gen/tree_ctrl.rb +42 -18
- 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 +8 -4
- data/lib/wx/doc/gen/v_scrolled_window.rb +8 -6
- 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 +200 -50
- 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 -42
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/keyword_defs.rb +43 -6
- 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 +1 -1
- 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/text/richtext.rb +0 -30
- data/samples/treectrl/treectrl.rb +1 -1
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_app_exit_exception.rb +36 -0
- data/tests/test_app_init_exception.rb +20 -0
- data/tests/test_book_controls.rb +29 -0
- data/tests/test_exceptions.rb +41 -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 +59 -0
- data/tests/test_std_controls.rb +78 -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 +38 -3
@@ -7,21 +7,28 @@
|
|
7
7
|
module Wx::PG
|
8
8
|
|
9
9
|
# Most of the shared property manipulation interface shared by {Wx::PG::PropertyGrid}, {Wx::PG::PropertyGridPage}, and {Wx::PG::PropertyGridManager} is defined in this class.
|
10
|
+
# <div class="wxrb-remark">
|
11
|
+
# <b>Remark:</b>
|
12
|
+
# <p>
|
13
|
+
#
|
10
14
|
# - In separate {Wx::PG::PropertyGrid} component this class was known as {Wx::PropertyContainerMethods}.
|
11
15
|
# - {Wx::PG::PropertyGridInterface}'s property operation member functions all accept a special {Wx::PGPropArg} id argument, using which you can refer to properties either by their pointer (for performance) or by their name (for conveniency).
|
12
16
|
#
|
13
|
-
#
|
17
|
+
# </p>
|
18
|
+
# </div>>
|
14
19
|
#
|
15
20
|
# Category: {Wx::PG::PropertyGrid}
|
16
21
|
#
|
17
22
|
#
|
18
23
|
# @note In wxRuby this is a mixin module instead of a (base) class.
|
24
|
+
# @wxrb_require USE_PROPGRID
|
19
25
|
module PropertyGridInterface
|
20
26
|
|
21
27
|
#
|
22
28
|
#
|
23
29
|
# Flags for {Wx::PG::PropertyGridInterface#save_editable_state} and {Wx::PG::PropertyGridInterface#restore_editable_state}.
|
24
30
|
#
|
31
|
+
# @wxrb_require USE_PROPGRID
|
25
32
|
class EditableStateFlags < Wx::Enum
|
26
33
|
|
27
34
|
# Include selected property.
|
@@ -57,10 +64,17 @@ module Wx::PG
|
|
57
64
|
# Appends property to the list.
|
58
65
|
# {Wx::PG::PropertyGrid} assumes ownership of the object. Becomes child of most recently added category.
|
59
66
|
#
|
67
|
+
# <div class="wxrb-remark">
|
68
|
+
# <b>Remark:</b>
|
69
|
+
# <p>
|
70
|
+
#
|
60
71
|
# - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
|
61
72
|
# - If appending a category with name identical to a category already in the {Wx::PG::PropertyGrid}, then newly created category is deleted, and most recently added category (under which properties are appended) is set to the one with same name. This allows easier adding of items to same categories in multiple passes.
|
62
73
|
# - Does not automatically redraw the control, so you may need to call Refresh() when calling this function after control has been shown for the first time.
|
63
|
-
# - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
74
|
+
# - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
75
|
+
#
|
76
|
+
# </p>
|
77
|
+
# </div>>
|
64
78
|
# @param property [Wx::PG::PGProperty]
|
65
79
|
# @return [Wx::PG::PGProperty]
|
66
80
|
def append(property) end
|
@@ -79,14 +93,22 @@ module Wx::PG
|
|
79
93
|
def begin_add_children(id) end
|
80
94
|
|
81
95
|
# Deletes all properties.
|
82
|
-
#
|
96
|
+
# <div class="wxrb-remark">
|
97
|
+
# <b>Remark:</b>
|
98
|
+
# <p>This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
99
|
+
# </p>
|
100
|
+
# </div>>
|
83
101
|
# @return [void]
|
84
102
|
def clear; end
|
85
103
|
|
86
104
|
# Clears current selection, if any.
|
87
105
|
# Returns true if successful or if there was no selection. May fail if validation was enabled and active editor had invalid value.
|
88
106
|
#
|
89
|
-
#
|
107
|
+
# <div class="wxrb-remark">
|
108
|
+
# <b>Remark:</b>
|
109
|
+
# <p>In wxWidgets 2.9 and later, this function no longer sends {Wx::PG_EVT_SELECTED}.
|
110
|
+
# </p>
|
111
|
+
# </div>>
|
90
112
|
# @see Wx::PG::PropertyGrid#select_property
|
91
113
|
# @param validation [Boolean] If set to false, deselecting the property will always work, even if its editor had invalid value in it.
|
92
114
|
# @return [Boolean]
|
@@ -99,7 +121,11 @@ module Wx::PG
|
|
99
121
|
# Collapses given category or property with children.
|
100
122
|
# Returns true if actually collapsed.
|
101
123
|
#
|
102
|
-
#
|
124
|
+
# <div class="wxrb-remark">
|
125
|
+
# <b>Remark:</b>
|
126
|
+
# <p>This function may deselect selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
127
|
+
# </p>
|
128
|
+
# </div>>
|
103
129
|
# @param id [String,Wx::PG::PGProperty]
|
104
130
|
# @return [Boolean]
|
105
131
|
def collapse(id) end
|
@@ -107,13 +133,22 @@ module Wx::PG
|
|
107
133
|
# Collapses all items that can be collapsed.
|
108
134
|
# Return false if failed (may fail if editor value cannot be validated).
|
109
135
|
#
|
110
|
-
#
|
136
|
+
# <div class="wxrb-remark">
|
137
|
+
# <b>Remark:</b>
|
138
|
+
# <p>This functions clears selection. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
139
|
+
# </p>
|
140
|
+
# </div>>
|
111
141
|
# @return [Boolean]
|
112
142
|
def collapse_all; end
|
113
143
|
|
114
144
|
# Changes value of a property, as if by user.
|
115
145
|
# Use this instead of {Wx::PG::PropertyGridInterface#set_property_value} if you need the value to run through validation process, and also send {Wx::PG::EVT_PG_CHANGED}.
|
116
|
-
#
|
146
|
+
#
|
147
|
+
# <div class="wxrb-remark">
|
148
|
+
# <b>Remark:</b>
|
149
|
+
# <p>Since this function sends {Wx::PG::EVT_PG_CHANGED}, it should not be called from EVT_PG_CHANGED handler.
|
150
|
+
# </p>
|
151
|
+
# </div>>
|
117
152
|
#
|
118
153
|
# Returns true if value was successfully changed.
|
119
154
|
# @param id [String,Wx::PG::PGProperty]
|
@@ -122,7 +157,11 @@ module Wx::PG
|
|
122
157
|
def change_property_value(id, newValue) end
|
123
158
|
|
124
159
|
# Removes and deletes a property and any children.
|
125
|
-
#
|
160
|
+
# <div class="wxrb-remark">
|
161
|
+
# <b>Remark:</b>
|
162
|
+
# <p>If you delete a property in a {Wx::PG::PropertyGrid} event handler, the actual deletion is postponed until the next idle event.
|
163
|
+
# </p>
|
164
|
+
# </div>>
|
126
165
|
#
|
127
166
|
# This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
128
167
|
# @param id [String,Wx::PG::PGProperty] Pointer or name of a property.
|
@@ -130,7 +169,11 @@ module Wx::PG
|
|
130
169
|
def delete_property(id) end
|
131
170
|
|
132
171
|
# Disables a property.
|
133
|
-
#
|
172
|
+
# <div class="wxrb-remark">
|
173
|
+
# <b>Remark:</b>
|
174
|
+
# <p>Property is refreshed with new settings.
|
175
|
+
# </p>
|
176
|
+
# </div>>
|
134
177
|
# @see Wx::PG::PropertyGridInterface#enable_property
|
135
178
|
# @see Wx::PG::PGProperty#enable
|
136
179
|
# @param id [String,Wx::PG::PGProperty]
|
@@ -145,7 +188,11 @@ module Wx::PG
|
|
145
188
|
# Enables or disables property.
|
146
189
|
# Disabled property usually appears as having grey text.
|
147
190
|
#
|
148
|
-
#
|
191
|
+
# <div class="wxrb-remark">
|
192
|
+
# <b>Remark:</b>
|
193
|
+
# <p>Property is refreshed with new settings.
|
194
|
+
# </p>
|
195
|
+
# </div>>
|
149
196
|
# @see Wx::PG::PGProperty#enable
|
150
197
|
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
151
198
|
# @param enable [Boolean] If false, property is disabled instead.
|
@@ -162,13 +209,21 @@ module Wx::PG
|
|
162
209
|
# Expands given category or property with children.
|
163
210
|
# Returns true if actually expanded.
|
164
211
|
#
|
165
|
-
#
|
212
|
+
# <div class="wxrb-remark">
|
213
|
+
# <b>Remark:</b>
|
214
|
+
# <p>This function may deselect selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
215
|
+
# </p>
|
216
|
+
# </div>>
|
166
217
|
# @param id [String,Wx::PG::PGProperty]
|
167
218
|
# @return [Boolean]
|
168
219
|
def expand(id) end
|
169
220
|
|
170
221
|
# Expands all items that can be expanded.
|
171
|
-
#
|
222
|
+
# <div class="wxrb-remark">
|
223
|
+
# <b>Remark:</b>
|
224
|
+
# <p>This functions clears selection. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
225
|
+
# </p>
|
226
|
+
# </div>>
|
172
227
|
# @param expand [Boolean]
|
173
228
|
# @return [Boolean]
|
174
229
|
def expand_all(expand=true) end
|
@@ -182,7 +237,11 @@ module Wx::PG
|
|
182
237
|
alias_method :column_proportion, :get_column_proportion
|
183
238
|
|
184
239
|
# Returns id of first child of given property.
|
185
|
-
#
|
240
|
+
# <div class="wxrb-remark">
|
241
|
+
# <b>Remark:</b>
|
242
|
+
# <p>Does not return private children!
|
243
|
+
# </p>
|
244
|
+
# </div>>
|
186
245
|
# @param id [String,Wx::PG::PGProperty]
|
187
246
|
# @return [Wx::PG::PGProperty]
|
188
247
|
def get_first_child(id) end
|
@@ -195,7 +254,12 @@ module Wx::PG
|
|
195
254
|
|
196
255
|
# Returns pointer to a property with given name (case-sensitive).
|
197
256
|
# If there is no property with such name, NULL pointer is returned.
|
198
|
-
#
|
257
|
+
#
|
258
|
+
# <div class="wxrb-remark">
|
259
|
+
# <b>Remark:</b>
|
260
|
+
# <p>Properties which have non-category, non-root parent cannot be accessed globally by their name. Instead, use "<property>.<subproperty>" instead of "<subproperty>".
|
261
|
+
# </p>
|
262
|
+
# </div>>
|
199
263
|
# @param name [String]
|
200
264
|
# @return [Wx::PG::PGProperty]
|
201
265
|
def get_property(name) end
|
@@ -247,7 +311,12 @@ module Wx::PG
|
|
247
311
|
# @overload get_property_by_name(name)
|
248
312
|
# Returns pointer to a property with given name (case-sensitive).
|
249
313
|
# If there is no property with such name, NULL pointer is returned.
|
250
|
-
#
|
314
|
+
#
|
315
|
+
# <div class="wxrb-remark">
|
316
|
+
# <b>Remark:</b>
|
317
|
+
# <p>Properties which have non-category, non-root parent cannot be accessed globally by their name. Instead, use "<property>.<subproperty>" instead of "<subproperty>".
|
318
|
+
# </p>
|
319
|
+
# </div>>
|
251
320
|
# @param name [String]
|
252
321
|
# @return [Wx::PG::PGProperty]
|
253
322
|
# @overload get_property_by_name(name, subname)
|
@@ -304,6 +373,7 @@ module Wx::PG
|
|
304
373
|
# Returns validator of a property as a reference, which you can pass to any number of SetPropertyValidator.
|
305
374
|
# @param id [String,Wx::PG::PGProperty]
|
306
375
|
# @return [Wx::Validator]
|
376
|
+
# @wxrb_require USE_VALIDATORS
|
307
377
|
def get_property_validator(id) end
|
308
378
|
alias_method :property_validator, :get_property_validator
|
309
379
|
|
@@ -335,6 +405,7 @@ module Wx::PG
|
|
335
405
|
# Return's property's value as {Wx::DateTime}.
|
336
406
|
# @param id [String,Wx::PG::PGProperty]
|
337
407
|
# @return [Time,Date,DateTime]
|
408
|
+
# @wxrb_require USE_DATETIME
|
338
409
|
def get_property_value_as_date_time(id) end
|
339
410
|
alias_method :property_value_as_date_time, :get_property_value_as_date_time
|
340
411
|
|
@@ -359,6 +430,7 @@ module Wx::PG
|
|
359
430
|
# Returns property's value as native signed 64-bit integer.
|
360
431
|
# @param id [String,Wx::PG::PGProperty]
|
361
432
|
# @return [Integer]
|
433
|
+
# @wxrb_require USE_LONGLONG
|
362
434
|
def get_property_value_as_long_long(id) end
|
363
435
|
alias_method :property_value_as_long_long, :get_property_value_as_long_long
|
364
436
|
|
@@ -378,6 +450,7 @@ module Wx::PG
|
|
378
450
|
# Returns property's value as native unsigned 64-bit integer.
|
379
451
|
# @param id [String,Wx::PG::PGProperty]
|
380
452
|
# @return [Integer]
|
453
|
+
# @wxrb_require USE_LONGLONG
|
381
454
|
def get_property_value_as_u_long_long(id) end
|
382
455
|
alias_method :property_value_as_u_long_long, :get_property_value_as_u_long_long
|
383
456
|
|
@@ -391,14 +464,23 @@ module Wx::PG
|
|
391
464
|
alias_method :property_values, :get_property_values
|
392
465
|
|
393
466
|
# Returns list of currently selected properties.
|
394
|
-
#
|
467
|
+
# <div class="wxrb-remark">
|
468
|
+
# <b>Remark:</b>
|
469
|
+
# <p>{Wx::ArrayPGProperty} should be compatible with std::vector API.
|
470
|
+
# </p>
|
471
|
+
# </div>>
|
395
472
|
# @return [Array<Wx::PG::PGProperty>]
|
396
473
|
def get_selected_properties; end
|
397
474
|
alias_method :selected_properties, :get_selected_properties
|
398
475
|
|
399
476
|
# Returns currently selected property.
|
400
477
|
# NULL if none.
|
401
|
-
#
|
478
|
+
#
|
479
|
+
# <div class="wxrb-remark">
|
480
|
+
# <b>Remark:</b>
|
481
|
+
# <p>When {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_MULTIPLE_SELECTION} extra style is used, this member function returns the focused property, that is the one which can have active editor.
|
482
|
+
# </p>
|
483
|
+
# </div>>
|
402
484
|
# @return [Wx::PG::PGProperty]
|
403
485
|
def get_selection; end
|
404
486
|
alias_method :selection, :get_selection
|
@@ -414,6 +496,12 @@ module Wx::PG
|
|
414
496
|
# Inserts property to the property container.
|
415
497
|
# Returns newProperty.
|
416
498
|
#
|
499
|
+
# <div class="wxrb-remark">
|
500
|
+
# <b>Remark:</b>
|
501
|
+
# <p>
|
502
|
+
# </p>
|
503
|
+
# </div>>
|
504
|
+
#
|
417
505
|
# - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
|
418
506
|
# - While Append may be faster way to add items, make note that when both types of data storage (categoric and non-categoric) are active, Insert becomes even more slow. This is especially true if current mode is non-categoric.
|
419
507
|
# - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
@@ -491,7 +579,11 @@ module Wx::PG
|
|
491
579
|
alias_method :property_value_unspecified?, :is_property_value_unspecified
|
492
580
|
|
493
581
|
# Disables (limit = true) or enables (limit = false) {Wx::TextCtrl} editor of a property, if it is not the sole mean to edit the value.
|
494
|
-
#
|
582
|
+
# <div class="wxrb-remark">
|
583
|
+
# <b>Remark:</b>
|
584
|
+
# <p>Property is refreshed with new settings.
|
585
|
+
# </p>
|
586
|
+
# </div>>
|
495
587
|
# @param id [String,Wx::PG::PGProperty]
|
496
588
|
# @param limit [Boolean]
|
497
589
|
# @return [void]
|
@@ -519,7 +611,11 @@ module Wx::PG
|
|
519
611
|
#
|
520
612
|
# Returns false if there was problem reading the string.
|
521
613
|
#
|
522
|
-
#
|
614
|
+
# <div class="wxrb-remark">
|
615
|
+
# <b>Remark:</b>
|
616
|
+
# <p>If some parts of state (such as scrolled or splitter position) fail to restore correctly, please make sure that you call this function after {Wx::PG::PropertyGrid} size has been set (this may sometimes be tricky when sizers are used).
|
617
|
+
# </p>
|
618
|
+
# </div>>
|
523
619
|
# @param src [String] String generated by SaveEditableState.
|
524
620
|
# @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
|
525
621
|
# @return [Boolean]
|
@@ -534,7 +630,11 @@ module Wx::PG
|
|
534
630
|
# {Wx::PG::PG_WINDOW_STYLES::PG_SPLITTER_AUTO_CENTER} window style needs to be used to indicate that columns are auto- resizable.
|
535
631
|
# Returns false on failure.
|
536
632
|
#
|
537
|
-
#
|
633
|
+
# <div class="wxrb-remark">
|
634
|
+
# <b>Remark:</b>
|
635
|
+
# <p>You should call this for individual pages of {Wx::PG::PropertyGridManager} (if used).
|
636
|
+
# </p>
|
637
|
+
# </div>>
|
538
638
|
# @see Wx::PG::PropertyGridInterface#get_column_proportion
|
539
639
|
# @param column [Integer]
|
540
640
|
# @param proportion [Integer]
|
@@ -542,8 +642,15 @@ module Wx::PG
|
|
542
642
|
def set_column_proportion(column, proportion) end
|
543
643
|
|
544
644
|
# Sets an attribute for this property.
|
645
|
+
# <div class="wxrb-remark">
|
646
|
+
# <b>Remark:</b>
|
647
|
+
# <p>
|
648
|
+
#
|
545
649
|
# - Setting attribute's value to {Wx::NullVariant} will simply remove it from property's set of attributes.
|
546
|
-
# - Property is refreshed with new settings.
|
650
|
+
# - Property is refreshed with new settings.
|
651
|
+
#
|
652
|
+
# </p>
|
653
|
+
# </div>>
|
547
654
|
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
548
655
|
# @param attrName [String] Text identifier of attribute. See wxPropertyGrid Property Attribute Identifiers.
|
549
656
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue] Value of attribute.
|
@@ -553,15 +660,27 @@ module Wx::PG
|
|
553
660
|
|
554
661
|
# Sets property attribute for all applicable properties.
|
555
662
|
# Be sure to use this method only after all properties have been added to the grid.
|
556
|
-
#
|
663
|
+
#
|
664
|
+
# <div class="wxrb-remark">
|
665
|
+
# <b>Remark:</b>
|
666
|
+
# <p>Properties are refreshed with new settings.
|
667
|
+
# </p>
|
668
|
+
# </div>>
|
557
669
|
# @param attrName [String]
|
558
670
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
559
671
|
# @return [void]
|
560
672
|
def set_property_attribute_all(attrName, value) end
|
561
673
|
|
562
674
|
# Sets background colour of given property.
|
675
|
+
# <div class="wxrb-remark">
|
676
|
+
# <b>Remark:</b>
|
677
|
+
# <p>
|
678
|
+
#
|
563
679
|
# - If category is tried to set recursively, only its children are affected.
|
564
|
-
# - Property is redrawn with new colour.
|
680
|
+
# - Property is redrawn with new colour.
|
681
|
+
#
|
682
|
+
# </p>
|
683
|
+
# </div>>
|
565
684
|
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
566
685
|
# @param colour [Wx::Colour,String,Symbol] New background colour.
|
567
686
|
# @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
|
@@ -569,8 +688,15 @@ module Wx::PG
|
|
569
688
|
def set_property_background_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
570
689
|
|
571
690
|
# Sets text, bitmap, and colours for given column's cell.
|
691
|
+
# <div class="wxrb-remark">
|
692
|
+
# <b>Remark:</b>
|
693
|
+
# <p>
|
694
|
+
#
|
572
695
|
# - You can set label cell by using column 0.
|
573
|
-
# - You can use {Wx::PG::PG_LABEL} as text to use default text for column.
|
696
|
+
# - You can use {Wx::PG::PG_LABEL} as text to use default text for column.
|
697
|
+
#
|
698
|
+
# </p>
|
699
|
+
# </div>>
|
574
700
|
# @param id [String,Wx::PG::PGProperty]
|
575
701
|
# @param column [Integer]
|
576
702
|
# @param text [String]
|
@@ -581,15 +707,26 @@ module Wx::PG
|
|
581
707
|
def set_property_cell(id, column, text=(''), bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR) end
|
582
708
|
|
583
709
|
# Sets client data (void*) of a property.
|
584
|
-
#
|
710
|
+
# <div class="wxrb-remark">
|
711
|
+
# <b>Remark:</b>
|
712
|
+
# <p>This untyped client data has to be deleted manually.
|
713
|
+
# </p>
|
714
|
+
# </div>>
|
585
715
|
# @param id [String,Wx::PG::PGProperty]
|
586
716
|
# @param clientData [Object]
|
587
717
|
# @return [void]
|
588
718
|
def set_property_client_data(id, clientData) end
|
589
719
|
|
590
720
|
# Resets text and background colours of given property.
|
721
|
+
# <div class="wxrb-remark">
|
722
|
+
# <b>Remark:</b>
|
723
|
+
# <p>
|
724
|
+
#
|
591
725
|
# - If category is tried to set recursively, only its children are affected.
|
592
|
-
# - Property is redrawn with new colours.
|
726
|
+
# - Property is redrawn with new colours.
|
727
|
+
#
|
728
|
+
# </p>
|
729
|
+
# </div>>
|
593
730
|
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
594
731
|
# @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} which causes colour to be reset only for the property in question (for backward compatibility).
|
595
732
|
# @return [void]
|
@@ -611,7 +748,14 @@ module Wx::PG
|
|
611
748
|
def set_property_editor(*args) end
|
612
749
|
|
613
750
|
# Sets label of a property.
|
614
|
-
# -
|
751
|
+
# <div class="wxrb-remark">
|
752
|
+
# <b>Remark:</b>
|
753
|
+
# <p>
|
754
|
+
#
|
755
|
+
# - Properties under same parent may have same labels. However, property names must still remain unique.
|
756
|
+
#
|
757
|
+
# </p>
|
758
|
+
# </div>>
|
615
759
|
# @param id [String,Wx::PG::PGProperty]
|
616
760
|
# @param newproplabel [String]
|
617
761
|
# @return [void]
|
@@ -626,8 +770,15 @@ module Wx::PG
|
|
626
770
|
# Sets property (and, recursively, its children) to have read-only value.
|
627
771
|
# In other words, user cannot change the value in the editor, but they can still copy it.
|
628
772
|
#
|
773
|
+
# <div class="wxrb-remark">
|
774
|
+
# <b>Remark:</b>
|
775
|
+
# <p>
|
776
|
+
#
|
629
777
|
# - This is mainly for use with textctrl editor. Only some other editors fully support it.
|
630
|
-
# - Property is refreshed with new settings.
|
778
|
+
# - Property is refreshed with new settings.
|
779
|
+
#
|
780
|
+
# </p>
|
781
|
+
# </div>>
|
631
782
|
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
632
783
|
# @param set [Boolean] Use true to enable read-only, false to disable it.
|
633
784
|
# @param flags [Integer] By default changes are applied recursively. Set this parameter to {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
|
@@ -656,14 +807,22 @@ module Wx::PG
|
|
656
807
|
alias_method :property_values=, :set_property_values
|
657
808
|
|
658
809
|
# Associates the help string with property.
|
659
|
-
#
|
810
|
+
# <div class="wxrb-remark">
|
811
|
+
# <b>Remark:</b>
|
812
|
+
# <p>By default, text is shown either in the manager's "description" text box or in the status bar. If extra window style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_HELP_AS_TOOLTIPS} is used, then the text will appear as a tooltip.
|
813
|
+
# </p>
|
814
|
+
# </div>>
|
660
815
|
# @param id [String,Wx::PG::PGProperty]
|
661
816
|
# @param helpString [String]
|
662
817
|
# @return [void]
|
663
818
|
def set_property_help_string(id, helpString) end
|
664
819
|
|
665
820
|
# Set {Wx::Bitmap} taken from {Wx::BitmapBundle} in front of the value.
|
666
|
-
#
|
821
|
+
# <div class="wxrb-remark">
|
822
|
+
# <b>Remark:</b>
|
823
|
+
# <p>Bitmap will be scaled to a size returned by {Wx::PG::PropertyGrid#get_image_size};
|
824
|
+
# </p>
|
825
|
+
# </div>>
|
667
826
|
# @param id [String,Wx::PG::PGProperty]
|
668
827
|
# @param bmp [Wx::BitmapBundle]
|
669
828
|
# @return [void]
|
@@ -678,8 +837,15 @@ module Wx::PG
|
|
678
837
|
def set_property_max_length(id, maxLen) end
|
679
838
|
|
680
839
|
# Sets text colour of given property.
|
840
|
+
# <div class="wxrb-remark">
|
841
|
+
# <b>Remark:</b>
|
842
|
+
# <p>
|
843
|
+
#
|
681
844
|
# - If category is tried to set recursively, only its children are affected.
|
682
|
-
# - Property is redrawn with new colour.
|
845
|
+
# - Property is redrawn with new colour.
|
846
|
+
#
|
847
|
+
# </p>
|
848
|
+
# </div>>
|
683
849
|
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
684
850
|
# @param colour [Wx::Colour,String,Symbol] New text colour.
|
685
851
|
# @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colour to be set recursively. Omit this flag to only set colour for the property in question and not any of its children.
|
@@ -774,14 +940,22 @@ module Wx::PG
|
|
774
940
|
# @return [void]
|
775
941
|
# @overload set_property_value(id, value)
|
776
942
|
# Sets value ({Wx::Variant}) of a property.
|
777
|
-
#
|
943
|
+
# <div class="wxrb-remark">
|
944
|
+
# <b>Remark:</b>
|
945
|
+
# <p>Use {Wx::PG::PropertyGridInterface#change_property_value} instead if you need to run through validation process and send property change event.
|
946
|
+
# </p>
|
947
|
+
# </div>>
|
778
948
|
# @param id [String,Wx::PG::PGProperty]
|
779
949
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
780
950
|
# @return [void]
|
781
951
|
def set_property_value(*args) end
|
782
952
|
|
783
953
|
# Sets value ({Wx::String}) of a property.
|
784
|
-
#
|
954
|
+
# <div class="wxrb-remark">
|
955
|
+
# <b>Remark:</b>
|
956
|
+
# <p>This method uses {Wx::PG::PGProperty#set_value_from_string}, which all properties should implement. This means that there should not be a type error, and instead the string is converted to property's actual value type.
|
957
|
+
# </p>
|
958
|
+
# </div>>
|
785
959
|
# @param id [String,Wx::PG::PGProperty]
|
786
960
|
# @param value [String]
|
787
961
|
# @return [void]
|
@@ -824,7 +998,11 @@ module Wx::PG
|
|
824
998
|
alias_method :property_by_name_a, :get_property_by_name_a
|
825
999
|
|
826
1000
|
#
|
827
|
-
#
|
1001
|
+
# <div class="wxrb-remark">
|
1002
|
+
# <b>Remark:</b>
|
1003
|
+
# <p>This function reselects the property and may cause excess flicker, so to just call Refresh() on a rect of single property, call DrawItem() instead.
|
1004
|
+
# </p>
|
1005
|
+
# </div>>
|
828
1006
|
# @param p [Wx::PG::PGProperty]
|
829
1007
|
# @return [void]
|
830
1008
|
def refresh_property(p) end
|
@@ -47,17 +47,17 @@ module Wx::PG
|
|
47
47
|
# pgMan.show_header
|
48
48
|
# ```
|
49
49
|
#
|
50
|
-
#
|
50
|
+
# ## Window Styles
|
51
51
|
#
|
52
52
|
# See wxPropertyGrid Window Styles.
|
53
53
|
#
|
54
|
-
#
|
54
|
+
# ## Event Handling
|
55
55
|
#
|
56
56
|
# See wxPropertyGrid Event Handling for more information.
|
57
|
-
# ===
|
58
57
|
#
|
59
58
|
# Category: {Wx::PG::PropertyGrid}
|
60
59
|
#
|
60
|
+
# @wxrb_require USE_PROPGRID
|
61
61
|
class PropertyGridManager < Panel
|
62
62
|
|
63
63
|
include Wx::PG::PropertyGridInterface
|
@@ -66,7 +66,7 @@ module Wx::PG
|
|
66
66
|
# Two step constructor.
|
67
67
|
# Call Create when this constructor is called to build up the {Wx::PG::PropertyGridManager}.
|
68
68
|
# @return [Wx::PG::PropertyGridManager]
|
69
|
-
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::
|
69
|
+
# @overload initialize(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR)
|
70
70
|
# The default constructor.
|
71
71
|
# The styles to be used are styles valid for the {Wx::Window}.
|
72
72
|
# @see wxPropertyGrid Window Styles
|
@@ -84,7 +84,11 @@ module Wx::PG
|
|
84
84
|
#
|
85
85
|
# Returns pointer to created property grid page.
|
86
86
|
#
|
87
|
-
#
|
87
|
+
# <div class="wxrb-remark">
|
88
|
+
# <b>Remark:</b>
|
89
|
+
# <p>If toolbar is used, it is highly recommended that the pages are added when the toolbar is not turned off using window style flag switching. Otherwise toolbar buttons might not be added properly.
|
90
|
+
# </p>
|
91
|
+
# </div>>
|
88
92
|
# @param label [String] A label for the page. This may be shown as a toolbar tooltip etc.
|
89
93
|
# @param bmp [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image] Bitmap bundle for toolbar image. If the bundle is empty, then a built-in default bitmap bundle is used.
|
90
94
|
# @param pageObj [Wx::PG::PropertyGridPage] {Wx::PG::PropertyGridPage} instance. Manager will take ownership of this object. NULL indicates that a default page instance should be created.
|
@@ -116,10 +120,14 @@ module Wx::PG
|
|
116
120
|
# @param style [Integer]
|
117
121
|
# @param name [String]
|
118
122
|
# @return [Boolean]
|
119
|
-
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::
|
123
|
+
def create(parent, id=Wx::StandardID::ID_ANY, pos=Wx::DEFAULT_POSITION, size=Wx::DEFAULT_SIZE, style=Wx::PG::PGMAN_DEFAULT_STYLE, name=Wx::PROPERTY_GRID_MANAGER_NAME_STR) end
|
120
124
|
|
121
125
|
# Enables or disables (shows/hides) categories according to parameter enable.
|
122
|
-
#
|
126
|
+
# <div class="wxrb-remark">
|
127
|
+
# <b>Remark:</b>
|
128
|
+
# <p>Calling this may not properly update toolbar buttons.
|
129
|
+
# </p>
|
130
|
+
# </div>>
|
123
131
|
# @param enable [Boolean]
|
124
132
|
# @return [Boolean]
|
125
133
|
def enable_categories(enable) end
|
@@ -275,7 +283,11 @@ module Wx::PG
|
|
275
283
|
def select_property(id, focus=false) end
|
276
284
|
|
277
285
|
# Sets number of columns on given page (default is current page).
|
278
|
-
#
|
286
|
+
# <div class="wxrb-remark">
|
287
|
+
# <b>Remark:</b>
|
288
|
+
# <p>If you use header, then you should always use this member function to set the column count, instead of ones present in {Wx::PG::PropertyGrid} or {Wx::PG::PropertyGridPage}.
|
289
|
+
# </p>
|
290
|
+
# </div>>
|
279
291
|
# @param colCount [Integer]
|
280
292
|
# @param page [Integer]
|
281
293
|
# @return [void]
|
@@ -284,7 +296,12 @@ module Wx::PG
|
|
284
296
|
|
285
297
|
# Sets a column title.
|
286
298
|
# Default title for column 0 is "Property", and "Value" for column 1.
|
287
|
-
#
|
299
|
+
#
|
300
|
+
# <div class="wxrb-remark">
|
301
|
+
# <b>Remark:</b>
|
302
|
+
# <p>If header is not shown yet, then calling this member function will make it visible.
|
303
|
+
# </p>
|
304
|
+
# </div>>
|
288
305
|
# @param idx [Integer]
|
289
306
|
# @param title [String]
|
290
307
|
# @return [void]
|
@@ -318,7 +335,11 @@ module Wx::PG
|
|
318
335
|
alias_method :page_splitter_left=, :set_page_splitter_left
|
319
336
|
|
320
337
|
# Sets splitter position on individual page.
|
321
|
-
#
|
338
|
+
# <div class="wxrb-remark">
|
339
|
+
# <b>Remark:</b>
|
340
|
+
# <p>If you use header, then you should always use this member function to set the splitter position, instead of ones present in {Wx::PG::PropertyGrid} or {Wx::PG::PropertyGridPage}.
|
341
|
+
# </p>
|
342
|
+
# </div>>
|
322
343
|
# @param page [Integer]
|
323
344
|
# @param pos [Integer]
|
324
345
|
# @param column [Integer]
|
@@ -326,7 +347,11 @@ module Wx::PG
|
|
326
347
|
def set_page_splitter_position(page, pos, column=0) end
|
327
348
|
|
328
349
|
# Sets splitter position for all pages.
|
329
|
-
#
|
350
|
+
# <div class="wxrb-remark">
|
351
|
+
# <b>Remark:</b>
|
352
|
+
# <p>Splitter position cannot exceed grid size, and therefore setting it during form creation may fail as initial grid size is often smaller than desired splitter position, especially when sizers are being used.
|
353
|
+
# </p>
|
354
|
+
# </div>>
|
330
355
|
#
|
331
356
|
# If you use header, then you should always use this member function to set the splitter position, instead of ones present in {Wx::PG::PropertyGrid} or {Wx::PG::PropertyGridPage}.
|
332
357
|
# @param pos [Integer]
|
@@ -337,7 +362,12 @@ module Wx::PG
|
|
337
362
|
|
338
363
|
# Show or hide the property grid header control.
|
339
364
|
# It is hidden by the default.
|
340
|
-
#
|
365
|
+
#
|
366
|
+
# <div class="wxrb-remark">
|
367
|
+
# <b>Remark:</b>
|
368
|
+
# <p>Grid may look better if you use {Wx::PG::PG_WINDOW_STYLES::PG_NO_INTERNAL_BORDER} window style when showing a header.
|
369
|
+
# </p>
|
370
|
+
# </div>>
|
341
371
|
# @param show [Boolean]
|
342
372
|
# @return [void]
|
343
373
|
def show_header(show=true) end
|