wxruby3 0.9.1-x64-mingw-ucrt → 0.9.3-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/INSTALL.md +35 -29
- data/README.md +24 -15
- 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/bitmap_combobox.rb +17 -21
- data/lib/wx/core/collapsible_pane.rb +1 -1
- data/lib/wx/core/combobox.rb +13 -3
- data/lib/wx/core/controlwithitems.rb +40 -128
- data/lib/wx/core/enum.rb +17 -1
- data/lib/wx/core/event.rb +6 -1
- data/lib/wx/core/events/evt_list.rb +5 -4
- data/lib/wx/core/evthandler.rb +8 -2
- data/lib/wx/core/generic_validator.rb +312 -0
- data/lib/wx/core/listbox.rb +2 -2
- data/lib/wx/core/log.rb +1 -1
- data/lib/wx/core/menu.rb +10 -0
- data/lib/wx/core/notebook.rb +6 -2
- data/lib/wx/core/owner_drawn_combobox.rb +45 -0
- data/lib/wx/core/size.rb +4 -0
- data/lib/wx/core/sizer.rb +12 -2
- data/lib/wx/core/standard_paths.rb +22 -0
- data/lib/wx/core/task_bar_button.rb +19 -0
- data/lib/wx/core/text_entry.rb +4 -1
- data/lib/wx/core/textctrl.rb +11 -1
- data/lib/wx/core/{treectrl.rb → tree_ctrl.rb} +31 -12
- data/lib/wx/core/validator.rb +70 -5
- data/lib/wx/core/window.rb +13 -7
- data/lib/wx/doc/app.rb +48 -38
- data/lib/wx/doc/art_locator.rb +48 -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/comboctrl.rb +18 -0
- data/lib/wx/doc/controlwithitems.rb +34 -8
- data/lib/wx/doc/data_object.rb +2 -2
- data/lib/wx/doc/date_picker_ctrl.rb +23 -0
- data/lib/wx/doc/editable_listbox.rb +44 -0
- data/lib/wx/doc/enum.rb +15 -0
- data/lib/wx/doc/event.rb +12 -0
- data/lib/wx/doc/evthandler.rb +113 -108
- data/lib/wx/doc/extra/12_client_data.md +89 -0
- data/lib/wx/doc/extra/13_validators.md +139 -0
- data/lib/wx/doc/font.rb +1 -0
- data/lib/wx/doc/gc_dc.rb +6 -1
- data/lib/wx/doc/gdi_common.rb +4 -0
- data/lib/wx/doc/gen/about_dialog_info.rb +26 -2
- data/lib/wx/doc/gen/accelerator.rb +19 -4
- data/lib/wx/doc/gen/accessible.rb +48 -47
- data/lib/wx/doc/gen/activity_indicator.rb +10 -4
- data/lib/wx/doc/gen/animation.rb +19 -3
- data/lib/wx/doc/gen/animation_ctrl.rb +16 -7
- data/lib/wx/doc/gen/any_button.rb +22 -1
- data/lib/wx/doc/gen/app.rb +41 -5
- data/lib/wx/doc/gen/app_traits.rb +65 -15
- data/lib/wx/doc/gen/art_provider.rb +33 -7
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +18 -3
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +2 -0
- data/lib/wx/doc/gen/aui/aui_manager.rb +35 -8
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +11 -4
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +4 -0
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +3 -0
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +8 -1
- data/lib/wx/doc/gen/aui/aui_notebook.rb +31 -7
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +5 -4
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +38 -2
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +9 -3
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +2 -1
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +20 -6
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +4 -2
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +5 -7
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +5 -1
- data/lib/wx/doc/gen/aui/event_list.rb +164 -160
- data/lib/wx/doc/gen/banner_window.rb +8 -1
- data/lib/wx/doc/gen/bitmap.rb +94 -16
- data/lib/wx/doc/gen/bitmap_button.rb +16 -8
- data/lib/wx/doc/gen/bitmap_combo_box.rb +20 -10
- data/lib/wx/doc/gen/book_ctrl_base.rb +31 -4
- data/lib/wx/doc/gen/book_ctrl_event.rb +9 -3
- data/lib/wx/doc/gen/box_sizer.rb +5 -1
- data/lib/wx/doc/gen/brush.rb +20 -2
- data/lib/wx/doc/gen/busy_info.rb +10 -2
- data/lib/wx/doc/gen/button.rb +31 -11
- data/lib/wx/doc/gen/calculate_layout_event.rb +5 -3
- data/lib/wx/doc/gen/calendar_ctrl.rb +38 -13
- data/lib/wx/doc/gen/calendar_date_attr.rb +2 -1
- data/lib/wx/doc/gen/calendar_event.rb +5 -2
- data/lib/wx/doc/gen/caret.rb +3 -1
- data/lib/wx/doc/gen/check_box.rb +17 -7
- data/lib/wx/doc/gen/check_list_box.rb +8 -6
- data/lib/wx/doc/gen/choice.rb +28 -9
- data/lib/wx/doc/gen/choicebook.rb +7 -7
- data/lib/wx/doc/gen/client_dc.rb +6 -2
- data/lib/wx/doc/gen/clipboard.rb +16 -3
- data/lib/wx/doc/gen/collapsible_pane.rb +9 -7
- data/lib/wx/doc/gen/collapsible_pane_event.rb +3 -3
- data/lib/wx/doc/gen/colour.rb +28 -4
- data/lib/wx/doc/gen/colour_dialog.rb +15 -7
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +13 -10
- data/lib/wx/doc/gen/colour_picker_event.rb +5 -5
- data/lib/wx/doc/gen/combo_box.rb +36 -14
- data/lib/wx/doc/gen/combo_ctrl.rb +117 -295
- data/lib/wx/doc/gen/command_link_button.rb +12 -5
- data/lib/wx/doc/gen/context_help_button.rb +13 -3
- data/lib/wx/doc/gen/control.rb +22 -8
- data/lib/wx/doc/gen/control_with_items.rb +45 -10
- data/lib/wx/doc/gen/core.rb +4 -4
- data/lib/wx/doc/gen/cursor.rb +10 -8
- data/lib/wx/doc/gen/data_format.rb +7 -1
- data/lib/wx/doc/gen/data_object.rb +42 -18
- data/lib/wx/doc/gen/date_event.rb +3 -2
- data/lib/wx/doc/gen/date_picker_ctrl.rb +18 -8
- data/lib/wx/doc/gen/dc.rb +238 -36
- data/lib/wx/doc/gen/defs.rb +51 -51
- data/lib/wx/doc/gen/dial_up_event.rb +2 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +25 -5
- data/lib/wx/doc/gen/dialog.rb +72 -13
- data/lib/wx/doc/gen/dir_dialog.rb +22 -5
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +2 -0
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +14 -10
- data/lib/wx/doc/gen/drag_drop.rb +28 -7
- data/lib/wx/doc/gen/drag_image.rb +13 -2
- data/lib/wx/doc/gen/editable_list_box.rb +7 -5
- data/lib/wx/doc/gen/event.rb +57 -26
- data/lib/wx/doc/gen/event_blocker.rb +2 -3
- data/lib/wx/doc/gen/event_filter.rb +3 -0
- data/lib/wx/doc/gen/event_list.rb +1656 -1652
- data/lib/wx/doc/gen/events.rb +305 -173
- data/lib/wx/doc/gen/evt_handler.rb +49 -3
- data/lib/wx/doc/gen/ext_help_controller.rb +10 -1
- data/lib/wx/doc/gen/file_ctrl.rb +28 -10
- data/lib/wx/doc/gen/file_ctrl_event.rb +7 -4
- data/lib/wx/doc/gen/file_dialog.rb +44 -14
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +19 -0
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +11 -3
- data/lib/wx/doc/gen/file_dir_picker_event.rb +4 -4
- data/lib/wx/doc/gen/file_picker_ctrl.rb +12 -9
- data/lib/wx/doc/gen/file_system.rb +54 -15
- data/lib/wx/doc/gen/find_dialog_event.rb +6 -4
- data/lib/wx/doc/gen/find_replace_data.rb +2 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +4 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +13 -1
- data/lib/wx/doc/gen/font.rb +103 -20
- data/lib/wx/doc/gen/font_data.rb +16 -3
- data/lib/wx/doc/gen/font_dialog.rb +6 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +14 -7
- data/lib/wx/doc/gen/font_picker_event.rb +3 -3
- data/lib/wx/doc/gen/frame.rb +73 -15
- data/lib/wx/doc/gen/fs_file.rb +39 -10
- data/lib/wx/doc/gen/gauge.rb +19 -8
- data/lib/wx/doc/gen/gb_sizer_item.rb +5 -1
- data/lib/wx/doc/gen/gcdc.rb +3 -2
- data/lib/wx/doc/gen/gdi_common.rb +80 -11
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +13 -7
- data/lib/wx/doc/gen/graphics_context.rb +86 -10
- data/lib/wx/doc/gen/graphics_object.rb +35 -6
- data/lib/wx/doc/gen/grid/event_list.rb +168 -164
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +3 -0
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +16 -3
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +10 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +2 -1
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +7 -1
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +256 -12
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +6 -4
- data/lib/wx/doc/gen/grid/grid_event.rb +6 -4
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +4 -4
- data/lib/wx/doc/gen/grid/grid_size_event.rb +4 -4
- data/lib/wx/doc/gen/grid/grid_string_table.rb +8 -0
- data/lib/wx/doc/gen/grid/grid_table_base.rb +28 -3
- data/lib/wx/doc/gen/grid/grid_table_message.rb +2 -0
- data/lib/wx/doc/gen/grid_bag_sizer.rb +21 -7
- data/lib/wx/doc/gen/grid_sizer.rb +11 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +13 -3
- data/lib/wx/doc/gen/header_ctrl.rb +110 -11
- data/lib/wx/doc/gen/header_ctrl_event.rb +4 -2
- data/lib/wx/doc/gen/help_controller.rb +14 -3
- data/lib/wx/doc/gen/help_provider.rb +22 -4
- data/lib/wx/doc/gen/html/event_list.rb +41 -37
- data/lib/wx/doc/gen/html/html_cell.rb +48 -6
- data/lib/wx/doc/gen/html/html_cell_event.rb +5 -4
- data/lib/wx/doc/gen/html/html_easy_printing.rb +20 -3
- data/lib/wx/doc/gen/html/html_help_controller.rb +26 -2
- data/lib/wx/doc/gen/html/html_help_data.rb +8 -1
- data/lib/wx/doc/gen/html/html_help_window.rb +9 -1
- data/lib/wx/doc/gen/html/html_link_event.rb +3 -3
- data/lib/wx/doc/gen/html/html_list_box.rb +54 -16
- data/lib/wx/doc/gen/html/html_printout.rb +7 -1
- data/lib/wx/doc/gen/html/html_window.rb +43 -6
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +9 -8
- data/lib/wx/doc/gen/hyperlink_event.rb +3 -3
- data/lib/wx/doc/gen/icon.rb +23 -29
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +143 -20
- data/lib/wx/doc/gen/image_list.rb +25 -6
- data/lib/wx/doc/gen/info_bar.rb +14 -2
- data/lib/wx/doc/gen/keyboard_state.rb +11 -1
- data/lib/wx/doc/gen/list_box.rb +46 -17
- data/lib/wx/doc/gen/list_ctrl.rb +165 -29
- data/lib/wx/doc/gen/list_event.rb +13 -4
- data/lib/wx/doc/gen/listbook.rb +7 -7
- data/lib/wx/doc/gen/locale.rb +68 -4
- data/lib/wx/doc/gen/log.rb +58 -12
- data/lib/wx/doc/gen/mdi_client_window.rb +11 -2
- data/lib/wx/doc/gen/mdi_frame.rb +51 -7
- data/lib/wx/doc/gen/media_ctrl.rb +43 -18
- data/lib/wx/doc/gen/media_event.rb +6 -4
- data/lib/wx/doc/gen/memory_dc.rb +16 -6
- data/lib/wx/doc/gen/menu.rb +81 -26
- data/lib/wx/doc/gen/menu_bar.rb +74 -15
- data/lib/wx/doc/gen/menu_item.rb +67 -19
- data/lib/wx/doc/gen/message_dialog.rb +17 -8
- data/lib/wx/doc/gen/mini_frame.rb +14 -5
- data/lib/wx/doc/gen/mirror_dc.rb +1 -2
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +9 -4
- data/lib/wx/doc/gen/non_owned_window.rb +4 -1
- data/lib/wx/doc/gen/notebook.rb +27 -9
- data/lib/wx/doc/gen/num_validator.rb +37 -0
- data/lib/wx/doc/gen/number_entry_dialog.rb +5 -1
- data/lib/wx/doc/gen/object.rb +3 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +340 -0
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +5 -1
- data/lib/wx/doc/gen/panel.rb +25 -8
- data/lib/wx/doc/gen/pen.rb +46 -8
- data/lib/wx/doc/gen/pg/event_list.rb +97 -93
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +4 -1
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +12 -1
- data/lib/wx/doc/gen/pg/pg_cell.rb +11 -3
- data/lib/wx/doc/gen/pg/pg_editor.rb +161 -16
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +3 -2
- data/lib/wx/doc/gen/pg/pg_properties.rb +632 -83
- data/lib/wx/doc/gen/pg/pg_property.rb +381 -77
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +11 -4
- data/lib/wx/doc/gen/pg/property_grid.rb +123 -20
- data/lib/wx/doc/gen/pg/property_grid_event.rb +41 -9
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +273 -34
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +62 -10
- data/lib/wx/doc/gen/pg/property_grid_page.rb +33 -8
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +18 -4
- data/lib/wx/doc/gen/picker_base.rb +22 -5
- data/lib/wx/doc/gen/platform_info.rb +35 -9
- data/lib/wx/doc/gen/popup_window.rb +7 -5
- data/lib/wx/doc/gen/progress_dialog.rb +5 -0
- data/lib/wx/doc/gen/property_sheet_dialog.rb +20 -4
- data/lib/wx/doc/gen/prt/event_list.rb +8 -4
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +3 -1
- data/lib/wx/doc/gen/prt/post_script_dc.rb +3 -2
- data/lib/wx/doc/gen/prt/preview_frame.rb +5 -1
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +4 -0
- data/lib/wx/doc/gen/prt/print_data.rb +31 -3
- data/lib/wx/doc/gen/prt/print_dialog.rb +5 -1
- data/lib/wx/doc/gen/prt/printer.rb +87 -11
- data/lib/wx/doc/gen/prt/printer_dc.rb +3 -1
- data/lib/wx/doc/gen/query_layout_info_event.rb +10 -3
- data/lib/wx/doc/gen/radio_box.rb +28 -10
- data/lib/wx/doc/gen/radio_button.rb +22 -9
- data/lib/wx/doc/gen/rbn/event_list.rb +127 -123
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +82 -3
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +26 -4
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +3 -2
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +50 -12
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +3 -2
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +11 -1
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +21 -11
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +2 -2
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +12 -1
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +16 -4
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +3 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +27 -3
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +3 -1
- data/lib/wx/doc/gen/rearrange_ctrl.rb +5 -2
- data/lib/wx/doc/gen/rearrange_list.rb +12 -4
- data/lib/wx/doc/gen/region.rb +104 -17
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/event_list.rb +116 -112
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +27 -9
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +45 -11
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +23 -14
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +84 -7
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +8 -4
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +8 -2
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +8 -3
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +4 -2
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +6 -3
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +7 -2
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +82 -17
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +54 -11
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +15 -2
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +14 -9
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +4 -1
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +4 -3
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +2 -2
- data/lib/wx/doc/gen/sash_event.rb +13 -4
- data/lib/wx/doc/gen/sash_layout_window.rb +21 -4
- data/lib/wx/doc/gen/sash_window.rb +6 -4
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +28 -10
- data/lib/wx/doc/gen/scrolled_canvas.rb +48 -10
- data/lib/wx/doc/gen/scrolled_control.rb +48 -10
- data/lib/wx/doc/gen/scrolled_window.rb +48 -10
- data/lib/wx/doc/gen/search_ctrl.rb +14 -9
- data/lib/wx/doc/gen/simplebook.rb +8 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +9 -4
- data/lib/wx/doc/gen/sizer.rb +91 -16
- data/lib/wx/doc/gen/sizer_item.rb +21 -4
- data/lib/wx/doc/gen/slider.rb +50 -17
- data/lib/wx/doc/gen/spin_button.rb +24 -10
- data/lib/wx/doc/gen/spin_ctrl.rb +35 -9
- data/lib/wx/doc/gen/spin_ctrl_double.rb +13 -7
- data/lib/wx/doc/gen/spin_double_event.rb +6 -4
- data/lib/wx/doc/gen/spin_event.rb +4 -3
- data/lib/wx/doc/gen/splash_screen.rb +3 -2
- data/lib/wx/doc/gen/splitter_event.rb +12 -4
- data/lib/wx/doc/gen/splitter_window.rb +100 -18
- data/lib/wx/doc/gen/static_bitmap.rb +109 -7
- data/lib/wx/doc/gen/static_box.rb +15 -7
- data/lib/wx/doc/gen/static_box_sizer.rb +3 -2
- data/lib/wx/doc/gen/static_line.rb +7 -4
- data/lib/wx/doc/gen/static_text.rb +10 -6
- data/lib/wx/doc/gen/status_bar.rb +32 -8
- data/lib/wx/doc/gen/stc/event_list.rb +212 -208
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +207 -13
- data/lib/wx/doc/gen/stc/styled_text_event.rb +31 -6
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +7 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +15 -7
- data/lib/wx/doc/gen/system_options.rb +14 -6
- data/lib/wx/doc/gen/system_settings.rb +9 -3
- data/lib/wx/doc/gen/task_bar_button.rb +324 -0
- data/lib/wx/doc/gen/task_bar_icon.rb +26 -8
- data/lib/wx/doc/gen/task_bar_icon_event.rb +5 -3
- data/lib/wx/doc/gen/text_attr.rb +47 -5
- data/lib/wx/doc/gen/text_ctrl.rb +114 -25
- data/lib/wx/doc/gen/text_entry.rb +69 -11
- data/lib/wx/doc/gen/text_entry_dialog.rb +14 -2
- data/lib/wx/doc/gen/text_validator.rb +58 -9
- data/lib/wx/doc/gen/time_picker_ctrl.rb +11 -6
- data/lib/wx/doc/gen/timer.rb +14 -2
- data/lib/wx/doc/gen/timer_event.rb +2 -2
- data/lib/wx/doc/gen/tip_provider.rb +6 -1
- data/lib/wx/doc/gen/toggle_button.rb +73 -6
- data/lib/wx/doc/gen/tool_bar.rb +141 -25
- data/lib/wx/doc/gen/tool_tip.rb +41 -5
- data/lib/wx/doc/gen/toolbook.rb +6 -4
- data/lib/wx/doc/gen/top_level_window.rb +100 -23
- data/lib/wx/doc/gen/tree_ctrl.rb +89 -16
- data/lib/wx/doc/gen/tree_event.rb +9 -4
- data/lib/wx/doc/gen/treebook.rb +16 -4
- data/lib/wx/doc/gen/ui_action_simulator.rb +10 -2
- data/lib/wx/doc/gen/utils.rb +94 -7
- data/lib/wx/doc/gen/v_list_box.rb +27 -2
- data/lib/wx/doc/gen/v_scrolled_window.rb +21 -4
- data/lib/wx/doc/gen/validator.rb +10 -14
- data/lib/wx/doc/gen/variant.rb +7 -0
- data/lib/wx/doc/gen/window.rb +415 -57
- data/lib/wx/doc/gen/window_dc.rb +2 -1
- data/lib/wx/doc/gen/window_disabler.rb +6 -2
- data/lib/wx/doc/gen/with_images.rb +13 -2
- data/lib/wx/doc/gen/wizard.rb +22 -4
- data/lib/wx/doc/gen/wizard_event.rb +5 -4
- data/lib/wx/doc/gen/wizard_page.rb +7 -2
- data/lib/wx/doc/gen/wizard_page_simple.rb +5 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +5 -1
- data/lib/wx/doc/gen/xml_node.rb +33 -4
- data/lib/wx/doc/gen/xml_resource.rb +40 -5
- data/lib/wx/doc/generic_validator.rb +95 -0
- 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/html/simple_html_listbox.rb +22 -0
- 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/num_validator.rb +387 -0
- data/lib/wx/doc/owner_drawn_combobox.rb +96 -0
- data/lib/wx/doc/pg/events.rb +13 -9
- data/lib/wx/doc/pg/numeric_property_validator.rb +33 -0
- 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/static_bitmap.rb +25 -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 +23 -9
- 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/validator.rb +113 -0
- data/lib/wx/doc/variant.rb +164 -160
- data/lib/wx/doc/window.rb +87 -47
- data/lib/wx/doc/window_disabler.rb +10 -6
- data/lib/wx/grid/grid.rb +27 -4
- data/lib/wx/html/events/evt_list.rb +0 -10
- data/lib/wx/html/simple_html_listbox.rb +24 -91
- data/lib/wx/keyword_defs.rb +34 -2
- data/lib/wx/pg/pg_property.rb +22 -0
- data/lib/wx/rbn/ribbon_gallery.rb +0 -21
- 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 +13 -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/aui/aui.rb +1237 -1233
- data/samples/calendar/calendar.rb +293 -289
- data/samples/controls/get_item_sample.rb +83 -79
- data/samples/controls/htlbox.rb +331 -327
- data/samples/dialogs/dialogs.rb +682 -694
- data/samples/dialogs/wizard.rb +52 -55
- data/samples/dragdrop/dragdrop.rb +146 -142
- data/samples/drawing/bitmap.rb +29 -26
- data/samples/drawing/bitmap_image.rb +84 -80
- data/samples/drawing/graphics_drawing.rb +209 -205
- data/samples/drawing/image_prt.rb +344 -340
- data/samples/drawing/maths_images.rb +18 -1
- data/samples/drawing/rmagic_bitmap_image.rb +88 -84
- data/samples/etc/caret.rb +306 -0
- data/samples/etc/miniframe.rb +65 -60
- data/samples/etc/sash.rb +109 -105
- data/samples/etc/scrollwin.rb +86 -80
- data/samples/etc/system_settings.rb +216 -209
- data/samples/event/activation.rb +72 -67
- data/samples/event/event.rb +160 -153
- data/samples/event/threaded.rb +8 -1
- data/samples/event/update_ui_event.rb +67 -60
- data/samples/grid/grid.rb +188 -181
- data/samples/grid/gridtablebase.rb +136 -129
- data/samples/html/html.rb +208 -204
- data/samples/mdi/mdi.rb +59 -54
- data/samples/minimal/minimal.rb +54 -51
- data/samples/minimal/nothing.rb +1 -0
- data/samples/printing/printing.rb +367 -377
- data/samples/printing/printing2.rb +203 -198
- data/samples/propgrid/propgrid.rb +2312 -2308
- data/samples/propgrid/propgrid_minimal.rb +57 -50
- data/samples/ribbon/ribbon.rb +780 -774
- data/samples/sampler/ext.rb +0 -33
- data/samples/sampler/sample.rb +4 -9
- data/samples/sampler.rb +1 -1
- data/samples/splash/splash.rb +118 -116
- data/samples/text/rich_textctrl.rb +207 -201
- data/samples/text/richtext.rb +1409 -1405
- data/samples/text/scintilla.rb +137 -128
- data/samples/text/textctrl.rb +89 -83
- data/samples/text/unicode.rb +175 -168
- data/samples/treectrl/treectrl.rb +1430 -1426
- data/samples/widgets/activityindicator.rb +95 -0
- data/samples/widgets/art/widgets/activityindicator.xpm +278 -0
- data/samples/widgets/art/widgets/bmpbtn.xpm +37 -0
- data/samples/widgets/art/widgets/bmpcombobox.xpm +54 -0
- data/samples/widgets/art/widgets/button.xpm +54 -0
- data/samples/widgets/art/widgets/checkbox.xpm +54 -0
- data/samples/{bigdemo/icons → widgets/art/widgets}/choice.xpm +1 -1
- data/samples/widgets/art/widgets/choicebk.xpm +54 -0
- data/samples/widgets/art/widgets/clrpicker.xpm +193 -0
- data/samples/widgets/art/widgets/combobox.xpm +54 -0
- data/samples/widgets/art/widgets/datepick.xpm +200 -0
- data/samples/widgets/art/widgets/dirctrl.xpm +54 -0
- data/samples/widgets/art/widgets/dirpicker.xpm +213 -0
- data/samples/widgets/art/widgets/filepicker.xpm +214 -0
- data/samples/widgets/art/widgets/fontpicker.xpm +185 -0
- data/samples/widgets/art/widgets/gauge.xpm +54 -0
- data/samples/widgets/art/widgets/header.xpm +54 -0
- data/samples/widgets/art/widgets/hyperlnk.xpm +54 -0
- data/samples/widgets/art/widgets/listbook.xpm +54 -0
- data/samples/widgets/art/widgets/listbox.xpm +54 -0
- data/samples/widgets/art/widgets/native.xpm +81 -0
- data/samples/widgets/art/widgets/notebook.xpm +54 -0
- data/samples/widgets/art/widgets/odcombobox.xpm +54 -0
- data/samples/widgets/art/widgets/radiobox.xpm +54 -0
- data/samples/widgets/art/widgets/scrolbar.xpm +54 -0
- data/samples/widgets/art/widgets/slider.xpm +54 -0
- data/samples/widgets/art/widgets/spinbtn.xpm +40 -0
- data/samples/widgets/art/widgets/statbmp.xpm +40 -0
- data/samples/widgets/art/widgets/statbox.xpm +54 -0
- data/samples/widgets/art/widgets/stattext.xpm +54 -0
- data/samples/widgets/art/widgets/text.xpm +54 -0
- data/samples/widgets/art/widgets/timepick.xpm +207 -0
- data/samples/widgets/art/widgets/toggle.xpm +54 -0
- data/samples/widgets/art/widgets/toucan.png +0 -0
- data/samples/widgets/bmpcombobox.rb +651 -0
- data/samples/widgets/button.rb +462 -0
- data/samples/widgets/checkbox.rb +211 -0
- data/samples/widgets/choice.rb +287 -0
- data/samples/widgets/clrpicker.rb +156 -0
- data/samples/widgets/combobox.rb +516 -0
- data/samples/widgets/datepick.rb +215 -0
- data/samples/widgets/dirctrl.rb +265 -0
- data/samples/widgets/dirpicker.rb +158 -0
- data/samples/widgets/editlbox.rb +122 -0
- data/samples/widgets/filectrl.rb +216 -0
- data/samples/widgets/filepicker.rb +214 -0
- data/samples/widgets/fontpicker.rb +135 -0
- data/samples/widgets/gauge.rb +311 -0
- data/samples/widgets/headerctrl.rb +236 -0
- data/samples/widgets/hyperlink.rb +203 -0
- data/samples/widgets/itemcontainer.rb +185 -0
- data/samples/widgets/listbox.rb +473 -0
- data/samples/widgets/notebook.rb +488 -0
- data/samples/widgets/odcombobox.rb +608 -0
- data/samples/widgets/radiobox.rb +328 -0
- data/samples/widgets/searchctrl.rb +159 -0
- data/samples/widgets/slider.rb +594 -0
- data/samples/widgets/spinbtn.rb +443 -0
- data/samples/widgets/statbmp.rb +130 -0
- data/samples/widgets/static.rb +436 -0
- data/samples/widgets/textctrl.rb +700 -0
- data/samples/widgets/timepick.rb +148 -0
- data/samples/widgets/tn_widgets.png +0 -0
- data/samples/widgets/toggle.rb +385 -0
- data/samples/widgets/widgets.rb +1233 -0
- data/samples/xrc/custom_xrc_sample.rb +47 -41
- data/samples/xrc/xrc_sample.rb +53 -47
- data/tests/media/beep_lo.wav +0 -0
- data/tests/test_event_handling.rb +52 -34
- data/tests/test_events.rb +7 -0
- data/tests/test_item_data.rb +24 -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 +42 -1
- data/tests/test_styled_text_ctrl.rb +46 -0
- data/tests/test_tree_ctrl.rb +138 -0
- data/tests/test_validators.rb +805 -0
- data/tests/test_window.rb +12 -0
- data/tests/testapp_noframe.rb +1 -1
- metadata +113 -138
- data/lib/wx/core/choice.rb +0 -14
- data/lib/wx/core/combo_ctrl.rb +0 -110
- data/samples/bigdemo/About.rbw +0 -39
- data/samples/bigdemo/ColorPanel.rbw +0 -23
- data/samples/bigdemo/GridSimple.rbw +0 -78
- data/samples/bigdemo/MDIDemo.rbw +0 -57
- data/samples/bigdemo/PopupMenu.rbw +0 -146
- data/samples/bigdemo/ShapedWindow.rbw +0 -128
- data/samples/bigdemo/Sizers.rbw +0 -541
- data/samples/bigdemo/bigdemo.rb +0 -817
- data/samples/bigdemo/demoTemplate.rbw +0 -33
- data/samples/bigdemo/helpfile.htb +0 -0
- data/samples/bigdemo/icons/Test 015.jpg +0 -0
- data/samples/bigdemo/icons/Test 015.png +0 -0
- data/samples/bigdemo/icons/choice.bmp +0 -0
- data/samples/bigdemo/icons/combo.bmp +0 -0
- data/samples/bigdemo/icons/combo.xpm +0 -27
- data/samples/bigdemo/icons/copy.xpm +0 -25
- data/samples/bigdemo/icons/cut.xpm +0 -24
- data/samples/bigdemo/icons/gauge.bmp +0 -0
- data/samples/bigdemo/icons/gauge.xpm +0 -27
- data/samples/bigdemo/icons/help.xpm +0 -25
- data/samples/bigdemo/icons/list.bmp +0 -0
- data/samples/bigdemo/icons/list.xpm +0 -27
- data/samples/bigdemo/icons/mondrian.ico +0 -0
- data/samples/bigdemo/icons/mondrian.xpm +0 -44
- data/samples/bigdemo/icons/new.xpm +0 -24
- data/samples/bigdemo/icons/ogl.ico +0 -0
- data/samples/bigdemo/icons/ogl.xpm +0 -45
- data/samples/bigdemo/icons/open.xpm +0 -26
- data/samples/bigdemo/icons/paste.bmp +0 -0
- data/samples/bigdemo/icons/paste.xpm +0 -38
- data/samples/bigdemo/icons/pointy.png +0 -0
- data/samples/bigdemo/icons/preview.xpm +0 -26
- data/samples/bigdemo/icons/print.xpm +0 -26
- data/samples/bigdemo/icons/radio.bmp +0 -0
- data/samples/bigdemo/icons/radio.xpm +0 -27
- data/samples/bigdemo/icons/robert.xpm +0 -415
- data/samples/bigdemo/icons/sashtest.ico +0 -0
- data/samples/bigdemo/icons/save.xpm +0 -25
- data/samples/bigdemo/icons/smiles.bmp +0 -0
- data/samples/bigdemo/icons/smiles.xpm +0 -39
- data/samples/bigdemo/icons/smiley.ico +0 -0
- data/samples/bigdemo/icons/smiley.xpm +0 -42
- data/samples/bigdemo/icons/stattext.xpm +0 -24
- data/samples/bigdemo/icons/test2.bmp +0 -0
- data/samples/bigdemo/icons/test2.png +0 -0
- data/samples/bigdemo/icons/test2.xpm +0 -79
- data/samples/bigdemo/icons/text.bmp +0 -0
- data/samples/bigdemo/icons/text.xpm +0 -27
- data/samples/bigdemo/icons/tog1.bmp +0 -0
- data/samples/bigdemo/icons/tog1.xpm +0 -38
- data/samples/bigdemo/icons/tog2.bmp +0 -0
- data/samples/bigdemo/icons/tog2.xpm +0 -38
- data/samples/bigdemo/icons/wxruby-128x128.png +0 -0
- data/samples/bigdemo/icons/wxwin.ico +0 -0
- data/samples/bigdemo/icons/wxwin16x16.png +0 -0
- data/samples/bigdemo/icons/wxwin16x16.xpm +0 -25
- data/samples/bigdemo/icons/wxwin32x32.png +0 -0
- data/samples/bigdemo/icons/wxwin48x48.png +0 -0
- data/samples/bigdemo/run.rb +0 -98
- data/samples/bigdemo/tips.txt +0 -7
- data/samples/bigdemo/utils.rb +0 -20
- data/samples/bigdemo/wxArtProvider.rbw +0 -282
- data/samples/bigdemo/wxBitmapButton.rbw +0 -65
- data/samples/bigdemo/wxButton.rbw +0 -64
- data/samples/bigdemo/wxCalendarCtrl.rbw +0 -59
- data/samples/bigdemo/wxCheckBox.rbw +0 -50
- data/samples/bigdemo/wxCheckListBox.rbw +0 -65
- data/samples/bigdemo/wxChoice.rbw +0 -47
- data/samples/bigdemo/wxChoicebook.rbw +0 -78
- data/samples/bigdemo/wxColourDialog.rbw +0 -33
- data/samples/bigdemo/wxComboBox.rbw +0 -77
- data/samples/bigdemo/wxCursor.rbw +0 -136
- data/samples/bigdemo/wxDialog.rbw +0 -74
- data/samples/bigdemo/wxDirDialog.rbw +0 -29
- data/samples/bigdemo/wxDragImage.rbw +0 -70
- data/samples/bigdemo/wxFileDialog.rbw +0 -37
- data/samples/bigdemo/wxFileDialog_Save.rbw +0 -35
- data/samples/bigdemo/wxFindReplaceDialog.rbw +0 -82
- data/samples/bigdemo/wxFontDialog.rbw +0 -200
- data/samples/bigdemo/wxFrame.rbw +0 -53
- data/samples/bigdemo/wxGauge.rbw +0 -65
- data/samples/bigdemo/wxGenericDirCtrl.rbw +0 -74
- data/samples/bigdemo/wxGrid.rbw +0 -66
- data/samples/bigdemo/wxHtmlHelpController.rbw +0 -52
- data/samples/bigdemo/wxListBox.rbw +0 -140
- data/samples/bigdemo/wxListCtrl_virtual.rbw +0 -112
- data/samples/bigdemo/wxMDIWindows.rbw +0 -50
- data/samples/bigdemo/wxMenu.rbw +0 -247
- data/samples/bigdemo/wxMessageDialog.rbw +0 -27
- data/samples/bigdemo/wxMiniFrame.rbw +0 -70
- data/samples/bigdemo/wxMultipleChoiceDialog.rbw +0 -29
- data/samples/bigdemo/wxNotebook.rbw +0 -136
- data/samples/bigdemo/wxProgressDialog.rbw +0 -43
- data/samples/bigdemo/wxRadioBox.rbw +0 -72
- data/samples/bigdemo/wxRadioButton.rbw +0 -125
- data/samples/bigdemo/wxSashWindow.rbw +0 -141
- data/samples/bigdemo/wxScrolledMessageDialog.rbw +0 -57
- data/samples/bigdemo/wxScrolledWindow.rbw +0 -199
- data/samples/bigdemo/wxSingleChoiceDialog.rbw +0 -33
- data/samples/bigdemo/wxSlider.rbw +0 -42
- data/samples/bigdemo/wxSpinButton.rbw +0 -50
- data/samples/bigdemo/wxSpinCtrl.rbw +0 -51
- data/samples/bigdemo/wxSplitterWindow.rbw +0 -63
- data/samples/bigdemo/wxStaticBitmap.rbw +0 -47
- data/samples/bigdemo/wxStaticText.rbw +0 -55
- data/samples/bigdemo/wxStatusBar.rbw +0 -126
- data/samples/bigdemo/wxTextCtrl.rbw +0 -149
- data/samples/bigdemo/wxTextEntryDialog.rbw +0 -31
- data/samples/bigdemo/wxToggleButton.rbw +0 -49
- data/samples/bigdemo/wxToolBar.rbw +0 -131
- data/samples/bigdemo/wxTreeCtrl.rbw +0 -191
- data/samples/caret/caret.rb +0 -298
- data/samples/caret/mondrian.xpm +0 -44
- data/samples/controls/books.rb +0 -189
- data/samples/controls/choice.xpm +0 -27
- data/samples/controls/combo.xpm +0 -27
- data/samples/controls/controls.rb +0 -1099
- data/samples/controls/gauge.xpm +0 -27
- data/samples/controls/list.xpm +0 -27
- data/samples/controls/mondrian.ico +0 -0
- data/samples/controls/mondrian.xpm +0 -44
- data/samples/controls/radio.xpm +0 -27
- data/samples/controls/stattext.xpm +0 -24
- data/samples/controls/test2.bmp +0 -0
- data/samples/controls/text.xpm +0 -27
- data/samples/controls/tn_books.png +0 -0
- data/samples/controls/tn_controls.png +0 -0
- data/samples/etc/choice.rb +0 -87
- data/samples/etc/tn_choice.png +0 -0
- data/samples/text/mondrian.ico +0 -0
- data/samples/text/mondrian.xpm +0 -44
- /data/samples/{caret → etc}/tn_caret.png +0 -0
@@ -34,6 +34,7 @@ module Wx::PG
|
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
37
|
+
# @wxrb_require USE_PROPGRID
|
37
38
|
class PG_GETPROPERTYVALUES_FLAGS < Wx::Enum
|
38
39
|
|
39
40
|
# Flag for {Wx::PG::PropertyGridInterface::SetProperty}* functions, {Wx::PG::PropertyGridInterface#hide_property}, etc.
|
@@ -70,6 +71,7 @@ module Wx::PG
|
|
70
71
|
#
|
71
72
|
#
|
72
73
|
#
|
74
|
+
# @wxrb_require USE_PROPGRID
|
73
75
|
class PG_MISC_ARG_FLAGS < Wx::Enum
|
74
76
|
|
75
77
|
# Get/Store full value instead of displayed value.
|
@@ -110,6 +112,7 @@ module Wx::PG
|
|
110
112
|
#
|
111
113
|
#
|
112
114
|
#
|
115
|
+
# @wxrb_require USE_PROPGRID
|
113
116
|
class PG_SETVALUE_FLAGS < Wx::Enum
|
114
117
|
|
115
118
|
#
|
@@ -222,8 +225,9 @@ module Wx::PG
|
|
222
225
|
|
223
226
|
#
|
224
227
|
#
|
225
|
-
#
|
228
|
+
# ## wxPGProperty Flags
|
226
229
|
#
|
230
|
+
# @wxrb_require USE_PROPGRID
|
227
231
|
class PGPropertyFlags < Wx::Enum
|
228
232
|
|
229
233
|
# Indicates bold font.
|
@@ -309,13 +313,14 @@ module Wx::PG
|
|
309
313
|
end # PGPropertyFlags
|
310
314
|
|
311
315
|
# {Wx::PG::PGProperty} is base class for all {Wx::PG::PropertyGrid} properties and as such it is not intended to be instantiated directly.
|
316
|
+
#
|
312
317
|
# In sections below we cover few related topics.
|
313
318
|
#
|
314
319
|
# - Supplied Ready-to-use Property Classes
|
315
320
|
#
|
316
321
|
# - Creating Custom Properties
|
317
322
|
#
|
318
|
-
#
|
323
|
+
# ## Supplied Ready-to-use Property Classes
|
319
324
|
#
|
320
325
|
# Here is a list and short description of supplied fully-functional property classes. They are located in either {Wx::props.h} or {Wx::advprops.h}.
|
321
326
|
#
|
@@ -359,28 +364,65 @@ module Wx::PG
|
|
359
364
|
#
|
360
365
|
# - {Wx::PG::UIntProperty}
|
361
366
|
#
|
362
|
-
#
|
367
|
+
# ## wxPropertyCategory
|
363
368
|
#
|
364
369
|
# Not an actual property per se, but a header for a group of properties. Regardless inherits from {Wx::PG::PGProperty}, and supports displaying 'labels' for columns other than the first one. Easiest way to set category's label for second column is to call {Wx::PG::PGProperty#set_value} with string argument.
|
365
370
|
#
|
366
|
-
#
|
371
|
+
# ## wxStringProperty
|
367
372
|
#
|
368
373
|
# Simple string property.
|
369
374
|
# Supported special attributes:
|
370
375
|
#
|
371
376
|
# - {Wx::PG::PG_STRING_PASSWORD}: Set to true in order to echo value as asterisks and to use {Wx::TE_PASSWORD} on the editor ({Wx::TextCtrl}).
|
372
377
|
# - {Wx::PG::PG_ATTR_AUTOCOMPLETE}: Set to true to enable auto-completion (use a {Wx::ArrayString} value), and is also supported by any property that happens to use a {Wx::TextCtrl}-based editor.
|
373
|
-
# {Wx::PG::StringProperty} has a special trait: if it has value of "<composed>", and also has child properties, then its displayed value becomes composition of child property values, similar as with {Wx::PG::FontProperty}, for instance.
|
374
378
|
#
|
375
|
-
#
|
379
|
+
# <div class="wxrb-remark">
|
380
|
+
# <b>Remark:</b>
|
381
|
+
# <p>{Wx::PG::StringProperty} has a special trait: if it has value of "<composed>", and also has child properties, then its displayed value becomes composition of child property values, similar as with {Wx::PG::FontProperty}, for instance.
|
382
|
+
# </p>
|
383
|
+
# </div>
|
384
|
+
#
|
385
|
+
# ## wxIntProperty
|
386
|
+
#
|
387
|
+
# It derives from {Wx::PG::NumericProperty} and displays value as a signed long integer. {Wx::PG::IntProperty} seamlessly supports 64-bit integers (i.e. {Wx::LongLong}) on overflow. To safely convert variant to integer, use code like this:
|
388
|
+
#
|
389
|
+
# ```
|
390
|
+
# wxLongLong ll;
|
391
|
+
# ll << property->GetValue();
|
392
|
+
#
|
393
|
+
# // or
|
394
|
+
# wxLongLong ll = propertyGrid->GetPropertyValueAsLong(property);
|
395
|
+
# ```
|
396
|
+
#
|
397
|
+
# Getting 64-bit value:
|
398
|
+
# ```
|
399
|
+
# wxLongLong_t value = pg->GetPropertyValueAsLongLong();
|
400
|
+
#
|
401
|
+
# // or
|
402
|
+
#
|
403
|
+
# wxLongLong value;
|
404
|
+
# wxVariant variant = property->GetValue();
|
405
|
+
# if ( variant.IsType(wxPG_VARIANT_TYPE_LONGLONG) )
|
406
|
+
# value = variant.GetLongLong();
|
407
|
+
# else
|
408
|
+
# value = variant.GetLong();
|
409
|
+
# ```
|
410
|
+
#
|
411
|
+
# Setting 64-bit value:
|
412
|
+
# ```
|
413
|
+
# pg->SetPropertyValue(longLongVal);
|
414
|
+
#
|
415
|
+
# // or
|
416
|
+
#
|
417
|
+
# property->SetValue(WXVARIANT(longLongVal));
|
418
|
+
# ```
|
376
419
|
#
|
377
|
-
# It derives from {Wx::PG::NumericProperty} and displays value as a signed long integer.
|
378
420
|
# Supported special attributes:
|
379
|
-
#
|
421
|
+
#
|
380
422
|
# - {Wx::PG::PG_ATTR_MIN}, {Wx::PG::PG_ATTR_MAX} to specify acceptable value range.
|
381
423
|
# - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
|
382
424
|
#
|
383
|
-
#
|
425
|
+
# ## wxUIntProperty
|
384
426
|
#
|
385
427
|
# Like {Wx::PG::IntProperty}, but displays value as unsigned int. To set the prefix used globally, manipulate {Wx::PG::PG_UINT_PREFIX} string attribute. To set the globally used base, manipulate {Wx::PG::PG_UINT_BASE} int attribute. Regardless of current prefix, understands (hex) values starting with both "0x" and "$" (apart from edit mode). Like {Wx::PG::IntProperty}, {Wx::PG::UIntProperty} seamlessly supports 64-bit unsigned integers (i.e. {Wx::ULongLong}). Same {Wx::Variant} safety rules apply.
|
386
428
|
# Supported special attributes:
|
@@ -389,9 +431,14 @@ module Wx::PG
|
|
389
431
|
# - {Wx::PG::PG_UINT_BASE}: Defines base. Valid constants are {Wx::PG::PG_BASE_OCT}, {Wx::PG::PG_BASE_DEC}, {Wx::PG::PG_BASE_HEX} and {Wx::PG::PG_BASE_HEXL} (lowercase characters). Arbitrary bases are <b>not</b> supported.
|
390
432
|
# - {Wx::PG::PG_UINT_PREFIX}: Defines displayed prefix. Possible values are {Wx::PG::PG_PREFIX_NONE}, {Wx::PG::PG_PREFIX_0x} and {Wx::PG::PG_PREFIX_DOLLAR_SIGN}. Only {Wx::PG::PG_PREFIX_NONE} works with decimal and octal numbers.
|
391
433
|
# - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
|
392
|
-
# For example how to use seamless 64-bit integer support, see {Wx::PG::IntProperty} documentation (just use {Wx::ULongLong} instead of {Wx::LongLong}).
|
393
434
|
#
|
394
|
-
#
|
435
|
+
# <div class="wxrb-remark">
|
436
|
+
# <b>Remark:</b>
|
437
|
+
# <p>For example how to use seamless 64-bit integer support, see {Wx::PG::IntProperty} documentation (just use {Wx::ULongLong} instead of {Wx::LongLong}).
|
438
|
+
# </p>
|
439
|
+
# </div>
|
440
|
+
#
|
441
|
+
# ## wxFloatProperty
|
395
442
|
#
|
396
443
|
# Like {Wx::PG::StringProperty}, but converts text to a double-precision floating point. Default float-to-text precision is 6 decimals, but this can be changed by modifying {Wx::PG::PG_FLOAT_PRECISION} attribute.
|
397
444
|
# Note that when displaying the value, sign is omitted if the resulting textual representation is effectively zero (for example, -0.0001 with precision of 3 will become 0.0 instead of -0.0). This behaviour is unlike what C standard library does, but should result in better end-user experience in almost all cases.
|
@@ -401,7 +448,7 @@ module Wx::PG
|
|
401
448
|
# - {Wx::PG::PG_FLOAT_PRECISION}: Sets the (max) precision used when floating point value is rendered as text. The default -1 means shortest floating-point 6-digit representation.
|
402
449
|
# - {Wx::PG::PG_ATTR_SPINCTRL_STEP}, {Wx::PG::PG_ATTR_SPINCTRL_WRAP}, {Wx::PG::PG_ATTR_SPINCTRL_MOTION}: Sets SpinCtrl editor parameters.
|
403
450
|
#
|
404
|
-
#
|
451
|
+
# ## wxBoolProperty
|
405
452
|
#
|
406
453
|
# Represents a boolean value. {Wx::Choice} is used as editor control, by the default. {Wx::PG::PG_BOOL_USE_CHECKBOX} attribute can be set to true in order to use check box instead.
|
407
454
|
# Supported special attributes:
|
@@ -409,7 +456,7 @@ module Wx::PG
|
|
409
456
|
# - {Wx::PG::PG_BOOL_USE_CHECKBOX}: If set to true uses check box editor instead of combo box.
|
410
457
|
# - {Wx::PG::PG_BOOL_USE_DOUBLE_CLICK_CYCLING}: If set to true cycles combo box instead showing the list.
|
411
458
|
#
|
412
|
-
#
|
459
|
+
# ## wxLongStringProperty
|
413
460
|
#
|
414
461
|
# Like {Wx::PG::StringProperty}, but has a button that triggers a small text editor dialog. Note that in long string values, some control characters are escaped: tab is represented by "\t", line break by "\n", carriage return by "\r" and backslash character by "\\". If another character is preceded
|
415
462
|
# by backslash, the backslash is skipped.
|
@@ -450,14 +497,14 @@ module Wx::PG
|
|
450
497
|
# Supported special attributes:
|
451
498
|
# - ::{Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the text editor dialog.
|
452
499
|
#
|
453
|
-
#
|
500
|
+
# ## {Wx::PG::DirProperty}
|
454
501
|
#
|
455
502
|
# Like {Wx::PG::LongStringProperty}, but the button triggers dir selector instead.
|
456
503
|
#
|
457
504
|
# Supported special attributes:
|
458
505
|
# - ::{Wx::PG::PG_DIALOG_TITLE}: Sets specific title for the dir selector.
|
459
506
|
#
|
460
|
-
#
|
507
|
+
# ## {Wx::PG::FileProperty}
|
461
508
|
#
|
462
509
|
# Like {Wx::PG::LongStringProperty}, but the button triggers file selector instead.
|
463
510
|
# Default wildcard is "All files..." but this can be changed by setting
|
@@ -473,12 +520,12 @@ module Wx::PG
|
|
473
520
|
# given path string.
|
474
521
|
# - ::{Wx::PG::PG_FILE_INITIAL_PATH}: Sets the initial path of where to look for files.
|
475
522
|
#
|
476
|
-
#
|
523
|
+
# ## {Wx::PG::EnumProperty}
|
477
524
|
#
|
478
525
|
# Represents a single selection from a list of choices -
|
479
526
|
# {Wx::OwnerDrawnComboBox} is used to edit the value.
|
480
527
|
#
|
481
|
-
#
|
528
|
+
# ## {Wx::PG::FlagsProperty}
|
482
529
|
#
|
483
530
|
# Represents a bit set that fits in a long integer. {Wx::PG::BoolProperty} sub-
|
484
531
|
# properties are created for editing individual bits. Textctrl is created to
|
@@ -491,7 +538,7 @@ module Wx::PG
|
|
491
538
|
#
|
492
539
|
# {Wx::PG::FlagsProperty} supports the same attributes as {Wx::PG::BoolProperty}.
|
493
540
|
#
|
494
|
-
#
|
541
|
+
# ## {Wx::PG::ArrayStringProperty}
|
495
542
|
#
|
496
543
|
# Property that manages a list of strings. Allows editing of a list
|
497
544
|
# of strings in {Wx::TextCtrl} and in a separate dialog.
|
@@ -501,7 +548,7 @@ module Wx::PG
|
|
501
548
|
# - ::{Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the editor dialog.
|
502
549
|
# Default is comma (',').
|
503
550
|
#
|
504
|
-
#
|
551
|
+
# ## {Wx::PG::DateProperty}
|
505
552
|
#
|
506
553
|
# Property representing {Wx::DateTime}. Default editor is DatePickerCtrl,
|
507
554
|
# although TextCtrl should work as well.
|
@@ -513,7 +560,7 @@ module Wx::PG
|
|
513
560
|
# Default is ::{Wx::DP_DEFAULT} | ::{Wx::DP_SHOWCENTURY}. Using ::{Wx::DP_ALLOWNONE}
|
514
561
|
# enables additional support for unspecified property value.
|
515
562
|
#
|
516
|
-
#
|
563
|
+
# ## {Wx::PG::EditEnumProperty}
|
517
564
|
#
|
518
565
|
# Represents a string that can be freely edited or selected from list of choices -
|
519
566
|
# custom combobox control is used to edit the value.
|
@@ -521,7 +568,7 @@ module Wx::PG
|
|
521
568
|
# Uses int value, similar to {Wx::PG::EnumProperty}, unless text entered by user is
|
522
569
|
# is not in choices (in which case string value is used).
|
523
570
|
#
|
524
|
-
#
|
571
|
+
# ## {Wx::PG::MultiChoiceProperty}
|
525
572
|
#
|
526
573
|
# Allows editing a multiple selection from a list of strings. This is
|
527
574
|
# property is pretty much built around concept of {Wx::MultiChoiceDialog}.
|
@@ -534,7 +581,7 @@ module Wx::PG
|
|
534
581
|
# is 2, then those strings will placed behind valid choices.
|
535
582
|
# - ::{Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the editor dialog.
|
536
583
|
#
|
537
|
-
#
|
584
|
+
# ## {Wx::PG::ImageFileProperty}
|
538
585
|
#
|
539
586
|
# Property representing image file(name). Like {Wx::PG::FileProperty},
|
540
587
|
# but has thumbnail of the image in front of the filename
|
@@ -549,7 +596,7 @@ module Wx::PG
|
|
549
596
|
# - {Wx::PG::PG_FILE_SHOW_RELATIVE_PATH}: If set, then the filename is shown relative to the given path string.
|
550
597
|
# - {Wx::PG::PG_FILE_INITIAL_PATH}: Sets the initial path of where to look for files.
|
551
598
|
#
|
552
|
-
#
|
599
|
+
# ## wxColourProperty
|
553
600
|
#
|
554
601
|
# <b>Useful alternate editor:</b> Choice.
|
555
602
|
# Represents {Wx::Colour}. {Wx::Button} is used to trigger a colour picker dialog. There are various sub-classing opportunities with this class. See below in {Wx::PG::SystemColourProperty} section for details.
|
@@ -557,14 +604,14 @@ module Wx::PG
|
|
557
604
|
#
|
558
605
|
# - {Wx::PG::PG_COLOUR_HAS_ALPHA}: If set to true allows user to edit the alpha colour component.
|
559
606
|
#
|
560
|
-
#
|
607
|
+
# ## wxFontProperty
|
561
608
|
#
|
562
609
|
# Represents {Wx::Font}. Various sub-properties are used to edit individual subvalues.
|
563
610
|
# Supported special attributes:
|
564
611
|
#
|
565
612
|
# - {Wx::PG::PG_DIALOG_TITLE}: Sets a specific title for the font dialog.
|
566
613
|
#
|
567
|
-
#
|
614
|
+
# ## wxSystemColourProperty
|
568
615
|
#
|
569
616
|
# Represents {Wx::Colour} and a system colour index. {Wx::Choice} is used to edit the value. Drop-down list has color images. Note that value type is {Wx::PG::ColourPropertyValue} instead of {Wx::Colour} (which {Wx::PG::ColourProperty} uses).
|
570
617
|
#
|
@@ -587,11 +634,11 @@ module Wx::PG
|
|
587
634
|
# def get_colour(index) end
|
588
635
|
# ```
|
589
636
|
#
|
590
|
-
#
|
637
|
+
# ## wxCursorProperty
|
591
638
|
#
|
592
|
-
# Represents a {Wx::Cursor}. {Wx::Choice} is used to edit the value. Drop-down list has cursor images under some (
|
639
|
+
# Represents a {Wx::Cursor}. {Wx::Choice} is used to edit the value. Drop-down list has cursor images under some (WXMSW) platforms.
|
593
640
|
#
|
594
|
-
#
|
641
|
+
# ## Creating Custom Properties
|
595
642
|
#
|
596
643
|
# New properties can be created by subclassing {Wx::PG::PGProperty} or one of the provided property classes, and (re)implementing necessary member functions. Below, each virtual member function has ample documentation about its purpose and any odd details which to keep in mind.
|
597
644
|
# Here is a very simple 'template' code:
|
@@ -629,8 +676,6 @@ module Wx::PG
|
|
629
676
|
# end
|
630
677
|
# ```
|
631
678
|
#
|
632
|
-
# ===
|
633
|
-
#
|
634
679
|
# Category: {Wx::PG::PropertyGrid}
|
635
680
|
# @see wxPropertyGrid Property Attribute Identifiers
|
636
681
|
#
|
@@ -647,12 +692,21 @@ module Wx::PG
|
|
647
692
|
# @see wxPropertyGrid Property Attribute Identifiers
|
648
693
|
#
|
649
694
|
#
|
695
|
+
# @wxrb_require USE_PROPGRID
|
650
696
|
class PGProperty < Object
|
651
697
|
|
652
698
|
# This virtual function is called after m_value has been set.
|
699
|
+
#
|
700
|
+
# <div class="wxrb-remark">
|
701
|
+
# <b>Remark:</b>
|
702
|
+
# <p>
|
703
|
+
#
|
653
704
|
# - If m_value was set to Null variant (i.e. unspecified value), {Wx::PG::PGProperty#on_set_value} will not be called.
|
654
705
|
# - m_value may be of any variant type. Typically properties internally support only one variant type, and as such {Wx::PG::PGProperty#on_set_value} provides a good opportunity to convert supported values into internal type.
|
655
|
-
# - Default implementation does nothing.
|
706
|
+
# - Default implementation does nothing.
|
707
|
+
#
|
708
|
+
# </p>
|
709
|
+
# </div>
|
656
710
|
# @return [void]
|
657
711
|
def on_set_value; end
|
658
712
|
|
@@ -661,18 +715,31 @@ module Wx::PG
|
|
661
715
|
def do_get_value; end
|
662
716
|
|
663
717
|
# Implement this function in derived class to check the value.
|
718
|
+
#
|
664
719
|
# Return true if it is ok. Returning false prevents property change events from occurring.
|
665
720
|
#
|
666
|
-
# -
|
721
|
+
# <div class="wxrb-remark">
|
722
|
+
# <b>Remark:</b>
|
723
|
+
# <p>
|
724
|
+
#
|
725
|
+
# - Default implementation always returns true.
|
726
|
+
#
|
727
|
+
# </p>
|
728
|
+
# </div>
|
667
729
|
# @param value [Wx::Variant]
|
668
730
|
# @param validationInfo [Wx::PG::PGValidationInfo]
|
669
731
|
# @return [Boolean]
|
670
732
|
def validate_value(value, validationInfo) end
|
671
733
|
|
672
734
|
# Converts text into {Wx::Variant} value appropriate for this property.
|
735
|
+
#
|
673
736
|
# Returns true if resulting {Wx::Variant} value was different.
|
674
737
|
#
|
675
|
-
#
|
738
|
+
# <div class="wxrb-remark">
|
739
|
+
# <b>Remark:</b>
|
740
|
+
# <p>Default implementation converts semicolon delimited tokens into child values. Only works for properties with children.
|
741
|
+
# </p>
|
742
|
+
# </div>
|
676
743
|
#
|
677
744
|
# You might want to take into account that m_value is Null variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
|
678
745
|
# @param variant [Wx::Variant] On function entry this is the old value (should not be {Wx::NullVariant} in normal cases). Translated value must be assigned back to it.
|
@@ -682,12 +749,20 @@ module Wx::PG
|
|
682
749
|
def string_to_value(variant, text, argFlags=0) end
|
683
750
|
|
684
751
|
# Converts integer (possibly a choice selection) into {Wx::Variant} value appropriate for this property.
|
752
|
+
#
|
685
753
|
# Returns true if resulting {Wx::Variant} value was different.
|
686
754
|
#
|
755
|
+
# <div class="wxrb-remark">
|
756
|
+
# <b>Remark:</b>
|
757
|
+
# <p>
|
758
|
+
#
|
687
759
|
# - If property is not supposed to use choice or spinctrl or other editor with int-based value, it is not necessary to implement this method.
|
688
760
|
# - Default implementation simply assign given int to m_value.
|
689
761
|
# - If property uses choice control, and displays a dialog on some choice items, then it is preferred to display that dialog in IntToValue instead of OnEvent.
|
690
|
-
# - You might want to take into account that m_value is Mull variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
|
762
|
+
# - You might want to take into account that m_value is Mull variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
|
763
|
+
#
|
764
|
+
# </p>
|
765
|
+
# </div>
|
691
766
|
# @param variant [Wx::Variant] On function entry this is the old value (should not be {Wx::NullVariant} in normal cases). Translated value must be assigned back to it.
|
692
767
|
# @param number [Integer] Integer to be translated into variant.
|
693
768
|
# @param argFlags [Integer] If {Wx::PG::PG_MISC_ARG_FLAGS::PG_FULL_VALUE} is set, returns complete, storable value instead of displayable one.
|
@@ -695,13 +770,19 @@ module Wx::PG
|
|
695
770
|
def int_to_value(variant, number, argFlags=0) end
|
696
771
|
|
697
772
|
# Converts property value into a text representation.
|
698
|
-
#
|
773
|
+
#
|
774
|
+
# <div class="wxrb-remark">
|
775
|
+
# <b>Remark:</b>
|
776
|
+
# <p>Default implementation calls {Wx::PG::PGProperty#generate_composed_value}.
|
777
|
+
# </p>
|
778
|
+
# </div>
|
699
779
|
# @param value [Wx::Variant] Value to be converted.
|
700
780
|
# @param argFlags [Integer] If 0 (default value), then displayed string is returned. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_FULL_VALUE} is set, returns complete, storable string value instead of displayable. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_EDITABLE_VALUE} is set, returns string value that must be editable in textctrl. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_COMPOSITE_FRAGMENT} is set, returns text that is appropriate to display as a part of string property's composite text representation.
|
701
781
|
# @return [String]
|
702
782
|
def value_to_string(value, argFlags=0) end
|
703
783
|
|
704
784
|
# Converts string to a value, and if successful, calls {Wx::PG::PGProperty#set_value} on it.
|
785
|
+
#
|
705
786
|
# Default behaviour is to do nothing.
|
706
787
|
#
|
707
788
|
# true if value was changed.
|
@@ -712,6 +793,7 @@ module Wx::PG
|
|
712
793
|
alias_method :value_from_string=, :set_value_from_string
|
713
794
|
|
714
795
|
# Converts integer to a value, and if successful, calls {Wx::PG::PGProperty#set_value} on it.
|
796
|
+
#
|
715
797
|
# Default behaviour is to do nothing.
|
716
798
|
#
|
717
799
|
# true if value was changed.
|
@@ -722,16 +804,25 @@ module Wx::PG
|
|
722
804
|
alias_method :value_from_int=, :set_value_from_int
|
723
805
|
|
724
806
|
# Returns size of the custom painted image in front of property.
|
807
|
+
#
|
725
808
|
# This method must be overridden to return non-default value if OnCustomPaint is to be called.
|
726
809
|
#
|
810
|
+
# <div class="wxrb-remark">
|
811
|
+
# <b>Remark:</b>
|
812
|
+
# <p>
|
813
|
+
#
|
727
814
|
# - Default behaviour is to return {size(0,0)}, which means no image.
|
728
815
|
# - Default image width or height is indicated with dimension -1.
|
729
|
-
# - You can also return {Wx::PG::PG_DEFAULT_IMAGE_SIZE} which equals {Wx::DEFAULT_SIZE}.
|
816
|
+
# - You can also return {Wx::PG::PG_DEFAULT_IMAGE_SIZE} which equals {Wx::DEFAULT_SIZE}.
|
817
|
+
#
|
818
|
+
# </p>
|
819
|
+
# </div>
|
730
820
|
# @param item [Integer] Normally -1, but can be an index to the property's list of items.
|
731
821
|
# @return [Wx::Size]
|
732
822
|
def on_measure_image(item=-1) end
|
733
823
|
|
734
824
|
# Events received by editor widgets are processed here.
|
825
|
+
#
|
735
826
|
# Note that editor class usually processes most events. Some, such as button press events of TextCtrlAndButton class, can be handled here. Also, if custom handling for regular events is desired, then that can also be done (for example, {Wx::PG::SystemColourProperty} custom handles {Wx::EVT_CHOICE} to display colour picker dialog when 'custom' selection is made).
|
736
827
|
# If the event causes value to be changed, {Wx::PG::PGProperty#set_value_in_event} should be called to set the new value.
|
737
828
|
# The parameter event is the associated {Wx::Event}.
|
@@ -740,7 +831,14 @@ module Wx::PG
|
|
740
831
|
#
|
741
832
|
# return true if any changes in value should be reported.
|
742
833
|
#
|
743
|
-
# -
|
834
|
+
# <div class="wxrb-remark">
|
835
|
+
# <b>Remark:</b>
|
836
|
+
# <p>
|
837
|
+
#
|
838
|
+
# - If property uses choice control, and displays a dialog on some choice items, then it is preferred to display that dialog in IntToValue instead of OnEvent.
|
839
|
+
#
|
840
|
+
# </p>
|
841
|
+
# </div>
|
744
842
|
# @param propgrid [Wx::PG::PropertyGrid]
|
745
843
|
# @param wnd_primary [Wx::Window]
|
746
844
|
# @param event [Wx::Event]
|
@@ -748,6 +846,7 @@ module Wx::PG
|
|
748
846
|
def on_event(propgrid, wnd_primary, event) end
|
749
847
|
|
750
848
|
# Called after value of a child property has been altered.
|
849
|
+
#
|
751
850
|
# Must return new value of the whole property (after any alterations warranted by child's new value).
|
752
851
|
# Note that this function is usually called at the time that value of this property, or given child property, is still pending for change, and as such, result of {Wx::PG::PGProperty#get_value} or m_value should not be relied on.
|
753
852
|
# Sample pseudo-code implementation:
|
@@ -784,7 +883,8 @@ module Wx::PG
|
|
784
883
|
def do_get_editor_class; end
|
785
884
|
|
786
885
|
# Returns pointer to the {Wx::Validator} that should be used with the editor of this property (NULL for no validator).
|
787
|
-
#
|
886
|
+
#
|
887
|
+
# Setting validator explicitly via \#set_property_validator will override this.
|
788
888
|
# In most situations, code like this should work well:
|
789
889
|
#
|
790
890
|
# ```ruby
|
@@ -807,18 +907,30 @@ module Wx::PG
|
|
807
907
|
# end
|
808
908
|
# ```
|
809
909
|
#
|
810
|
-
#
|
910
|
+
# <div class="wxrb-remark">
|
911
|
+
# <b>Remark:</b>
|
912
|
+
# <p>You can get common filename validator by returning {Wx::PG::FileProperty.get_class_validator}. {Wx::PG::DirProperty}, for example, uses it.
|
913
|
+
# </p>
|
914
|
+
# </div>
|
811
915
|
# @return [Wx::Validator]
|
812
916
|
def do_get_validator; end
|
813
917
|
|
814
918
|
# Override to paint an image in front of the property value text or drop-down list item (but only if {Wx::PG::PGProperty#on_measure_image} is overridden as well).
|
919
|
+
#
|
815
920
|
# If property's {Wx::PG::PGProperty#on_measure_image} returns size that has height != 0 but less than row height ( < 0 has special meanings), {Wx::PG::PropertyGrid} calls this method to draw a custom image in a limited area in front of the editor control or value text/graphics, and if control has drop-down list, then the image is drawn there as well (even in the case {Wx::PG::PGProperty#on_measure_image} returned higher height than row height).
|
816
921
|
# NOTE: Following applies when {Wx::PG::PGProperty#on_measure_image} returns a "flexible" height ( using <code>wxPG_FLEXIBLE_SIZE(W,H)</code> macro), which implies variable height items: If (rect.x+rect.width) is < 0, then this is a measure item call, which means that dc is invalid and only thing that should be done is to set paintdata.m_drawnHeight to the height of the image of item at index paintdata.m_choiceItem. This call may be done even as often as once every drop-down popup show.
|
817
922
|
#
|
923
|
+
# <div class="wxrb-remark">
|
924
|
+
# <b>Remark:</b>
|
925
|
+
# <p>
|
926
|
+
#
|
818
927
|
# - You can actually exceed rect width, but if you do so then paintdata.m_drawnWidth must be set to the full width drawn in pixels.
|
819
928
|
# - Due to technical reasons, rect's height will be default even if custom height was reported during measure call.
|
820
929
|
# - Brush is guaranteed to be default background colour. It has been already used to clear the background of area being painted. It can be modified.
|
821
930
|
# - Pen is guaranteed to be 1-wide 'black' (or whatever is the proper colour) pen for drawing framing rectangle. It can be changed as well.
|
931
|
+
#
|
932
|
+
# </p>
|
933
|
+
# </div>
|
822
934
|
# @see Wx::PG::PGProperty#value_to_string
|
823
935
|
# @param dc [Wx::DC] {Wx::DC} to paint on.
|
824
936
|
# @param rect [Wx::Rect] Box reserved for custom graphics. Includes surrounding rectangle, if any. If x+width is < 0, then this is a measure item call (see above).
|
@@ -827,6 +939,7 @@ module Wx::PG
|
|
827
939
|
def on_custom_paint(dc, rect, paintdata) end
|
828
940
|
|
829
941
|
# Returns which choice is currently selected.
|
942
|
+
#
|
830
943
|
# Only applies to properties which have choices.
|
831
944
|
# Needs to reimplemented in derived class if property value does not map directly to a choice. Integer as index, bool, and string usually do.
|
832
945
|
# @return [Integer]
|
@@ -834,20 +947,27 @@ module Wx::PG
|
|
834
947
|
alias_method :choice_selection, :get_choice_selection
|
835
948
|
|
836
949
|
# Refresh values of child properties.
|
950
|
+
#
|
837
951
|
# Automatically called after value is set.
|
838
952
|
# @return [void]
|
839
953
|
def refresh_children; end
|
840
954
|
|
841
955
|
# Reimplement this member function to add special handling for attributes of this property.
|
956
|
+
#
|
842
957
|
# Return false to have the attribute automatically stored in m_attributes. Default implementation simply does that and nothing else.
|
843
958
|
#
|
844
|
-
#
|
959
|
+
# <div class="wxrb-remark">
|
960
|
+
# <b>Remark:</b>
|
961
|
+
# <p>To actually set property attribute values from the application, use {Wx::PG::PGProperty#set_attribute} instead.
|
962
|
+
# </p>
|
963
|
+
# </div>
|
845
964
|
# @param name [String]
|
846
965
|
# @param value [Wx::Variant]
|
847
966
|
# @return [Boolean]
|
848
967
|
def do_set_attribute(name, value) end
|
849
968
|
|
850
969
|
# Returns value of an attribute.
|
970
|
+
#
|
851
971
|
# Override if custom handling of attributes is needed.
|
852
972
|
# Default implementation simply return NULL variant.
|
853
973
|
# @param name [String]
|
@@ -855,18 +975,25 @@ module Wx::PG
|
|
855
975
|
def do_get_attribute(name) end
|
856
976
|
|
857
977
|
# Returns instance of a new {Wx::PG::PGEditorDialogAdapter} instance, which is used when user presses the (optional) button next to the editor control;.
|
978
|
+
#
|
858
979
|
# Default implementation returns NULL (i.e. no action is generated when button is pressed).
|
859
980
|
# @return [Wx::PG::PGEditorDialogAdapter]
|
860
981
|
def get_editor_dialog; end
|
861
982
|
alias_method :editor_dialog, :get_editor_dialog
|
862
983
|
|
863
984
|
# Called whenever validation has failed with given pending value.
|
864
|
-
#
|
985
|
+
#
|
986
|
+
# <div class="wxrb-remark">
|
987
|
+
# <b>Remark:</b>
|
988
|
+
# <p>If you implement this in your custom property class, please remember to call the base implementation as well, since they may use it to revert property into pre-change state.
|
989
|
+
# </p>
|
990
|
+
# </div>
|
865
991
|
# @param pendingValue [Wx::Variant]
|
866
992
|
# @return [void]
|
867
993
|
def on_validation_failure(pendingValue) end
|
868
994
|
|
869
995
|
# Append a new choice to property's list of choices.
|
996
|
+
#
|
870
997
|
# Index to added choice.
|
871
998
|
# @param label [String] Label for added choice.
|
872
999
|
# @param value [Integer] Value for new choice. Do not specify if you wish this to equal choice index.
|
@@ -874,6 +1001,7 @@ module Wx::PG
|
|
874
1001
|
def add_choice(label, value=Wx::PG::PG_INVALID_VALUE) end
|
875
1002
|
|
876
1003
|
# Adds a private child property.
|
1004
|
+
#
|
877
1005
|
# If you use this instead of {Wx::PG::PropertyGridInterface#insert} or {Wx::PG::PropertyGridInterface#append_in}, then property's parental type will automatically be set up to {Wx::PG::PGPropertyFlags::PG_PROP_AGGREGATE}. In other words, all properties of this property will become private.
|
878
1006
|
# @param prop [Wx::PG::PGProperty]
|
879
1007
|
# @return [void]
|
@@ -886,10 +1014,15 @@ module Wx::PG
|
|
886
1014
|
def adapt_list_to_value(list, value) end
|
887
1015
|
|
888
1016
|
# Use this member function to add independent (i.e.
|
1017
|
+
#
|
889
1018
|
# regular) children to a property.
|
890
1019
|
# Appended childProperty.
|
891
1020
|
#
|
892
|
-
#
|
1021
|
+
# <div class="wxrb-remark">
|
1022
|
+
# <b>Remark:</b>
|
1023
|
+
# <p>{Wx::PG::PropertyGrid} is not automatically refreshed by this function.
|
1024
|
+
# </p>
|
1025
|
+
# </div>
|
893
1026
|
# @see Wx::PG::PGProperty#insert_child
|
894
1027
|
# @see Wx::PG::PGProperty#add_private_child
|
895
1028
|
# @param childProperty [Wx::PG::PGProperty]
|
@@ -906,12 +1039,18 @@ module Wx::PG
|
|
906
1039
|
def are_children_components; end
|
907
1040
|
|
908
1041
|
# Sets or clears given property flag.
|
1042
|
+
#
|
909
1043
|
# Mainly for internal use.
|
910
|
-
#
|
1044
|
+
#
|
1045
|
+
# <div class="wxrb-remark">
|
1046
|
+
# <b>Remark:</b>
|
1047
|
+
# <p>Setting a property flag never has any side-effect, and is intended almost exclusively for internal use. So, for example, if you want to disable a property, call
|
911
1048
|
# ```ruby
|
912
1049
|
# enable(false)
|
913
1050
|
# ```
|
914
1051
|
# instead of setting {Wx::PG::PGPropertyFlags::PG_PROP_DISABLED} flag.
|
1052
|
+
# </p>
|
1053
|
+
# </div>
|
915
1054
|
# @see Wx::PG::PGProperty#has_flag
|
916
1055
|
# @see GetFlags()
|
917
1056
|
# @param flag [Wx::PGPropertyFlags]
|
@@ -924,12 +1063,14 @@ module Wx::PG
|
|
924
1063
|
def delete_children; end
|
925
1064
|
|
926
1065
|
# Removes entry from property's {Wx::PG::PGChoices} and editor control (if it is active).
|
1066
|
+
#
|
927
1067
|
# If selected item is deleted, then the value is set to unspecified.
|
928
1068
|
# @param index [Integer]
|
929
1069
|
# @return [void]
|
930
1070
|
def delete_choice(index) end
|
931
1071
|
|
932
1072
|
# Enables or disables the property.
|
1073
|
+
#
|
933
1074
|
# Disabled property usually appears as having grey text.
|
934
1075
|
# @see Wx::PG::PropertyGridInterface#enable_property
|
935
1076
|
# @param enable [Boolean] If false, property is disabled instead.
|
@@ -937,6 +1078,7 @@ module Wx::PG
|
|
937
1078
|
def enable(enable=true) end
|
938
1079
|
|
939
1080
|
# Call to enable or disable usage of common value (integer value that can be selected for properties instead of their normal values) for this property.
|
1081
|
+
#
|
940
1082
|
# Common values are disabled by the default for all properties.
|
941
1083
|
# @param enable [Boolean]
|
942
1084
|
# @return [void]
|
@@ -953,13 +1095,24 @@ module Wx::PG
|
|
953
1095
|
|
954
1096
|
# @overload get_attribute(name)
|
955
1097
|
# Returns property attribute value, null variant if not found.
|
956
|
-
#
|
1098
|
+
#
|
1099
|
+
# <div class="wxrb-remark">
|
1100
|
+
# <b>Remark:</b>
|
1101
|
+
# <p>For built-in attribute returns null variant if extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set.
|
1102
|
+
# </p>
|
1103
|
+
# </div>
|
957
1104
|
# @param name [String]
|
958
1105
|
# @return [Wx::Variant]
|
959
1106
|
# @overload get_attribute(name, defVal)
|
960
1107
|
# Returns named attribute, as string, if found.
|
1108
|
+
#
|
961
1109
|
# Otherwise defVal is returned.
|
962
|
-
#
|
1110
|
+
#
|
1111
|
+
# <div class="wxrb-remark">
|
1112
|
+
# <b>Remark:</b>
|
1113
|
+
# <p>For built-in attribute returns defVal if extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set.
|
1114
|
+
# </p>
|
1115
|
+
# </div>
|
963
1116
|
# @param name [String]
|
964
1117
|
# @param defVal [String]
|
965
1118
|
# @return [String]
|
@@ -967,8 +1120,14 @@ module Wx::PG
|
|
967
1120
|
alias_method :attribute, :get_attribute
|
968
1121
|
|
969
1122
|
# Returns named attribute, as long, if found.
|
1123
|
+
#
|
970
1124
|
# Otherwise defVal is returned.
|
971
|
-
#
|
1125
|
+
#
|
1126
|
+
# <div class="wxrb-remark">
|
1127
|
+
# <b>Remark:</b>
|
1128
|
+
# <p>For built-in attribute returns defVal if extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set.
|
1129
|
+
# </p>
|
1130
|
+
# </div>
|
972
1131
|
# @param name [String]
|
973
1132
|
# @param defVal [Integer]
|
974
1133
|
# @return [Integer]
|
@@ -976,8 +1135,14 @@ module Wx::PG
|
|
976
1135
|
alias_method :attribute_as_long, :get_attribute_as_long
|
977
1136
|
|
978
1137
|
# Returns named attribute, as double, if found.
|
1138
|
+
#
|
979
1139
|
# Otherwise defVal is returned.
|
980
|
-
#
|
1140
|
+
#
|
1141
|
+
# <div class="wxrb-remark">
|
1142
|
+
# <b>Remark:</b>
|
1143
|
+
# <p>For built-in attribute returns defVal if extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set.
|
1144
|
+
# </p>
|
1145
|
+
# </div>
|
981
1146
|
# @param name [String]
|
982
1147
|
# @param defVal [Float]
|
983
1148
|
# @return [Float]
|
@@ -985,18 +1150,29 @@ module Wx::PG
|
|
985
1150
|
alias_method :attribute_as_double, :get_attribute_as_double
|
986
1151
|
|
987
1152
|
# Returns map-like storage of property's attributes.
|
988
|
-
#
|
1153
|
+
#
|
1154
|
+
# <div class="wxrb-remark">
|
1155
|
+
# <b>Remark:</b>
|
1156
|
+
# <p>If extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set, then builtin-attributes are not included in the storage.
|
1157
|
+
# </p>
|
1158
|
+
# </div>
|
989
1159
|
# @return [Wx::PGAttributeStorage]
|
990
1160
|
def get_attributes; end
|
991
1161
|
alias_method :attributes, :get_attributes
|
992
1162
|
|
993
1163
|
# Returns attributes as list {Wx::Variant}.
|
994
|
-
#
|
1164
|
+
#
|
1165
|
+
# <div class="wxrb-remark">
|
1166
|
+
# <b>Remark:</b>
|
1167
|
+
# <p>If extra style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES} is set, then builtin-attributes are not included in the list.
|
1168
|
+
# </p>
|
1169
|
+
# </div>
|
995
1170
|
# @return [Wx::Variant]
|
996
1171
|
def get_attributes_as_list; end
|
997
1172
|
alias_method :attributes_as_list, :get_attributes_as_list
|
998
1173
|
|
999
1174
|
# Returns editor used for given column.
|
1175
|
+
#
|
1000
1176
|
# NULL for no editor.
|
1001
1177
|
# @param column [Integer]
|
1002
1178
|
# @return [Wx::PG::PGEditor]
|
@@ -1004,13 +1180,19 @@ module Wx::PG
|
|
1004
1180
|
alias_method :column_editor, :get_column_editor
|
1005
1181
|
|
1006
1182
|
# Returns property's base name (i.e.
|
1183
|
+
#
|
1007
1184
|
# parent's name is not added in any case).
|
1008
1185
|
# @return [Wx::String]
|
1009
1186
|
def get_base_name; end
|
1010
1187
|
alias_method :base_name, :get_base_name
|
1011
1188
|
|
1012
1189
|
# Returns {Wx::PG::PGCell} of given column.
|
1013
|
-
#
|
1190
|
+
#
|
1191
|
+
# <div class="wxrb-remark">
|
1192
|
+
# <b>Remark:</b>
|
1193
|
+
# <p>const version of this member function returns 'default' {Wx::PG::PGCell} object if the property itself didn't hold cell data.
|
1194
|
+
# </p>
|
1195
|
+
# </div>
|
1014
1196
|
# @param column [Integer]
|
1015
1197
|
# @return [Wx::PG::PGCell]
|
1016
1198
|
def get_cell_or_default(column) end
|
@@ -1039,18 +1221,20 @@ module Wx::PG
|
|
1039
1221
|
def get_choices; end
|
1040
1222
|
alias_method :choices, :get_choices
|
1041
1223
|
|
1042
|
-
#
|
1224
|
+
# Gets managed client object of a property.
|
1043
1225
|
# @return [Object]
|
1044
|
-
def
|
1045
|
-
alias_method :
|
1226
|
+
def get_client_object; end
|
1227
|
+
alias_method :client_object, :get_client_object
|
1046
1228
|
|
1047
1229
|
# Returns property's default value.
|
1230
|
+
#
|
1048
1231
|
# If property's value type is not a built-in one, and "DefaultValue" attribute is not defined, then this function usually returns Null variant.
|
1049
1232
|
# @return [Wx::Variant]
|
1050
1233
|
def get_default_value; end
|
1051
1234
|
alias_method :default_value, :get_default_value
|
1052
1235
|
|
1053
1236
|
# Returns common value selected for this property.
|
1237
|
+
#
|
1054
1238
|
# -1 for none.
|
1055
1239
|
# @return [Integer]
|
1056
1240
|
def get_common_value; end
|
@@ -1071,6 +1255,7 @@ module Wx::PG
|
|
1071
1255
|
alias_method :displayed_string, :get_displayed_string
|
1072
1256
|
|
1073
1257
|
# Returns {Wx::PG::PGEditor} that will be used and created when property becomes selected.
|
1258
|
+
#
|
1074
1259
|
# Returns more accurate value than {Wx::PG::PGProperty#do_get_editor_class}.
|
1075
1260
|
# @return [Wx::PG::PGEditor]
|
1076
1261
|
def get_editor_class; end
|
@@ -1093,12 +1278,14 @@ module Wx::PG
|
|
1093
1278
|
|
1094
1279
|
# Returns property's help or description text.
|
1095
1280
|
#
|
1281
|
+
#
|
1096
1282
|
# @see Wx::PG::PGProperty#set_help_string
|
1097
1283
|
# @return [Wx::String]
|
1098
1284
|
def get_help_string; end
|
1099
1285
|
alias_method :help_string, :get_help_string
|
1100
1286
|
|
1101
1287
|
# Gets flags as a'|' delimited string.
|
1288
|
+
#
|
1102
1289
|
# Note that flag names are not prepended with '{Wx::PG_PROP_}'.
|
1103
1290
|
# @param flagsMask [Integer] String will only be made to include flags combined by this parameter.
|
1104
1291
|
# @return [String]
|
@@ -1116,14 +1303,25 @@ module Wx::PG
|
|
1116
1303
|
alias_method :last_visible_sub_item, :get_last_visible_sub_item
|
1117
1304
|
|
1118
1305
|
# Returns highest level non-category, non-root parent.
|
1306
|
+
#
|
1119
1307
|
# Useful when you have nested properties with children.
|
1120
|
-
#
|
1308
|
+
#
|
1309
|
+
# <div class="wxrb-remark">
|
1310
|
+
# <b>Remark:</b>
|
1311
|
+
# <p>If immediate parent is root or category, this will return the property itself.
|
1312
|
+
# </p>
|
1313
|
+
# </div>
|
1121
1314
|
# @return [Wx::PG::PGProperty]
|
1122
1315
|
def get_main_parent; end
|
1123
1316
|
alias_method :main_parent, :get_main_parent
|
1124
1317
|
|
1125
1318
|
# Returns maximum allowed length of the text the user can enter in the property text editor.
|
1126
|
-
#
|
1319
|
+
#
|
1320
|
+
# <div class="wxrb-remark">
|
1321
|
+
# <b>Remark:</b>
|
1322
|
+
# <p>0 is returned if length is not explicitly limited and the text can be as long as it is supported by the underlying native text control widget.
|
1323
|
+
# </p>
|
1324
|
+
# </div>
|
1127
1325
|
# @return [Integer]
|
1128
1326
|
def get_max_length; end
|
1129
1327
|
alias_method :max_length, :get_max_length
|
@@ -1155,13 +1353,19 @@ module Wx::PG
|
|
1155
1353
|
alias_method :value, :get_value
|
1156
1354
|
|
1157
1355
|
# Returns bitmap that appears next to value text.
|
1356
|
+
#
|
1158
1357
|
# Only returns non-NULL bitmap if one was set with {Wx::PG::PGProperty#set_value_image}.
|
1159
1358
|
# @return [Wx::Bitmap]
|
1160
1359
|
def get_value_image; end
|
1161
1360
|
alias_method :value_image, :get_value_image
|
1162
1361
|
|
1163
1362
|
# Returns text representation of property's value.
|
1164
|
-
#
|
1363
|
+
#
|
1364
|
+
# <div class="wxrb-remark">
|
1365
|
+
# <b>Remark:</b>
|
1366
|
+
# <p>In older versions, this function used to be overridden to convert property's value into a string representation. This function is now handled by {Wx::PG::PGProperty#value_to_string}, and overriding this function now will result in run-time assertion failure.
|
1367
|
+
# </p>
|
1368
|
+
# </div>
|
1165
1369
|
# @param argFlags [Integer] If 0 (default value), then displayed string is returned. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_FULL_VALUE} is set, returns complete, storable string value instead of displayable. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_EDITABLE_VALUE} is set, returns string value that must be editable in textctrl. If {Wx::PG::PG_MISC_ARG_FLAGS::PG_COMPOSITE_FRAGMENT} is set, returns text that is appropriate to display as a part of string property's composite text representation.
|
1166
1370
|
# @return [String]
|
1167
1371
|
def get_value_as_string(argFlags=0) end
|
@@ -1173,6 +1377,7 @@ module Wx::PG
|
|
1173
1377
|
alias_method :value_type, :get_value_type
|
1174
1378
|
|
1175
1379
|
# Returns coordinate to the top y of the property.
|
1380
|
+
#
|
1176
1381
|
# Note that the position of scrollbars is not taken into account.
|
1177
1382
|
# @return [Integer]
|
1178
1383
|
def get_y; end
|
@@ -1193,6 +1398,7 @@ module Wx::PG
|
|
1193
1398
|
# @overload has_flag(flag)
|
1194
1399
|
# Returns true if property has given flag set.
|
1195
1400
|
#
|
1401
|
+
#
|
1196
1402
|
# @see propgrid_propflags
|
1197
1403
|
# @param flag [Wx::PGPropertyFlags]
|
1198
1404
|
# @return [Boolean]
|
@@ -1221,16 +1427,22 @@ module Wx::PG
|
|
1221
1427
|
def hide(hide, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
1222
1428
|
|
1223
1429
|
# Returns index of given child property.
|
1430
|
+
#
|
1224
1431
|
# {Wx::NOT_FOUND} if given property is not child of this.
|
1225
1432
|
# @param p [Wx::PG::PGProperty]
|
1226
1433
|
# @return [Integer]
|
1227
1434
|
def index(p) end
|
1228
1435
|
|
1229
1436
|
# Use this member function to add independent (i.e.
|
1437
|
+
#
|
1230
1438
|
# regular) children to a property.
|
1231
1439
|
# Inserted childProperty.
|
1232
1440
|
#
|
1233
|
-
#
|
1441
|
+
# <div class="wxrb-remark">
|
1442
|
+
# <b>Remark:</b>
|
1443
|
+
# <p>{Wx::PG::PropertyGrid} is not automatically refreshed by this function.
|
1444
|
+
# </p>
|
1445
|
+
# </div>
|
1234
1446
|
# @see Wx::PG::PGProperty#append_child
|
1235
1447
|
# @see Wx::PG::PGProperty#add_private_child
|
1236
1448
|
# @param index [Integer]
|
@@ -1271,6 +1483,7 @@ module Wx::PG
|
|
1271
1483
|
alias_method :sub_property?, :is_sub_property
|
1272
1484
|
|
1273
1485
|
# Returns true if candidateParent is some parent of this property.
|
1486
|
+
#
|
1274
1487
|
# Use, for example, to detect if item is inside collapsed section.
|
1275
1488
|
# @param candidateParent [Wx::PG::PGProperty]
|
1276
1489
|
# @return [Boolean]
|
@@ -1278,12 +1491,18 @@ module Wx::PG
|
|
1278
1491
|
alias_method :some_parent?, :is_some_parent
|
1279
1492
|
|
1280
1493
|
# Returns true if property has editable {Wx::TextCtrl} when selected.
|
1281
|
-
#
|
1494
|
+
#
|
1495
|
+
# <div class="wxrb-remark">
|
1496
|
+
# <b>Remark:</b>
|
1497
|
+
# <p>Although disabled properties do not displayed editor, they still return true here as being disabled is considered a temporary condition (unlike being read-only or having limited editing enabled).
|
1498
|
+
# </p>
|
1499
|
+
# </div>
|
1282
1500
|
# @return [Boolean]
|
1283
1501
|
def is_text_editable; end
|
1284
1502
|
alias_method :text_editable?, :is_text_editable
|
1285
1503
|
|
1286
1504
|
# Returns true if property's value is considered unspecified.
|
1505
|
+
#
|
1287
1506
|
# This usually means that value is Null variant.
|
1288
1507
|
# @return [Boolean]
|
1289
1508
|
def is_value_unspecified; end
|
@@ -1304,6 +1523,7 @@ module Wx::PG
|
|
1304
1523
|
def last; end
|
1305
1524
|
|
1306
1525
|
# If property's editor is created this forces its recreation.
|
1526
|
+
#
|
1307
1527
|
# Useful in SetAttribute etc. Returns true if actually did anything.
|
1308
1528
|
# @return [Boolean]
|
1309
1529
|
def recreate_editor; end
|
@@ -1313,7 +1533,12 @@ module Wx::PG
|
|
1313
1533
|
def refresh_editor; end
|
1314
1534
|
|
1315
1535
|
# Sets an attribute for this property.
|
1316
|
-
#
|
1536
|
+
#
|
1537
|
+
# <div class="wxrb-remark">
|
1538
|
+
# <b>Remark:</b>
|
1539
|
+
# <p>Setting attribute's value to Null variant will simply remove it from property's set of attributes.
|
1540
|
+
# </p>
|
1541
|
+
# </div>
|
1317
1542
|
# @param name [String] Text identifier of attribute. See wxPropertyGrid Property Attribute Identifiers.
|
1318
1543
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue] Value of attribute.
|
1319
1544
|
# @return [void]
|
@@ -1322,9 +1547,9 @@ module Wx::PG
|
|
1322
1547
|
# @param attributes [Wx::PGAttributeStorage]
|
1323
1548
|
# @return [void]
|
1324
1549
|
def set_attributes(attributes) end
|
1325
|
-
alias_method :attributes=, :set_attributes
|
1326
1550
|
|
1327
1551
|
# Set if user can change the property's value to unspecified by modifying the value of the editor control (usually by clearing it).
|
1552
|
+
#
|
1328
1553
|
# Currently, this can work with following properties: {Wx::PG::IntProperty}, {Wx::PG::UIntProperty}, {Wx::PG::FloatProperty}, {Wx::PG::EditEnumProperty}.
|
1329
1554
|
# @param enable [Boolean] Whether to enable or disable this behaviour (it is disabled by default).
|
1330
1555
|
# @return [void]
|
@@ -1332,7 +1557,12 @@ module Wx::PG
|
|
1332
1557
|
alias_method :auto_unspecified=, :set_auto_unspecified
|
1333
1558
|
|
1334
1559
|
# Sets property's background colour.
|
1335
|
-
#
|
1560
|
+
#
|
1561
|
+
# <div class="wxrb-remark">
|
1562
|
+
# <b>Remark:</b>
|
1563
|
+
# <p>Unlike {Wx::PG::PropertyGridInterface#set_property_background_colour}, this does not automatically update the display.
|
1564
|
+
# </p>
|
1565
|
+
# </div>
|
1336
1566
|
# @param colour [Wx::Colour,String,Symbol] Background colour to use.
|
1337
1567
|
# @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.
|
1338
1568
|
# @return [void]
|
@@ -1341,6 +1571,7 @@ module Wx::PG
|
|
1341
1571
|
|
1342
1572
|
# @overload set_editor(editor)
|
1343
1573
|
# Sets editor for a property.
|
1574
|
+
#
|
1344
1575
|
# For custom editors, use pointer you received from {Wx::PG::PropertyGrid.register_editor_class}.
|
1345
1576
|
# @param editor [Wx::PG::PGEditor] For builtin editors, use {Wx::PGEditor_X}, where X is builtin editor's name (TextCtrl, Choice, etc. see {Wx::PG::PGEditor} documentation for full list).
|
1346
1577
|
# @return [void]
|
@@ -1358,6 +1589,7 @@ module Wx::PG
|
|
1358
1589
|
def set_cell(column, cell) end
|
1359
1590
|
|
1360
1591
|
# Sets common value selected for this property.
|
1592
|
+
#
|
1361
1593
|
# -1 for none.
|
1362
1594
|
# @param commonValue [Integer]
|
1363
1595
|
# @return [void]
|
@@ -1365,20 +1597,25 @@ module Wx::PG
|
|
1365
1597
|
alias_method :common_value=, :set_common_value
|
1366
1598
|
|
1367
1599
|
# Sets new set of choices for the property.
|
1368
|
-
#
|
1600
|
+
#
|
1601
|
+
# <div class="wxrb-remark">
|
1602
|
+
# <b>Remark:</b>
|
1603
|
+
# <p>This operation deselects the property and clears its value.
|
1604
|
+
# </p>
|
1605
|
+
# </div>
|
1369
1606
|
# @param choices [Wx::PG::PGChoices]
|
1370
1607
|
# @return [Boolean]
|
1371
1608
|
def set_choices(choices) end
|
1372
1609
|
alias_method :choices=, :set_choices
|
1373
1610
|
|
1374
|
-
# Sets client
|
1375
|
-
#
|
1376
|
-
# @param clientData [Object]
|
1611
|
+
# Sets client object of a property.
|
1612
|
+
# @param clientObject [Object]
|
1377
1613
|
# @return [void]
|
1378
|
-
def
|
1379
|
-
alias_method :
|
1614
|
+
def set_client_object(clientObject) end
|
1615
|
+
alias_method :client_object=, :set_client_object
|
1380
1616
|
|
1381
1617
|
# Sets selected choice and changes property value.
|
1618
|
+
#
|
1382
1619
|
# Tries to retain value type, although currently if it is not string, then it is forced to integer.
|
1383
1620
|
# @param newValue [Integer]
|
1384
1621
|
# @return [void]
|
@@ -1386,6 +1623,7 @@ module Wx::PG
|
|
1386
1623
|
alias_method :choice_selection=, :set_choice_selection
|
1387
1624
|
|
1388
1625
|
# Set default value of a property.
|
1626
|
+
#
|
1389
1627
|
# Synonymous to
|
1390
1628
|
#
|
1391
1629
|
# ```ruby
|
@@ -1402,6 +1640,7 @@ module Wx::PG
|
|
1402
1640
|
alias_method :expanded=, :set_expanded
|
1403
1641
|
|
1404
1642
|
# Sets flags from a '|' delimited string.
|
1643
|
+
#
|
1405
1644
|
# Note that flag names are not prepended with '{Wx::PG_PROP_}'.
|
1406
1645
|
# @param str [String]
|
1407
1646
|
# @return [void]
|
@@ -1409,6 +1648,7 @@ module Wx::PG
|
|
1409
1648
|
alias_method :flags_from_string=, :set_flags_from_string
|
1410
1649
|
|
1411
1650
|
# Sets or clears given property flag, recursively.
|
1651
|
+
#
|
1412
1652
|
# This function is primarily intended for internal use.
|
1413
1653
|
# @see Wx::PG::PGProperty#change_flag
|
1414
1654
|
# @param flag [Wx::PGPropertyFlags]
|
@@ -1423,14 +1663,23 @@ module Wx::PG
|
|
1423
1663
|
alias_method :help_string=, :set_help_string
|
1424
1664
|
|
1425
1665
|
# Sets property's label.
|
1666
|
+
#
|
1667
|
+
# <div class="wxrb-remark">
|
1668
|
+
# <b>Remark:</b>
|
1669
|
+
# <p>
|
1670
|
+
#
|
1426
1671
|
# - Properties under same parent may have same labels. However, property names must still remain unique.
|
1427
|
-
# - Unlike {Wx::PG::PropertyGridInterface#set_property_label}, this does not automatically update the display.
|
1672
|
+
# - Unlike {Wx::PG::PropertyGridInterface#set_property_label}, this does not automatically update the display.
|
1673
|
+
#
|
1674
|
+
# </p>
|
1675
|
+
# </div>
|
1428
1676
|
# @param label [String]
|
1429
1677
|
# @return [void]
|
1430
1678
|
def set_label(label) end
|
1431
1679
|
alias_method :label=, :set_label
|
1432
1680
|
|
1433
1681
|
# Set maximum length of the text the user can enter in the text editor.
|
1682
|
+
#
|
1434
1683
|
# If it is 0, the length is not limited and the text can be as long as it is supported by the underlying native text control widget.
|
1435
1684
|
# Returns true if maximum length was set.
|
1436
1685
|
# @param maxLen [Integer]
|
@@ -1439,6 +1688,7 @@ module Wx::PG
|
|
1439
1688
|
alias_method :max_length=, :set_max_length
|
1440
1689
|
|
1441
1690
|
# Sets property's "is it modified?" flag.
|
1691
|
+
#
|
1442
1692
|
# Affects children recursively.
|
1443
1693
|
# @param modified [Boolean]
|
1444
1694
|
# @return [void]
|
@@ -1452,14 +1702,24 @@ module Wx::PG
|
|
1452
1702
|
alias_method :name=, :set_name
|
1453
1703
|
|
1454
1704
|
# Changes what sort of parent this property is for its children.
|
1455
|
-
#
|
1705
|
+
#
|
1706
|
+
# <div class="wxrb-remark">
|
1707
|
+
# <b>Remark:</b>
|
1708
|
+
# <p>You generally do not need to call this function.
|
1709
|
+
# </p>
|
1710
|
+
# </div>
|
1456
1711
|
# @param flag [Integer] Use one of the following values: {Wx::PG::PGPropertyFlags::PG_PROP_MISC_PARENT} (for generic parents), {Wx::PG::PGPropertyFlags::PG_PROP_CATEGORY} (for categories), or {Wx::PG::PGPropertyFlags::PG_PROP_AGGREGATE} (for derived property classes with private children).
|
1457
1712
|
# @return [void]
|
1458
1713
|
def set_parental_type(flag) end
|
1459
1714
|
alias_method :parental_type=, :set_parental_type
|
1460
1715
|
|
1461
1716
|
# Sets property's text colour.
|
1462
|
-
#
|
1717
|
+
#
|
1718
|
+
# <div class="wxrb-remark">
|
1719
|
+
# <b>Remark:</b>
|
1720
|
+
# <p>Unlike {Wx::PG::PropertyGridInterface#set_property_text_colour}, this does not automatically update the display.
|
1721
|
+
# </p>
|
1722
|
+
# </div>
|
1463
1723
|
# @param colour [Wx::Colour,String,Symbol] Text colour to use.
|
1464
1724
|
# @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.
|
1465
1725
|
# @return [void]
|
@@ -1467,7 +1727,12 @@ module Wx::PG
|
|
1467
1727
|
alias_method :text_colour=, :set_text_colour
|
1468
1728
|
|
1469
1729
|
# Sets property's default text and background colours.
|
1470
|
-
#
|
1730
|
+
#
|
1731
|
+
# <div class="wxrb-remark">
|
1732
|
+
# <b>Remark:</b>
|
1733
|
+
# <p>Unlike {Wx::PG::PropertyGridInterface#set_property_colours_to_default}, this does not automatically update the display.
|
1734
|
+
# </p>
|
1735
|
+
# </div>
|
1471
1736
|
# @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} which causes colours to be set recursively. Omit this flag to only set colours for the property in question and not any of its children.
|
1472
1737
|
# @return [void]
|
1473
1738
|
def set_default_colours(flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
@@ -1480,8 +1745,14 @@ module Wx::PG
|
|
1480
1745
|
alias_method :validator=, :set_validator
|
1481
1746
|
|
1482
1747
|
# Call this to set value of the property.
|
1748
|
+
#
|
1483
1749
|
# Unlike methods in {Wx::PG::PropertyGrid}, this does not automatically update the display.
|
1484
|
-
#
|
1750
|
+
#
|
1751
|
+
# <div class="wxrb-remark">
|
1752
|
+
# <b>Remark:</b>
|
1753
|
+
# <p>Use {Wx::PG::PropertyGrid#change_property_value} instead if you need to run through validation process and send property change event.
|
1754
|
+
# </p>
|
1755
|
+
# </div>
|
1485
1756
|
#
|
1486
1757
|
# If you need to change property value in event, based on user input, use {Wx::PG::PGProperty#set_value_in_event} instead.
|
1487
1758
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue] The value to set.
|
@@ -1492,6 +1763,7 @@ module Wx::PG
|
|
1492
1763
|
alias_method :value=, :set_value
|
1493
1764
|
|
1494
1765
|
# Set {Wx::Bitmap} taken from {Wx::BitmapBundle} in front of the value.
|
1766
|
+
#
|
1495
1767
|
# This bitmap may be ignored by custom cell renderers.
|
1496
1768
|
# @param bmp [Wx::BitmapBundle]
|
1497
1769
|
# @return [void]
|
@@ -1499,19 +1771,27 @@ module Wx::PG
|
|
1499
1771
|
alias_method :value_image=, :set_value_image
|
1500
1772
|
|
1501
1773
|
# Call this function in {Wx::PG::PGProperty#on_event}, OnButtonClick() etc.
|
1774
|
+
#
|
1502
1775
|
# to change the property value based on user input.
|
1503
|
-
#
|
1776
|
+
#
|
1777
|
+
# <div class="wxrb-remark">
|
1778
|
+
# <b>Remark:</b>
|
1779
|
+
# <p>This method is const since it doesn't actually modify value, but posts given variant as pending value, stored in {Wx::PG::PropertyGrid}.
|
1780
|
+
# </p>
|
1781
|
+
# </div>
|
1504
1782
|
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
1505
1783
|
# @return [void]
|
1506
1784
|
def set_value_in_event(value) end
|
1507
1785
|
alias_method :value_in_event=, :set_value_in_event
|
1508
1786
|
|
1509
1787
|
# Sets property's value to unspecified (i.e.
|
1788
|
+
#
|
1510
1789
|
# Null variant).
|
1511
1790
|
# @return [void]
|
1512
1791
|
def set_value_to_unspecified; end
|
1513
1792
|
|
1514
1793
|
# Call with false in {Wx::PG::PGProperty#on_set_value} to cancel value changes after all (i.e.
|
1794
|
+
#
|
1515
1795
|
# cancel true returned by {Wx::PG::PGProperty#string_to_value} or {Wx::PG::PGProperty#int_to_value}).
|
1516
1796
|
# @param set [Boolean]
|
1517
1797
|
# @return [void]
|
@@ -1519,8 +1799,14 @@ module Wx::PG
|
|
1519
1799
|
alias_method :was_modified=, :set_was_modified
|
1520
1800
|
|
1521
1801
|
# Updates composed values of parent non-category properties, recursively.
|
1802
|
+
#
|
1522
1803
|
# Returns topmost property updated.
|
1523
|
-
#
|
1804
|
+
#
|
1805
|
+
# <div class="wxrb-remark">
|
1806
|
+
# <b>Remark:</b>
|
1807
|
+
# <p>Must not call {Wx::PG::PGProperty#set_value} (as can be called in it).
|
1808
|
+
# </p>
|
1809
|
+
# </div>
|
1524
1810
|
# @return [Wx::PG::PGProperty]
|
1525
1811
|
def update_parent_values; end
|
1526
1812
|
|
@@ -1540,7 +1826,12 @@ module Wx::PG
|
|
1540
1826
|
def ensure_cells(column) end
|
1541
1827
|
|
1542
1828
|
# Returns (direct) child property with given name (or NULL if not found), with hint index.
|
1543
|
-
#
|
1829
|
+
#
|
1830
|
+
# <div class="wxrb-remark">
|
1831
|
+
# <b>Remark:</b>
|
1832
|
+
# <p>Does not support scope (i.e. Parent.Child notation).
|
1833
|
+
# </p>
|
1834
|
+
# </div>
|
1544
1835
|
# @param name [String] Name of the child property to look for.
|
1545
1836
|
# @param hintIndex [Integer] Start looking for the child at this index.
|
1546
1837
|
# @return [Wx::PG::PGProperty]
|
@@ -1570,10 +1861,12 @@ module Wx::PG
|
|
1570
1861
|
|
1571
1862
|
# @overload initialize()
|
1572
1863
|
# Default constructor.
|
1864
|
+
#
|
1573
1865
|
# It is protected because {Wx::PG::PGProperty} is only a base class for other property classes.
|
1574
1866
|
# @return [Wx::PG::PGProperty]
|
1575
1867
|
# @overload initialize(label, name)
|
1576
1868
|
# Constructor.
|
1869
|
+
#
|
1577
1870
|
# It is protected because {Wx::PG::PGProperty} is only a base class for other property classes. Non-abstract property classes should have constructor of this style:
|
1578
1871
|
#
|
1579
1872
|
# ```ruby
|
@@ -1602,16 +1895,21 @@ module Wx::PG
|
|
1602
1895
|
end # PGProperty
|
1603
1896
|
|
1604
1897
|
# Helper class for managing choices of {Wx::PG::PropertyGrid} properties.
|
1898
|
+
#
|
1605
1899
|
# Each entry can have label, value, bitmap, text colour, and background colour.
|
1606
1900
|
# {Wx::PG::PGChoices} uses reference counting, similar to other wxWidgets classes. This means that assignment operator and copy constructor only copy the reference and not the actual data. Use {Wx::PG::PGChoices#copy} member function to create a real copy.
|
1607
|
-
# If you do not specify value for entry, index is used.
|
1608
1901
|
#
|
1609
|
-
#
|
1902
|
+
# <div class="wxrb-remark">
|
1903
|
+
# <b>Remark:</b>
|
1904
|
+
# <p>If you do not specify value for entry, index is used.
|
1905
|
+
# </p>
|
1906
|
+
# </div>
|
1610
1907
|
#
|
1611
1908
|
# Category: {Wx::PG::PropertyGrid}
|
1612
1909
|
#
|
1613
1910
|
#
|
1614
1911
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
1912
|
+
# @wxrb_require USE_PROPGRID
|
1615
1913
|
class PGChoices < ::Object
|
1616
1914
|
|
1617
1915
|
# @overload initialize()
|
@@ -1619,6 +1917,7 @@ module Wx::PG
|
|
1619
1917
|
# @return [Wx::PG::PGChoices]
|
1620
1918
|
# @overload initialize(a)
|
1621
1919
|
# Copy constructor, uses reference counting.
|
1920
|
+
#
|
1622
1921
|
# To create a real copy, use {Wx::PG::PGChoices#copy} member function instead.
|
1623
1922
|
# @param a [Wx::PG::PGChoices]
|
1624
1923
|
# @return [Wx::PG::PGChoices]
|
@@ -1658,6 +1957,7 @@ module Wx::PG
|
|
1658
1957
|
def add_as_sorted(label, value=Wx::PG::PG_INVALID_VALUE) end
|
1659
1958
|
|
1660
1959
|
# Assigns choices data, using reference counting.
|
1960
|
+
#
|
1661
1961
|
# To create a real copy, use {Wx::PG::PGChoices#copy} member function instead.
|
1662
1962
|
# @param a [Wx::PG::PGChoices]
|
1663
1963
|
# @return [void]
|
@@ -1692,6 +1992,7 @@ module Wx::PG
|
|
1692
1992
|
alias_method :value, :get_value
|
1693
1993
|
|
1694
1994
|
# Returns array of values matching the given strings.
|
1995
|
+
#
|
1695
1996
|
# Unmatching strings result in {Wx::PG::PG_INVALID_VALUE} entry in array.
|
1696
1997
|
# @param strings [Array<String>]
|
1697
1998
|
# @return [Array<Integer>]
|
@@ -1699,6 +2000,7 @@ module Wx::PG
|
|
1699
2000
|
alias_method :values_for_strings, :get_values_for_strings
|
1700
2001
|
|
1701
2002
|
# Returns array of indices matching given strings.
|
2003
|
+
#
|
1702
2004
|
# Unmatching strings are added to 'unmatched', if not NULL.
|
1703
2005
|
# @param strings [Array<String>]
|
1704
2006
|
# @param unmatched [Array,nil]
|
@@ -1774,7 +2076,9 @@ module Wx::PG
|
|
1774
2076
|
#
|
1775
2077
|
#
|
1776
2078
|
#
|
2079
|
+
#
|
1777
2080
|
# @note This class is <b>untracked</b> and should not be derived from nor instances extended!
|
2081
|
+
# @wxrb_require USE_PROPGRID
|
1778
2082
|
class PGPaintData < ::Object
|
1779
2083
|
|
1780
2084
|
# {Wx::PG::PropertyGrid}
|