wxruby3 0.9.5-x64-mingw-ucrt → 0.9.7-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/.wxconfig +9 -8
- data/INSTALL.md +315 -78
- data/README.md +31 -20
- 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/core/ext.rb +22 -3
- data/lib/wx/doc/gen/about_dialog_info.rb +1 -1
- data/lib/wx/doc/gen/accelerator.rb +1 -1
- data/lib/wx/doc/gen/accessible.rb +1 -1
- data/lib/wx/doc/gen/activity_indicator.rb +1 -1
- data/lib/wx/doc/gen/animation.rb +1 -1
- data/lib/wx/doc/gen/animation_ctrl.rb +1 -1
- data/lib/wx/doc/gen/any_button.rb +1 -1
- data/lib/wx/doc/gen/app.rb +1 -1
- data/lib/wx/doc/gen/app_traits.rb +1 -1
- data/lib/wx/doc/gen/art_provider.rb +1 -1
- data/lib/wx/doc/gen/aui/aui_dock_art.rb +430 -426
- data/lib/wx/doc/gen/aui/aui_floating_frame.rb +34 -30
- data/lib/wx/doc/gen/aui/aui_manager.rb +352 -348
- data/lib/wx/doc/gen/aui/aui_manager_event.rb +107 -103
- data/lib/wx/doc/gen/aui/aui_mdi_child_frame.rb +157 -153
- data/lib/wx/doc/gen/aui/aui_mdi_client_window.rb +42 -38
- data/lib/wx/doc/gen/aui/aui_mdi_parent_frame.rb +109 -105
- data/lib/wx/doc/gen/aui/aui_notebook.rb +438 -434
- data/lib/wx/doc/gen/aui/aui_notebook_event.rb +145 -141
- data/lib/wx/doc/gen/aui/aui_pane_info.rb +689 -685
- data/lib/wx/doc/gen/aui/aui_tab_art.rb +369 -365
- data/lib/wx/doc/gen/aui/aui_tab_ctrl.rb +100 -96
- data/lib/wx/doc/gen/aui/aui_tool_bar.rb +445 -441
- data/lib/wx/doc/gen/aui/aui_tool_bar_art.rb +268 -264
- data/lib/wx/doc/gen/aui/aui_tool_bar_event.rb +179 -175
- data/lib/wx/doc/gen/aui/aui_tool_bar_item.rb +219 -215
- data/lib/wx/doc/gen/banner_window.rb +1 -1
- data/lib/wx/doc/gen/bitmap.rb +1 -1
- data/lib/wx/doc/gen/bitmap_button.rb +1 -1
- data/lib/wx/doc/gen/bitmap_combo_box.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_base.rb +1 -1
- data/lib/wx/doc/gen/book_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/box_sizer.rb +1 -1
- data/lib/wx/doc/gen/brush.rb +1 -1
- data/lib/wx/doc/gen/busy_info.rb +1 -1
- data/lib/wx/doc/gen/button.rb +1 -1
- data/lib/wx/doc/gen/calculate_layout_event.rb +1 -1
- data/lib/wx/doc/gen/calendar_ctrl.rb +1 -1
- data/lib/wx/doc/gen/calendar_date_attr.rb +1 -1
- data/lib/wx/doc/gen/calendar_event.rb +1 -1
- data/lib/wx/doc/gen/caret.rb +1 -1
- data/lib/wx/doc/gen/check_box.rb +1 -1
- data/lib/wx/doc/gen/check_list_box.rb +1 -1
- data/lib/wx/doc/gen/choice.rb +1 -1
- data/lib/wx/doc/gen/choicebook.rb +1 -1
- data/lib/wx/doc/gen/client_dc.rb +1 -1
- data/lib/wx/doc/gen/clipboard.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane.rb +1 -1
- data/lib/wx/doc/gen/collapsible_pane_event.rb +1 -1
- data/lib/wx/doc/gen/colour.rb +1 -1
- data/lib/wx/doc/gen/colour_dialog.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/colour_picker_event.rb +1 -1
- data/lib/wx/doc/gen/combo_box.rb +1 -1
- data/lib/wx/doc/gen/combo_ctrl.rb +1 -1
- data/lib/wx/doc/gen/command_link_button.rb +1 -1
- data/lib/wx/doc/gen/config_base.rb +1 -1
- data/lib/wx/doc/gen/context_help_button.rb +1 -1
- data/lib/wx/doc/gen/control.rb +1 -1
- data/lib/wx/doc/gen/control_with_items.rb +1 -1
- data/lib/wx/doc/gen/core.rb +5 -5
- data/lib/wx/doc/gen/cursor.rb +1 -1
- data/lib/wx/doc/gen/data_format.rb +1 -1
- data/lib/wx/doc/gen/data_object.rb +1 -1
- data/lib/wx/doc/gen/data_object_simple_base.rb +1 -1
- data/lib/wx/doc/gen/date_event.rb +1 -1
- data/lib/wx/doc/gen/date_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dc.rb +1 -1
- data/lib/wx/doc/gen/defs.rb +1 -1
- data/lib/wx/doc/gen/dial_up_event.rb +1 -1
- data/lib/wx/doc/gen/dial_up_manager.rb +1 -1
- data/lib/wx/doc/gen/dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_dialog.rb +1 -1
- data/lib/wx/doc/gen/dir_filter_list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/dir_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/drag_drop.rb +1 -1
- data/lib/wx/doc/gen/drag_image.rb +1 -1
- data/lib/wx/doc/gen/editable_list_box.rb +1 -1
- data/lib/wx/doc/gen/event.rb +1 -1
- data/lib/wx/doc/gen/event_blocker.rb +1 -1
- data/lib/wx/doc/gen/event_filter.rb +1 -1
- data/lib/wx/doc/gen/events.rb +1 -1
- data/lib/wx/doc/gen/evt_handler.rb +1 -1
- data/lib/wx/doc/gen/ext_help_controller.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/file_dialog.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_custom_control.rb +1 -1
- data/lib/wx/doc/gen/file_dialog_customize_hook.rb +1 -1
- data/lib/wx/doc/gen/file_dir_picker_event.rb +1 -1
- data/lib/wx/doc/gen/file_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/file_system.rb +1 -1
- data/lib/wx/doc/gen/find_dialog_event.rb +1 -1
- data/lib/wx/doc/gen/find_replace_data.rb +1 -1
- data/lib/wx/doc/gen/find_replace_dialog.rb +1 -1
- data/lib/wx/doc/gen/flex_grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/font.rb +1 -1
- data/lib/wx/doc/gen/font_data.rb +1 -1
- data/lib/wx/doc/gen/font_dialog.rb +1 -1
- data/lib/wx/doc/gen/font_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/font_picker_event.rb +1 -1
- data/lib/wx/doc/gen/frame.rb +1 -1
- data/lib/wx/doc/gen/fs_file.rb +1 -1
- data/lib/wx/doc/gen/functions.rb +1 -1
- data/lib/wx/doc/gen/gauge.rb +1 -1
- data/lib/wx/doc/gen/gb_sizer_item.rb +1 -1
- data/lib/wx/doc/gen/gcdc.rb +1 -1
- data/lib/wx/doc/gen/gdi_common.rb +3 -3
- data/lib/wx/doc/gen/gdi_object.rb +1 -1
- data/lib/wx/doc/gen/generic_dir_ctrl.rb +1 -1
- data/lib/wx/doc/gen/graphics_context.rb +1 -1
- data/lib/wx/doc/gen/graphics_object.rb +1 -1
- data/lib/wx/doc/gen/grid/grid_cell_activatable_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_attr.rb +251 -247
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_editor.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_auto_wrap_string_renderer.rb +27 -23
- data/lib/wx/doc/gen/grid/grid_cell_bool_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_cell_bool_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_choice_editor.rb +35 -31
- data/lib/wx/doc/gen/grid/grid_cell_date_editor.rb +28 -24
- data/lib/wx/doc/gen/grid/grid_cell_date_renderer.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_date_time_renderer.rb +30 -26
- data/lib/wx/doc/gen/grid/grid_cell_editor.rb +183 -179
- data/lib/wx/doc/gen/grid/grid_cell_enum_editor.rb +29 -25
- data/lib/wx/doc/gen/grid/grid_cell_enum_renderer.rb +33 -29
- data/lib/wx/doc/gen/grid/grid_cell_float_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_float_renderer.rb +67 -63
- data/lib/wx/doc/gen/grid/grid_cell_number_editor.rb +34 -30
- data/lib/wx/doc/gen/grid/grid_cell_number_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_renderer.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_cell_string_renderer.rb +25 -21
- data/lib/wx/doc/gen/grid/grid_cell_text_editor.rb +38 -34
- data/lib/wx/doc/gen/grid/grid_ctrl.rb +2722 -2718
- data/lib/wx/doc/gen/grid/grid_editor_created_event.rb +82 -78
- data/lib/wx/doc/gen/grid/grid_event.rb +106 -102
- data/lib/wx/doc/gen/grid/grid_range_select_event.rb +93 -89
- data/lib/wx/doc/gen/grid/grid_size_event.rb +70 -66
- data/lib/wx/doc/gen/grid/grid_string_table.rb +130 -126
- data/lib/wx/doc/gen/grid/grid_table_base.rb +303 -299
- data/lib/wx/doc/gen/grid/grid_table_message.rb +70 -66
- data/lib/wx/doc/gen/grid_bag_sizer.rb +1 -1
- data/lib/wx/doc/gen/grid_sizer.rb +1 -1
- data/lib/wx/doc/gen/gui_event_loop.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl.rb +1 -1
- data/lib/wx/doc/gen/header_ctrl_event.rb +1 -1
- data/lib/wx/doc/gen/help_controller.rb +1 -1
- data/lib/wx/doc/gen/help_provider.rb +1 -1
- data/lib/wx/doc/gen/html/html_cell.rb +515 -511
- data/lib/wx/doc/gen/html/html_cell_event.rb +58 -54
- data/lib/wx/doc/gen/html/html_easy_printing.rb +171 -167
- data/lib/wx/doc/gen/html/html_help_controller.rb +292 -288
- data/lib/wx/doc/gen/html/html_help_data.rb +147 -143
- data/lib/wx/doc/gen/html/html_help_window.rb +232 -228
- data/lib/wx/doc/gen/html/html_link_event.rb +30 -26
- data/lib/wx/doc/gen/html/html_list_box.rb +301 -297
- data/lib/wx/doc/gen/html/html_printout.rb +94 -90
- data/lib/wx/doc/gen/html/html_window.rb +406 -402
- data/lib/wx/doc/gen/hyperlink_ctrl.rb +1 -1
- data/lib/wx/doc/gen/hyperlink_event.rb +1 -1
- data/lib/wx/doc/gen/icon.rb +1 -1
- data/lib/wx/doc/gen/icon_location.rb +1 -1
- data/lib/wx/doc/gen/image.rb +1 -1
- data/lib/wx/doc/gen/image_list.rb +1 -1
- data/lib/wx/doc/gen/info_bar.rb +1 -1
- data/lib/wx/doc/gen/keyboard_state.rb +1 -1
- data/lib/wx/doc/gen/list_box.rb +1 -1
- data/lib/wx/doc/gen/list_ctrl.rb +1 -1
- data/lib/wx/doc/gen/list_event.rb +1 -1
- data/lib/wx/doc/gen/listbook.rb +1 -1
- data/lib/wx/doc/gen/locale.rb +1 -1
- data/lib/wx/doc/gen/log.rb +1 -1
- data/lib/wx/doc/gen/mdi_client_window.rb +1 -1
- data/lib/wx/doc/gen/mdi_frame.rb +1 -1
- data/lib/wx/doc/gen/media_ctrl.rb +1 -1
- data/lib/wx/doc/gen/media_event.rb +1 -1
- data/lib/wx/doc/gen/memory_dc.rb +1 -1
- data/lib/wx/doc/gen/menu.rb +1 -1
- data/lib/wx/doc/gen/menu_bar.rb +1 -1
- data/lib/wx/doc/gen/menu_item.rb +1 -1
- data/lib/wx/doc/gen/message_dialog.rb +1 -1
- data/lib/wx/doc/gen/mini_frame.rb +1 -1
- data/lib/wx/doc/gen/mirror_dc.rb +1 -1
- data/lib/wx/doc/gen/mouse_state.rb +1 -1
- data/lib/wx/doc/gen/multi_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/non_owned_window.rb +1 -1
- data/lib/wx/doc/gen/notebook.rb +1 -1
- data/lib/wx/doc/gen/num_validator.rb +1 -1
- data/lib/wx/doc/gen/number_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/object.rb +1 -1
- data/lib/wx/doc/gen/owner_drawn_combo_box.rb +1 -1
- data/lib/wx/doc/gen/paint_dc.rb +1 -1
- data/lib/wx/doc/gen/palette.rb +1 -1
- data/lib/wx/doc/gen/panel.rb +1 -1
- data/lib/wx/doc/gen/pen.rb +1 -1
- data/lib/wx/doc/gen/persistence_manager.rb +1 -1
- data/lib/wx/doc/gen/persistent_object.rb +1 -1
- data/lib/wx/doc/gen/persistent_window.rb +1 -1
- data/lib/wx/doc/gen/pg/numeric_property_validator.rb +33 -29
- data/lib/wx/doc/gen/pg/pg_array_editor_dialog.rb +299 -295
- data/lib/wx/doc/gen/pg/pg_cell.rb +162 -158
- data/lib/wx/doc/gen/pg/pg_editor.rb +693 -689
- data/lib/wx/doc/gen/pg/pg_multi_button.rb +133 -129
- data/lib/wx/doc/gen/pg/pg_properties.rb +2662 -2658
- data/lib/wx/doc/gen/pg/pg_property.rb +1929 -1925
- data/lib/wx/doc/gen/pg/pg_validation_info.rb +275 -271
- data/lib/wx/doc/gen/pg/property_grid.rb +708 -704
- data/lib/wx/doc/gen/pg/property_grid_event.rb +168 -164
- data/lib/wx/doc/gen/pg/property_grid_interface.rb +1071 -1067
- data/lib/wx/doc/gen/pg/property_grid_manager.rb +386 -382
- data/lib/wx/doc/gen/pg/property_grid_page.rb +267 -263
- data/lib/wx/doc/gen/pg/property_grid_page_state.rb +147 -143
- data/lib/wx/doc/gen/picker_base.rb +1 -1
- data/lib/wx/doc/gen/platform_info.rb +1 -1
- data/lib/wx/doc/gen/popup_window.rb +1 -1
- data/lib/wx/doc/gen/progress_dialog.rb +1 -1
- data/lib/wx/doc/gen/property_sheet_dialog.rb +1 -1
- data/lib/wx/doc/gen/prt/page_setup_dialog.rb +32 -28
- data/lib/wx/doc/gen/prt/post_script_dc.rb +21 -17
- data/lib/wx/doc/gen/prt/preview_frame.rb +49 -45
- data/lib/wx/doc/gen/prt/print_abort_dialog.rb +126 -122
- data/lib/wx/doc/gen/prt/print_data.rb +637 -633
- data/lib/wx/doc/gen/prt/print_dialog.rb +43 -39
- data/lib/wx/doc/gen/prt/printer.rb +484 -480
- data/lib/wx/doc/gen/prt/printer_dc.rb +26 -22
- data/lib/wx/doc/gen/query_layout_info_event.rb +1 -1
- data/lib/wx/doc/gen/radio_box.rb +1 -1
- data/lib/wx/doc/gen/radio_button.rb +1 -1
- data/lib/wx/doc/gen/rbn/ribbon_art_provider.rb +1716 -1712
- data/lib/wx/doc/gen/rbn/ribbon_bar.rb +239 -235
- data/lib/wx/doc/gen/rbn/ribbon_bar_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_button_bar.rb +439 -435
- data/lib/wx/doc/gen/rbn/ribbon_button_bar_event.rb +52 -48
- data/lib/wx/doc/gen/rbn/ribbon_control.rb +116 -112
- data/lib/wx/doc/gen/rbn/ribbon_gallery.rb +205 -201
- data/lib/wx/doc/gen/rbn/ribbon_gallery_event.rb +44 -40
- data/lib/wx/doc/gen/rbn/ribbon_page.rb +129 -125
- data/lib/wx/doc/gen/rbn/ribbon_panel.rb +229 -225
- data/lib/wx/doc/gen/rbn/ribbon_panel_event.rb +34 -30
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar.rb +329 -325
- data/lib/wx/doc/gen/rbn/ribbon_tool_bar_event.rb +31 -27
- data/lib/wx/doc/gen/rearrange_ctrl.rb +1 -1
- data/lib/wx/doc/gen/rearrange_list.rb +1 -1
- data/lib/wx/doc/gen/region.rb +1 -1
- data/lib/wx/doc/gen/region_iterator.rb +1 -1
- data/lib/wx/doc/gen/rtc/rich_text_box.rb +424 -420
- data/lib/wx/doc/gen/rtc/rich_text_buffer.rb +1148 -1144
- data/lib/wx/doc/gen/rtc/rich_text_buffer_data_object.rb +30 -26
- data/lib/wx/doc/gen/rtc/rich_text_composite_object.rb +516 -512
- data/lib/wx/doc/gen/rtc/rich_text_ctrl.rb +1991 -1987
- data/lib/wx/doc/gen/rtc/rich_text_event.rb +159 -155
- data/lib/wx/doc/gen/rtc/rich_text_file_handler.rb +167 -163
- data/lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb +271 -267
- data/lib/wx/doc/gen/rtc/rich_text_header_footer_data.rb +171 -167
- data/lib/wx/doc/gen/rtc/rich_text_html_handler.rb +88 -84
- data/lib/wx/doc/gen/rtc/rich_text_image.rb +323 -319
- data/lib/wx/doc/gen/rtc/rich_text_object.rb +2819 -2815
- data/lib/wx/doc/gen/rtc/rich_text_paragraph_layout_box.rb +1187 -1183
- data/lib/wx/doc/gen/rtc/rich_text_printing.rb +242 -238
- data/lib/wx/doc/gen/rtc/rich_text_style_list_box.rb +286 -282
- data/lib/wx/doc/gen/rtc/rich_text_style_organiser_dialog.rb +181 -177
- data/lib/wx/doc/gen/rtc/rich_text_xml_handler.rb +47 -43
- data/lib/wx/doc/gen/rtc/symbol_picker_dialog.rb +145 -141
- data/lib/wx/doc/gen/sash_event.rb +1 -1
- data/lib/wx/doc/gen/sash_layout_window.rb +1 -1
- data/lib/wx/doc/gen/sash_window.rb +1 -1
- data/lib/wx/doc/gen/scaled_dc.rb +1 -1
- data/lib/wx/doc/gen/screen_dc.rb +1 -1
- data/lib/wx/doc/gen/scroll_bar.rb +1 -1
- data/lib/wx/doc/gen/scrolled_canvas.rb +1 -1
- data/lib/wx/doc/gen/scrolled_control.rb +1 -1
- data/lib/wx/doc/gen/scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/search_ctrl.rb +1 -1
- data/lib/wx/doc/gen/simplebook.rb +1 -1
- data/lib/wx/doc/gen/single_choice_dialog.rb +1 -1
- data/lib/wx/doc/gen/sizer.rb +1 -1
- data/lib/wx/doc/gen/sizer_item.rb +1 -1
- data/lib/wx/doc/gen/slider.rb +1 -1
- data/lib/wx/doc/gen/spin_button.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl.rb +1 -1
- data/lib/wx/doc/gen/spin_ctrl_double.rb +1 -1
- data/lib/wx/doc/gen/spin_double_event.rb +1 -1
- data/lib/wx/doc/gen/spin_event.rb +1 -1
- data/lib/wx/doc/gen/splash_screen.rb +1 -1
- data/lib/wx/doc/gen/splitter_event.rb +1 -1
- data/lib/wx/doc/gen/splitter_window.rb +1 -1
- data/lib/wx/doc/gen/static_bitmap.rb +1 -1
- data/lib/wx/doc/gen/static_box.rb +1 -1
- data/lib/wx/doc/gen/static_box_sizer.rb +1 -1
- data/lib/wx/doc/gen/static_line.rb +1 -1
- data/lib/wx/doc/gen/static_text.rb +1 -1
- data/lib/wx/doc/gen/status_bar.rb +1 -1
- data/lib/wx/doc/gen/stc/styled_text_ctrl.rb +4202 -4198
- data/lib/wx/doc/gen/stc/styled_text_event.rb +7511 -7507
- data/lib/wx/doc/gen/std_dialog_button_sizer.rb +1 -1
- data/lib/wx/doc/gen/svg_file_dc.rb +1 -1
- data/lib/wx/doc/gen/system_options.rb +1 -1
- data/lib/wx/doc/gen/system_settings.rb +1 -1
- data/lib/wx/doc/gen/task_bar_button.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon.rb +1 -1
- data/lib/wx/doc/gen/task_bar_icon_event.rb +1 -1
- data/lib/wx/doc/gen/text_attr.rb +1 -1
- data/lib/wx/doc/gen/text_ctrl.rb +1 -1
- data/lib/wx/doc/gen/text_entry.rb +1 -1
- data/lib/wx/doc/gen/text_entry_dialog.rb +1 -1
- data/lib/wx/doc/gen/text_validator.rb +1 -1
- data/lib/wx/doc/gen/time_picker_ctrl.rb +1 -1
- data/lib/wx/doc/gen/timer.rb +1 -1
- data/lib/wx/doc/gen/timer_event.rb +1 -1
- data/lib/wx/doc/gen/tip_provider.rb +1 -1
- data/lib/wx/doc/gen/toggle_button.rb +1 -1
- data/lib/wx/doc/gen/tool_bar.rb +1 -1
- data/lib/wx/doc/gen/tool_tip.rb +1 -1
- data/lib/wx/doc/gen/toolbook.rb +1 -1
- data/lib/wx/doc/gen/top_level_window.rb +1 -1
- data/lib/wx/doc/gen/tree_ctrl.rb +1 -1
- data/lib/wx/doc/gen/tree_event.rb +1 -1
- data/lib/wx/doc/gen/treebook.rb +1 -1
- data/lib/wx/doc/gen/ui_action_simulator.rb +1 -1
- data/lib/wx/doc/gen/utils.rb +1 -1
- data/lib/wx/doc/gen/v_list_box.rb +1 -1
- data/lib/wx/doc/gen/v_scrolled_window.rb +1 -1
- data/lib/wx/doc/gen/validator.rb +1 -1
- data/lib/wx/doc/gen/variant.rb +1 -1
- data/lib/wx/doc/gen/window.rb +1 -1
- data/lib/wx/doc/gen/window_dc.rb +1 -1
- data/lib/wx/doc/gen/window_disabler.rb +1 -1
- data/lib/wx/doc/gen/with_images.rb +1 -1
- data/lib/wx/doc/gen/wizard.rb +1 -1
- data/lib/wx/doc/gen/wizard_event.rb +1 -1
- data/lib/wx/doc/gen/wizard_page.rb +1 -1
- data/lib/wx/doc/gen/wizard_page_simple.rb +1 -1
- data/lib/wx/doc/gen/wrap_sizer.rb +1 -1
- data/lib/wx/doc/gen/xml_node.rb +1 -1
- data/lib/wx/doc/gen/xml_resource.rb +1 -1
- data/lib/wx/rtc/ext/rich_text_ctrl.rb +5 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wx/wxruby/base.rb +6 -4
- data/lib/wx/wxruby/cmd/sampler.rb +39 -29
- data/lib/wx/wxruby/cmd/setup.rb +122 -0
- data/lib/wx/wxruby/cmd/test.rb +56 -6
- data/lib/wxruby_aui.so +0 -0
- data/lib/wxruby_core.so +0 -0
- data/lib/wxruby_grid.so +0 -0
- data/lib/wxruby_html.so +0 -0
- data/lib/wxruby_pg.so +0 -0
- data/lib/wxruby_prt.so +0 -0
- data/lib/wxruby_rbn.so +0 -0
- data/lib/wxruby_rtc.so +0 -0
- data/lib/wxruby_stc.so +0 -0
- data/rakelib/install.rb +2 -0
- data/rakelib/lib/config/linux.rb +24 -2
- data/rakelib/lib/config/macosx.rb +16 -0
- data/rakelib/lib/config/mingw.rb +133 -9
- data/rakelib/lib/config/pkgman/arch.rb +53 -0
- data/rakelib/lib/config/pkgman/base.rb +169 -0
- data/rakelib/lib/config/pkgman/debian.rb +66 -0
- data/rakelib/lib/config/pkgman/macosx.rb +183 -0
- data/rakelib/lib/config/pkgman/rhel.rb +54 -0
- data/rakelib/lib/config/pkgman/suse.rb +54 -0
- data/rakelib/lib/config/unixish.rb +36 -19
- data/rakelib/lib/config.rb +254 -61
- data/rakelib/prepost.rake +9 -4
- data/rakelib/yard/templates/default/fulldoc/html/css/wxruby3.css +14 -0
- data/rakelib/yard/templates/default/fulldoc/html/setup.rb +5 -5
- data/rakelib/yard/yard/relative_markdown_links.rb +7 -1
- metadata +23 -4
@@ -6,1091 +6,1095 @@
|
|
6
6
|
|
7
7
|
module Wx::PG
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
#
|
23
|
-
#
|
24
|
-
# @note In wxRuby this is a mixin module instead of a (base) class.
|
25
|
-
# @wxrb_require USE_PROPGRID
|
26
|
-
module PropertyGridInterface
|
27
|
-
|
9
|
+
module Wx::PG
|
10
|
+
|
11
|
+
# Most of the shared property manipulation interface shared by {Wx::PG::PropertyGrid}, {Wx::PG::PropertyGridPage}, and {Wx::PG::PropertyGridManager} is defined in this class.
|
12
|
+
#
|
13
|
+
# <div class="wxrb-remark">
|
14
|
+
# <b>Remark:</b>
|
15
|
+
# <p>
|
16
|
+
#
|
17
|
+
# - In separate {Wx::PG::PropertyGrid} component this class was known as {Wx::PropertyContainerMethods}.
|
18
|
+
# - {Wx::PG::PropertyGridInterface}'s property operation member functions all accept a special {Wx::PGPropArg} id argument, using which you can refer to properties either by their pointer (for performance) or by their name (for conveniency).
|
19
|
+
#
|
20
|
+
# </p>
|
21
|
+
# </div>
|
28
22
|
#
|
23
|
+
# Category: {Wx::PG::PropertyGrid}
|
29
24
|
#
|
30
|
-
# Flags for {Wx::PG::PropertyGridInterface#save_editable_state} and {Wx::PG::PropertyGridInterface#restore_editable_state}.
|
31
25
|
#
|
26
|
+
# @note In wxRuby this is a mixin module instead of a (base) class.
|
32
27
|
# @wxrb_require USE_PROPGRID
|
33
|
-
|
28
|
+
module PropertyGridInterface
|
34
29
|
|
35
|
-
# Include selected property.
|
36
30
|
#
|
37
|
-
|
31
|
+
#
|
32
|
+
# Flags for {Wx::PG::PropertyGridInterface#save_editable_state} and {Wx::PG::PropertyGridInterface#restore_editable_state}.
|
33
|
+
#
|
34
|
+
# @wxrb_require USE_PROPGRID
|
35
|
+
class EditableStateFlags < Wx::Enum
|
36
|
+
|
37
|
+
# Include selected property.
|
38
|
+
#
|
39
|
+
SelectionState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(1)
|
40
|
+
|
41
|
+
# Include expanded/collapsed property information.
|
42
|
+
#
|
43
|
+
ExpandedState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(2)
|
44
|
+
|
45
|
+
# Include scrolled position.
|
46
|
+
#
|
47
|
+
ScrollPosState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(4)
|
48
|
+
|
49
|
+
# Include selected page information.
|
50
|
+
#
|
51
|
+
PageState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(8)
|
52
|
+
|
53
|
+
# Include splitter position.
|
54
|
+
#
|
55
|
+
SplitterPosState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(16)
|
56
|
+
|
57
|
+
# Include description box size.
|
58
|
+
#
|
59
|
+
DescBoxState = Wx::PG::PropertyGridInterface::EditableStateFlags.new(32)
|
60
|
+
|
61
|
+
# Include all supported user editable state information.
|
62
|
+
#
|
63
|
+
AllStates = Wx::PG::PropertyGridInterface::EditableStateFlags.new(63)
|
64
|
+
|
65
|
+
end # EditableStateFlags
|
38
66
|
|
39
|
-
#
|
67
|
+
# Appends property to the list.
|
40
68
|
#
|
41
|
-
|
69
|
+
# {Wx::PG::PropertyGrid} assumes ownership of the object. Becomes child of most recently added category.
|
70
|
+
#
|
71
|
+
# <div class="wxrb-remark">
|
72
|
+
# <b>Remark:</b>
|
73
|
+
# <p>
|
74
|
+
#
|
75
|
+
# - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
|
76
|
+
# - If appending a category with name identical to a category already in the {Wx::PG::PropertyGrid}, then newly created category is deleted, and most recently added category (under which properties are appended) is set to the one with same name. This allows easier adding of items to same categories in multiple passes.
|
77
|
+
# - Does not automatically redraw the control, so you may need to call Refresh() when calling this function after control has been shown for the first time.
|
78
|
+
# - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
79
|
+
#
|
80
|
+
# </p>
|
81
|
+
# </div>
|
82
|
+
# @param property [Wx::PG::PGProperty]
|
83
|
+
# @return [Wx::PG::PGProperty]
|
84
|
+
def append(property) end
|
85
|
+
|
86
|
+
# Same as {Wx::PG::PropertyGridInterface#append}, but appends under given parent property.
|
87
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer to parent property.
|
88
|
+
# @param newProperty [Wx::PG::PGProperty] Property to be added.
|
89
|
+
# @return [Wx::PG::PGProperty]
|
90
|
+
def append_in(id, newProperty) end
|
42
91
|
|
43
|
-
#
|
92
|
+
# In order to add new items into a property with private children (for instance, {Wx::PG::FlagsProperty}), you need to call this method.
|
44
93
|
#
|
45
|
-
|
94
|
+
# After populating has been finished, you need to call {Wx::PG::PropertyGridInterface#end_add_children}.
|
95
|
+
# @see Wx::PG::PropertyGridInterface#end_add_children
|
96
|
+
# @param id [String,Wx::PG::PGProperty]
|
97
|
+
# @return [void]
|
98
|
+
def begin_add_children(id) end
|
46
99
|
|
47
|
-
#
|
100
|
+
# Deletes all properties.
|
48
101
|
#
|
49
|
-
|
102
|
+
# <div class="wxrb-remark">
|
103
|
+
# <b>Remark:</b>
|
104
|
+
# <p>This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
105
|
+
# </p>
|
106
|
+
# </div>
|
107
|
+
# @return [void]
|
108
|
+
def clear; end
|
50
109
|
|
51
|
-
#
|
110
|
+
# Clears current selection, if any.
|
52
111
|
#
|
53
|
-
|
112
|
+
# Returns true if successful or if there was no selection. May fail if validation was enabled and active editor had invalid value.
|
113
|
+
#
|
114
|
+
# <div class="wxrb-remark">
|
115
|
+
# <b>Remark:</b>
|
116
|
+
# <p>In wxWidgets 2.9 and later, this function no longer sends {Wx::PG_EVT_SELECTED}.
|
117
|
+
# </p>
|
118
|
+
# </div>
|
119
|
+
# @see Wx::PG::PropertyGrid#select_property
|
120
|
+
# @param validation [Boolean] If set to false, deselecting the property will always work, even if its editor had invalid value in it.
|
121
|
+
# @return [Boolean]
|
122
|
+
def clear_selection(validation=false) end
|
123
|
+
|
124
|
+
# Resets modified status of all properties.
|
125
|
+
# @return [void]
|
126
|
+
def clear_modified_status; end
|
54
127
|
|
55
|
-
#
|
128
|
+
# Collapses given category or property with children.
|
56
129
|
#
|
57
|
-
|
130
|
+
# Returns true if actually collapsed.
|
131
|
+
#
|
132
|
+
# <div class="wxrb-remark">
|
133
|
+
# <b>Remark:</b>
|
134
|
+
# <p>This function may deselect selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
135
|
+
# </p>
|
136
|
+
# </div>
|
137
|
+
# @param id [String,Wx::PG::PGProperty]
|
138
|
+
# @return [Boolean]
|
139
|
+
def collapse(id) end
|
58
140
|
|
59
|
-
#
|
141
|
+
# Collapses all items that can be collapsed.
|
142
|
+
#
|
143
|
+
# Return false if failed (may fail if editor value cannot be validated).
|
60
144
|
#
|
61
|
-
|
145
|
+
# <div class="wxrb-remark">
|
146
|
+
# <b>Remark:</b>
|
147
|
+
# <p>This functions clears selection. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
148
|
+
# </p>
|
149
|
+
# </div>
|
150
|
+
# @return [Boolean]
|
151
|
+
def collapse_all; end
|
62
152
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
# Sets value ({Wx::String}) of a property.
|
1007
|
-
#
|
1008
|
-
# <div class="wxrb-remark">
|
1009
|
-
# <b>Remark:</b>
|
1010
|
-
# <p>This method uses {Wx::PG::PGProperty#set_value_from_string}, which all properties should implement. This means that there should not be a type error, and instead the string is converted to property's actual value type.
|
1011
|
-
# </p>
|
1012
|
-
# </div>
|
1013
|
-
# @param id [String,Wx::PG::PGProperty]
|
1014
|
-
# @param value [String]
|
1015
|
-
# @return [void]
|
1016
|
-
def set_property_value_string(id, value) end
|
1017
|
-
|
1018
|
-
# Sets value ({Wx::Variant}&) of a property.
|
1019
|
-
#
|
1020
|
-
# Same as SetPropertyValue, but accepts reference.
|
1021
|
-
# @param id [String,Wx::PG::PGProperty]
|
1022
|
-
# @param value [Wx::Variant]
|
1023
|
-
# @return [void]
|
1024
|
-
def set_prop_val(id, value) end
|
1025
|
-
|
1026
|
-
# Adjusts how {Wx::PG::PropertyGrid} behaves when invalid value is entered in a property.
|
1027
|
-
# @param vfbFlags [Integer] See wxPropertyGrid Validation Failure behaviour Flags for possible values.
|
1028
|
-
# @return [void]
|
1029
|
-
def set_validation_failure_behavior(vfbFlags) end
|
1030
|
-
alias_method :validation_failure_behavior=, :set_validation_failure_behavior
|
1031
|
-
|
1032
|
-
# Sorts all properties recursively.
|
1033
|
-
#
|
1034
|
-
#
|
1035
|
-
# @see Wx::PG::PropertyGridInterface#sort_children
|
1036
|
-
# @see Wx::PG::PropertyGrid#set_sort_function
|
1037
|
-
# @param flags [Integer] This can contain any of the following options: {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_SORT_TOP_LEVEL_ONLY}: Only sort categories and their immediate children. Sorting done by {Wx::PG::PG_WINDOW_STYLES::PG_AUTO_SORT} option uses this.
|
1038
|
-
# @return [void]
|
1039
|
-
def sort(flags=0) end
|
1040
|
-
|
1041
|
-
# Sorts children of a property.
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
# @see Wx::PG::PropertyGridInterface#sort
|
1045
|
-
# @see Wx::PG::PropertyGrid#set_sort_function
|
1046
|
-
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
1047
|
-
# @param flags [Integer] This can contain any of the following options: {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE}: Sorts recursively.
|
1048
|
-
# @return [void]
|
1049
|
-
def sort_children(id, flags=0) end
|
1050
|
-
|
1051
|
-
# {Wx::PG::PropertyGridInterface#get_property_by_name} with assertion error message.
|
1052
|
-
# @param name [String]
|
1053
|
-
# @return [Wx::PG::PGProperty]
|
1054
|
-
def get_property_by_name_a(name) end
|
1055
|
-
alias_method :property_by_name_a, :get_property_by_name_a
|
1056
|
-
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
# <div class="wxrb-remark">
|
1060
|
-
# <b>Remark:</b>
|
1061
|
-
# <p>This function reselects the property and may cause excess flicker, so to just call Refresh() on a rect of single property, call DrawItem() instead.
|
1062
|
-
# </p>
|
1063
|
-
# </div>
|
1064
|
-
# @param p [Wx::PG::PGProperty]
|
1065
|
-
# @return [void]
|
1066
|
-
def refresh_property(p) end
|
1067
|
-
|
1068
|
-
# Initializes all property types.
|
1069
|
-
#
|
1070
|
-
# Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library.
|
1071
|
-
# @return [void]
|
1072
|
-
def self.init_all_type_handlers; end
|
1073
|
-
|
1074
|
-
# Initializes additional property editors (SpinCtrl etc.).
|
1075
|
-
#
|
1076
|
-
# Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library.
|
1077
|
-
# @return [void]
|
1078
|
-
def self.register_additional_editors; end
|
1079
|
-
|
1080
|
-
# Sets strings listed in the choice dropdown of a {Wx::PG::BoolProperty}.
|
1081
|
-
#
|
1082
|
-
# Defaults are "True" and "False", so changing them to, say, "Yes" and "No" may be useful in some less technical applications.
|
1083
|
-
# @param trueChoice [String]
|
1084
|
-
# @param falseChoice [String]
|
1085
|
-
# @return [void]
|
1086
|
-
def self.set_bool_choices(trueChoice, falseChoice) end
|
1087
|
-
|
1088
|
-
# Returns editor pointer of editor with given name.
|
1089
|
-
# @param editorName [String]
|
1090
|
-
# @return [Wx::PG::PGEditor]
|
1091
|
-
def self.get_editor_by_name(editorName) end
|
153
|
+
# Changes value of a property, as if by user.
|
154
|
+
#
|
155
|
+
# Use this instead of {Wx::PG::PropertyGridInterface#set_property_value} if you need the value to run through validation process, and also send {Wx::PG::EVT_PG_CHANGED}.
|
156
|
+
#
|
157
|
+
# <div class="wxrb-remark">
|
158
|
+
# <b>Remark:</b>
|
159
|
+
# <p>Since this function sends {Wx::PG::EVT_PG_CHANGED}, it should not be called from EVT_PG_CHANGED handler.
|
160
|
+
# </p>
|
161
|
+
# </div>
|
162
|
+
#
|
163
|
+
# Returns true if value was successfully changed.
|
164
|
+
# @param id [String,Wx::PG::PGProperty]
|
165
|
+
# @param newValue [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
166
|
+
# @return [Boolean]
|
167
|
+
def change_property_value(id, newValue) end
|
168
|
+
|
169
|
+
# Removes and deletes a property and any children.
|
170
|
+
#
|
171
|
+
# <div class="wxrb-remark">
|
172
|
+
# <b>Remark:</b>
|
173
|
+
# <p>If you delete a property in a {Wx::PG::PropertyGrid} event handler, the actual deletion is postponed until the next idle event.
|
174
|
+
# </p>
|
175
|
+
# </div>
|
176
|
+
#
|
177
|
+
# This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
178
|
+
# @param id [String,Wx::PG::PGProperty] Pointer or name of a property.
|
179
|
+
# @return [void]
|
180
|
+
def delete_property(id) end
|
181
|
+
|
182
|
+
# Disables a property.
|
183
|
+
#
|
184
|
+
# <div class="wxrb-remark">
|
185
|
+
# <b>Remark:</b>
|
186
|
+
# <p>Property is refreshed with new settings.
|
187
|
+
# </p>
|
188
|
+
# </div>
|
189
|
+
# @see Wx::PG::PropertyGridInterface#enable_property
|
190
|
+
# @see Wx::PG::PGProperty#enable
|
191
|
+
# @param id [String,Wx::PG::PGProperty]
|
192
|
+
# @return [Boolean]
|
193
|
+
def disable_property(id) end
|
194
|
+
|
195
|
+
# Returns true if all property grid data changes have been committed.
|
196
|
+
#
|
197
|
+
# Usually only returns false if value in active editor has been invalidated by a {Wx::Validator}.
|
198
|
+
# @return [Boolean]
|
199
|
+
def editor_validate; end
|
200
|
+
|
201
|
+
# Enables or disables property.
|
202
|
+
#
|
203
|
+
# Disabled property usually appears as having grey text.
|
204
|
+
#
|
205
|
+
# <div class="wxrb-remark">
|
206
|
+
# <b>Remark:</b>
|
207
|
+
# <p>Property is refreshed with new settings.
|
208
|
+
# </p>
|
209
|
+
# </div>
|
210
|
+
# @see Wx::PG::PGProperty#enable
|
211
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
212
|
+
# @param enable [Boolean] If false, property is disabled instead.
|
213
|
+
# @return [Boolean]
|
214
|
+
def enable_property(id, enable=true) end
|
215
|
+
|
216
|
+
# Called after population of property with fixed children has finished.
|
217
|
+
#
|
218
|
+
#
|
219
|
+
# @see Wx::PG::PropertyGridInterface#begin_add_children
|
220
|
+
# @param id [String,Wx::PG::PGProperty]
|
221
|
+
# @return [void]
|
222
|
+
def end_add_children(id) end
|
223
|
+
|
224
|
+
# Expands given category or property with children.
|
225
|
+
#
|
226
|
+
# Returns true if actually expanded.
|
227
|
+
#
|
228
|
+
# <div class="wxrb-remark">
|
229
|
+
# <b>Remark:</b>
|
230
|
+
# <p>This function may deselect selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
231
|
+
# </p>
|
232
|
+
# </div>
|
233
|
+
# @param id [String,Wx::PG::PGProperty]
|
234
|
+
# @return [Boolean]
|
235
|
+
def expand(id) end
|
236
|
+
|
237
|
+
# Expands all items that can be expanded.
|
238
|
+
#
|
239
|
+
# <div class="wxrb-remark">
|
240
|
+
# <b>Remark:</b>
|
241
|
+
# <p>This functions clears selection. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
242
|
+
# </p>
|
243
|
+
# </div>
|
244
|
+
# @param expand [Boolean]
|
245
|
+
# @return [Boolean]
|
246
|
+
def expand_all(expand=true) end
|
247
|
+
|
248
|
+
# Returns auto-resize proportion of the given column.
|
249
|
+
#
|
250
|
+
#
|
251
|
+
# @see Wx::PG::PropertyGridInterface#set_column_proportion
|
252
|
+
# @param column [Integer]
|
253
|
+
# @return [Integer]
|
254
|
+
def get_column_proportion(column) end
|
255
|
+
alias_method :column_proportion, :get_column_proportion
|
256
|
+
|
257
|
+
# Returns id of first child of given property.
|
258
|
+
#
|
259
|
+
# <div class="wxrb-remark">
|
260
|
+
# <b>Remark:</b>
|
261
|
+
# <p>Does not return private children!
|
262
|
+
# </p>
|
263
|
+
# </div>
|
264
|
+
# @param id [String,Wx::PG::PGProperty]
|
265
|
+
# @return [Wx::PG::PGProperty]
|
266
|
+
def get_first_child(id) end
|
267
|
+
alias_method :first_child, :get_first_child
|
268
|
+
|
269
|
+
# @param flags [Integer]
|
270
|
+
# @return [Wx::PG::PGProperty]
|
271
|
+
def get_first(flags=Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_ALL) end
|
272
|
+
alias_method :first, :get_first
|
273
|
+
|
274
|
+
# Returns pointer to a property with given name (case-sensitive).
|
275
|
+
#
|
276
|
+
# If there is no property with such name, NULL pointer is returned.
|
277
|
+
#
|
278
|
+
# <div class="wxrb-remark">
|
279
|
+
# <b>Remark:</b>
|
280
|
+
# <p>Properties which have non-category, non-root parent cannot be accessed globally by their name. Instead, use "<property>.<subproperty>" instead of "<subproperty>".
|
281
|
+
# </p>
|
282
|
+
# </div>
|
283
|
+
# @param name [String]
|
284
|
+
# @return [Wx::PG::PGProperty]
|
285
|
+
def get_property(name) end
|
286
|
+
alias_method :property, :get_property
|
287
|
+
|
288
|
+
# Adds to targetArr pointers to properties that have given flags set.
|
289
|
+
#
|
290
|
+
# However, if inverse is set to true, then only properties without given flags are stored.
|
291
|
+
# @param flags [Integer] Property flags to use.
|
292
|
+
# @param inverse [Boolean] If false, properties that have given flags are stored, otherwise there are stored only properties without given flags.
|
293
|
+
# @param iterFlags [Integer] Iterator flags to use. Default is everything expect private children. See wxPropertyGridIterator Flags.
|
294
|
+
# @return [Array<Wx::PG::PGProperty>]
|
295
|
+
def get_properties_with_flag(flags, inverse=false, iterFlags=((Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_PROPERTIES|Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_HIDDEN|Wx::PG::PG_ITERATOR_FLAGS::PG_ITERATE_CATEGORIES))) end
|
296
|
+
alias_method :properties_with_flag, :get_properties_with_flag
|
297
|
+
|
298
|
+
# Returns value of given attribute.
|
299
|
+
#
|
300
|
+
# If none found, returns {Wx::NullVariant}.
|
301
|
+
# @param id [String,Wx::PG::PGProperty]
|
302
|
+
# @param attrName [String]
|
303
|
+
# @return [Wx::Variant]
|
304
|
+
def get_property_attribute(id, attrName) end
|
305
|
+
alias_method :property_attribute, :get_property_attribute
|
306
|
+
|
307
|
+
# Returns background colour of first cell of a property.
|
308
|
+
# @param id [String,Wx::PG::PGProperty]
|
309
|
+
# @return [Wx::Colour]
|
310
|
+
def get_property_background_colour(id) end
|
311
|
+
alias_method :property_background_colour, :get_property_background_colour
|
312
|
+
|
313
|
+
# Returns pointer of property's nearest parent category.
|
314
|
+
#
|
315
|
+
# If no category found, returns NULL.
|
316
|
+
# @param id [String,Wx::PG::PGProperty]
|
317
|
+
# @return [Wx::PG::PropertyCategory]
|
318
|
+
def get_property_category(id) end
|
319
|
+
alias_method :property_category, :get_property_category
|
320
|
+
|
321
|
+
# Returns client data (void*) of a property.
|
322
|
+
# @param id [String,Wx::PG::PGProperty]
|
323
|
+
# @return [Object]
|
324
|
+
def get_property_client_data(id) end
|
325
|
+
alias_method :property_client_data, :get_property_client_data
|
326
|
+
|
327
|
+
# Returns first property which label matches given string.
|
328
|
+
#
|
329
|
+
# NULL if none found. Note that this operation is very slow when compared to {Wx::PG::PropertyGridInterface#get_property_by_name}.
|
330
|
+
# @param label [String]
|
331
|
+
# @return [Wx::PG::PGProperty]
|
332
|
+
def get_property_by_label(label) end
|
333
|
+
alias_method :property_by_label, :get_property_by_label
|
334
|
+
|
335
|
+
# @overload get_property_by_name(name)
|
336
|
+
# Returns pointer to a property with given name (case-sensitive).
|
337
|
+
#
|
338
|
+
# If there is no property with such name, NULL pointer is returned.
|
339
|
+
#
|
340
|
+
# <div class="wxrb-remark">
|
341
|
+
# <b>Remark:</b>
|
342
|
+
# <p>Properties which have non-category, non-root parent cannot be accessed globally by their name. Instead, use "<property>.<subproperty>" instead of "<subproperty>".
|
343
|
+
# </p>
|
344
|
+
# </div>
|
345
|
+
# @param name [String]
|
346
|
+
# @return [Wx::PG::PGProperty]
|
347
|
+
# @overload get_property_by_name(name, subname)
|
348
|
+
# Returns child property subname of property name.
|
349
|
+
#
|
350
|
+
# Same as calling GetPropertyByName("name.subname"), albeit slightly faster.
|
351
|
+
# @param name [String]
|
352
|
+
# @param subname [String]
|
353
|
+
# @return [Wx::PG::PGProperty]
|
354
|
+
def get_property_by_name(*args) end
|
355
|
+
alias_method :property_by_name, :get_property_by_name
|
356
|
+
|
357
|
+
# Returns property's editor.
|
358
|
+
# @param id [String,Wx::PG::PGProperty]
|
359
|
+
# @return [Wx::PG::PGEditor]
|
360
|
+
def get_property_editor(id) end
|
361
|
+
alias_method :property_editor, :get_property_editor
|
362
|
+
|
363
|
+
# Returns help string associated with a property.
|
364
|
+
# @param id [String,Wx::PG::PGProperty]
|
365
|
+
# @return [String]
|
366
|
+
def get_property_help_string(id) end
|
367
|
+
alias_method :property_help_string, :get_property_help_string
|
368
|
+
|
369
|
+
# Returns property's custom value image (NULL of none).
|
370
|
+
# @param id [String,Wx::PG::PGProperty]
|
371
|
+
# @return [Wx::Bitmap]
|
372
|
+
def get_property_image(id) end
|
373
|
+
alias_method :property_image, :get_property_image
|
374
|
+
|
375
|
+
# Returns label of a property.
|
376
|
+
# @param id [String,Wx::PG::PGProperty]
|
377
|
+
# @return [Wx::String]
|
378
|
+
def get_property_label(id) end
|
379
|
+
alias_method :property_label, :get_property_label
|
380
|
+
|
381
|
+
# Returns property's name, by which it is globally accessible.
|
382
|
+
# @param property [Wx::PG::PGProperty]
|
383
|
+
# @return [String]
|
384
|
+
def get_property_name(property) end
|
385
|
+
alias_method :property_name, :get_property_name
|
386
|
+
|
387
|
+
# Returns parent item of a property.
|
388
|
+
# @param id [String,Wx::PG::PGProperty]
|
389
|
+
# @return [Wx::PG::PGProperty]
|
390
|
+
def get_property_parent(id) end
|
391
|
+
alias_method :property_parent, :get_property_parent
|
392
|
+
|
393
|
+
# Returns text colour of first cell of a property.
|
394
|
+
# @param id [String,Wx::PG::PGProperty]
|
395
|
+
# @return [Wx::Colour]
|
396
|
+
def get_property_text_colour(id) end
|
397
|
+
alias_method :property_text_colour, :get_property_text_colour
|
398
|
+
|
399
|
+
# Returns validator of a property as a reference, which you can pass to any number of SetPropertyValidator.
|
400
|
+
# @param id [String,Wx::PG::PGProperty]
|
401
|
+
# @return [Wx::Validator]
|
402
|
+
# @wxrb_require USE_VALIDATORS
|
403
|
+
def get_property_validator(id) end
|
404
|
+
alias_method :property_validator, :get_property_validator
|
405
|
+
|
406
|
+
# Returns property's value as {Wx::Variant}.
|
407
|
+
#
|
408
|
+
# If property value is unspecified, {Wx::NullVariant} is returned.
|
409
|
+
# @param id [String,Wx::PG::PGProperty]
|
410
|
+
# @return [Wx::Variant]
|
411
|
+
def get_property_value(id) end
|
412
|
+
alias_method :property_value, :get_property_value
|
413
|
+
|
414
|
+
# Return's property's value as {Wx::ArrayInt}.
|
415
|
+
# @param id [String,Wx::PG::PGProperty]
|
416
|
+
# @return [Array<Integer>]
|
417
|
+
def get_property_value_as_array_int(id) end
|
418
|
+
alias_method :property_value_as_array_int, :get_property_value_as_array_int
|
419
|
+
|
420
|
+
# Returns property's value as {Wx::ArrayString}.
|
421
|
+
# @param id [String,Wx::PG::PGProperty]
|
422
|
+
# @return [Array<String>]
|
423
|
+
def get_property_value_as_array_string(id) end
|
424
|
+
alias_method :property_value_as_array_string, :get_property_value_as_array_string
|
425
|
+
|
426
|
+
# Returns property's value as bool.
|
427
|
+
# @param id [String,Wx::PG::PGProperty]
|
428
|
+
# @return [Boolean]
|
429
|
+
def get_property_value_as_bool(id) end
|
430
|
+
alias_method :property_value_as_bool, :get_property_value_as_bool
|
431
|
+
|
432
|
+
# Return's property's value as {Wx::DateTime}.
|
433
|
+
# @param id [String,Wx::PG::PGProperty]
|
434
|
+
# @return [Time,Date,DateTime]
|
435
|
+
# @wxrb_require USE_DATETIME
|
436
|
+
def get_property_value_as_date_time(id) end
|
437
|
+
alias_method :property_value_as_date_time, :get_property_value_as_date_time
|
438
|
+
|
439
|
+
# Returns property's value as double-precision floating point number.
|
440
|
+
# @param id [String,Wx::PG::PGProperty]
|
441
|
+
# @return [Float]
|
442
|
+
def get_property_value_as_double(id) end
|
443
|
+
alias_method :property_value_as_double, :get_property_value_as_double
|
444
|
+
|
445
|
+
# Returns property's value as integer.
|
446
|
+
# @param id [String,Wx::PG::PGProperty]
|
447
|
+
# @return [Integer]
|
448
|
+
def get_property_value_as_int(id) end
|
449
|
+
alias_method :property_value_as_int, :get_property_value_as_int
|
450
|
+
|
451
|
+
# Returns property's value as integer.
|
452
|
+
# @param id [String,Wx::PG::PGProperty]
|
453
|
+
# @return [Integer]
|
454
|
+
def get_property_value_as_long(id) end
|
455
|
+
alias_method :property_value_as_long, :get_property_value_as_long
|
456
|
+
|
457
|
+
# Returns property's value as native signed 64-bit integer.
|
458
|
+
# @param id [String,Wx::PG::PGProperty]
|
459
|
+
# @return [Integer]
|
460
|
+
# @wxrb_require USE_LONGLONG
|
461
|
+
def get_property_value_as_long_long(id) end
|
462
|
+
alias_method :property_value_as_long_long, :get_property_value_as_long_long
|
463
|
+
|
464
|
+
# Returns property's value as {Wx::String}.
|
465
|
+
#
|
466
|
+
# If property does not use string value type, then its value is converted using {Wx::PG::PGProperty#get_value_as_string}.
|
467
|
+
# @param id [String,Wx::PG::PGProperty]
|
468
|
+
# @return [String]
|
469
|
+
def get_property_value_as_string(id) end
|
470
|
+
alias_method :property_value_as_string, :get_property_value_as_string
|
471
|
+
|
472
|
+
# Returns property's value as unsigned integer.
|
473
|
+
# @param id [String,Wx::PG::PGProperty]
|
474
|
+
# @return [Integer]
|
475
|
+
def get_property_value_as_u_long(id) end
|
476
|
+
alias_method :property_value_as_u_long, :get_property_value_as_u_long
|
477
|
+
|
478
|
+
# Returns property's value as native unsigned 64-bit integer.
|
479
|
+
# @param id [String,Wx::PG::PGProperty]
|
480
|
+
# @return [Integer]
|
481
|
+
# @wxrb_require USE_LONGLONG
|
482
|
+
def get_property_value_as_u_long_long(id) end
|
483
|
+
alias_method :property_value_as_u_long_long, :get_property_value_as_u_long_long
|
484
|
+
|
485
|
+
# Returns a {Wx::Variant} list containing {Wx::Variant} versions of all property values.
|
486
|
+
#
|
487
|
+
# Order is not guaranteed.
|
488
|
+
# @param listname [String] Name of the returned {Wx::Variant} list.
|
489
|
+
# @param baseparent [Wx::PG::PGProperty] The base property which children properties will be queried for values.
|
490
|
+
# @param flags [Integer] Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_KEEP_STRUCTURE} to retain category structure; each sub category will be its own {Wx::VariantList} of {Wx::Variant}. Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_INC_ATTRIBUTES} to include property attributes as well. Each attribute will be stored as list variant named "@<propname>@attr."
|
491
|
+
# @return [Wx::Variant]
|
492
|
+
def get_property_values(listname=(''), baseparent=nil, flags=0) end
|
493
|
+
alias_method :property_values, :get_property_values
|
494
|
+
|
495
|
+
# Returns list of currently selected properties.
|
496
|
+
#
|
497
|
+
# <div class="wxrb-remark">
|
498
|
+
# <b>Remark:</b>
|
499
|
+
# <p>{Wx::ArrayPGProperty} should be compatible with std::vector API.
|
500
|
+
# </p>
|
501
|
+
# </div>
|
502
|
+
# @return [Array<Wx::PG::PGProperty>]
|
503
|
+
def get_selected_properties; end
|
504
|
+
alias_method :selected_properties, :get_selected_properties
|
505
|
+
|
506
|
+
# Returns currently selected property.
|
507
|
+
#
|
508
|
+
# NULL if none.
|
509
|
+
#
|
510
|
+
# <div class="wxrb-remark">
|
511
|
+
# <b>Remark:</b>
|
512
|
+
# <p>When {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_MULTIPLE_SELECTION} extra style is used, this member function returns the focused property, that is the one which can have active editor.
|
513
|
+
# </p>
|
514
|
+
# </div>
|
515
|
+
# @return [Wx::PG::PGProperty]
|
516
|
+
def get_selection; end
|
517
|
+
alias_method :selection, :get_selection
|
518
|
+
|
519
|
+
# Hides or reveals a property.
|
520
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
521
|
+
# @param hide [Boolean] If true, hides property, otherwise reveals it.
|
522
|
+
# @param flags [Integer] By default changes are applied recursively. Set this parameter {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
|
523
|
+
# @return [Boolean]
|
524
|
+
def hide_property(id, hide=true, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
525
|
+
|
526
|
+
# @overload insert(priorThis, newProperty)
|
527
|
+
# Inserts property to the property container.
|
528
|
+
#
|
529
|
+
# Returns newProperty.
|
530
|
+
#
|
531
|
+
# <div class="wxrb-remark">
|
532
|
+
# <b>Remark:</b>
|
533
|
+
# <p>
|
534
|
+
# </p>
|
535
|
+
# </div>
|
536
|
+
#
|
537
|
+
# - {Wx::PG::PropertyGrid} takes the ownership of the property pointer.
|
538
|
+
# - While Append may be faster way to add items, make note that when both types of data storage (categoric and non-categoric) are active, Insert becomes even more slow. This is especially true if current mode is non-categoric.
|
539
|
+
# - This functions deselects selected property, if any. Validation failure option {Wx::PG::PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS::PG_VFB_STAY_IN_PROPERTY} is not respected, i.e. selection is cleared even if editor had invalid value.
|
540
|
+
#
|
541
|
+
# Example of use:
|
542
|
+
#
|
543
|
+
# ```ruby
|
544
|
+
# # append category
|
545
|
+
# my_cat_id = propertygrid.append(Wx::PG::PropertyCategory.new("My Category"))
|
546
|
+
#
|
547
|
+
# ...
|
548
|
+
#
|
549
|
+
# # insert into category - using second overload
|
550
|
+
# my_item_id_1 = propertygrid.insert(my_cat_id, 0, Wx::PG::StringProperty.new("My String 1"))
|
551
|
+
#
|
552
|
+
# # insert before to first item - using first overload
|
553
|
+
# my_item_id_2 = propertygrid.insert(my_item_id, Wx::PG::StringProperty.new("My String 2"))
|
554
|
+
# ```
|
555
|
+
# @param priorThis [String,Wx::PG::PGProperty] New property is inserted just prior to this. Available only in the first variant. There are two versions of this function to allow this parameter to be either an id or name to a property.
|
556
|
+
# @param newProperty [Wx::PG::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
|
557
|
+
# @return [Wx::PG::PGProperty]
|
558
|
+
# @overload insert(parent, index, newProperty)
|
559
|
+
# Inserts property to the property container.
|
560
|
+
#
|
561
|
+
# See the other overload for more details.
|
562
|
+
#
|
563
|
+
# Returns newProperty.
|
564
|
+
# @param parent [String,Wx::PG::PGProperty] New property is inserted under this category. Available only in the second variant. There are two versions of this function to allow this parameter to be either an id or name to a property.
|
565
|
+
# @param index [Integer] Index under category. Available only in the second variant. If index is < 0, property is appended in category.
|
566
|
+
# @param newProperty [Wx::PG::PGProperty] Pointer to the inserted property. {Wx::PG::PropertyGrid} will take ownership of this object.
|
567
|
+
# @return [Wx::PG::PGProperty]
|
568
|
+
def insert(*args) end
|
569
|
+
|
570
|
+
# Returns true if property is a category.
|
571
|
+
# @param id [String,Wx::PG::PGProperty]
|
572
|
+
# @return [Boolean]
|
573
|
+
def is_property_category(id) end
|
574
|
+
alias_method :property_category?, :is_property_category
|
575
|
+
|
576
|
+
# Returns true if property is enabled.
|
577
|
+
# @param id [String,Wx::PG::PGProperty]
|
578
|
+
# @return [Boolean]
|
579
|
+
def is_property_enabled(id) end
|
580
|
+
alias_method :property_enabled?, :is_property_enabled
|
581
|
+
|
582
|
+
# Returns true if given property is expanded.
|
583
|
+
#
|
584
|
+
# Naturally, always returns false for properties that cannot be expanded.
|
585
|
+
# @param id [String,Wx::PG::PGProperty]
|
586
|
+
# @return [Boolean]
|
587
|
+
def is_property_expanded(id) end
|
588
|
+
alias_method :property_expanded?, :is_property_expanded
|
589
|
+
|
590
|
+
# Returns true if property has been modified after value set or modify flag clear by software.
|
591
|
+
# @param id [String,Wx::PG::PGProperty]
|
592
|
+
# @return [Boolean]
|
593
|
+
def is_property_modified(id) end
|
594
|
+
alias_method :property_modified?, :is_property_modified
|
595
|
+
|
596
|
+
# Returns true if property is selected.
|
597
|
+
# @param id [String,Wx::PG::PGProperty]
|
598
|
+
# @return [Boolean]
|
599
|
+
def is_property_selected(id) end
|
600
|
+
alias_method :property_selected?, :is_property_selected
|
601
|
+
|
602
|
+
# Returns true if property is shown (i.e.
|
603
|
+
#
|
604
|
+
# {Wx::PG::PropertyGridInterface#hide_property} with true not called for it).
|
605
|
+
# @param id [String,Wx::PG::PGProperty]
|
606
|
+
# @return [Boolean]
|
607
|
+
def is_property_shown(id) end
|
608
|
+
alias_method :property_shown?, :is_property_shown
|
609
|
+
|
610
|
+
# Returns true if property value is set to unspecified.
|
611
|
+
# @param id [String,Wx::PG::PGProperty]
|
612
|
+
# @return [Boolean]
|
613
|
+
def is_property_value_unspecified(id) end
|
614
|
+
alias_method :property_value_unspecified?, :is_property_value_unspecified
|
615
|
+
|
616
|
+
# Disables (limit = true) or enables (limit = false) {Wx::TextCtrl} editor of a property, if it is not the sole mean to edit the value.
|
617
|
+
#
|
618
|
+
# <div class="wxrb-remark">
|
619
|
+
# <b>Remark:</b>
|
620
|
+
# <p>Property is refreshed with new settings.
|
621
|
+
# </p>
|
622
|
+
# </div>
|
623
|
+
# @param id [String,Wx::PG::PGProperty]
|
624
|
+
# @param limit [Boolean]
|
625
|
+
# @return [void]
|
626
|
+
def limit_property_editing(id, limit=true) end
|
627
|
+
|
628
|
+
# If state is shown in its grid, refresh it now.
|
629
|
+
# @param state [Wx::PG::PropertyGridPage,Wx::PG::PropertyGridPageState]
|
630
|
+
# @return [void]
|
631
|
+
def refresh_grid(state=nil) end
|
632
|
+
|
633
|
+
# Replaces property with id with newly created one.
|
634
|
+
#
|
635
|
+
# For example, this code replaces existing property named "Flags" with one that will have different set of items:
|
636
|
+
#
|
637
|
+
# ```ruby
|
638
|
+
# pg.replace_property("Flags", Wx::PG::FlagsProperty.new("Flags", Wx::PG::PG_LABEL, newItems))
|
639
|
+
# ```
|
640
|
+
# @see Wx::PG::PropertyGridInterface#insert
|
641
|
+
# @param id [String,Wx::PG::PGProperty]
|
642
|
+
# @param property [Wx::PG::PGProperty]
|
643
|
+
# @return [Wx::PG::PGProperty]
|
644
|
+
def replace_property(id, property) end
|
645
|
+
|
646
|
+
# Restores user-editable state.
|
647
|
+
#
|
648
|
+
# See also {Wx::PG::PropertyGridInterface#save_editable_state}.
|
649
|
+
#
|
650
|
+
# Returns false if there was problem reading the string.
|
651
|
+
#
|
652
|
+
# <div class="wxrb-remark">
|
653
|
+
# <b>Remark:</b>
|
654
|
+
# <p>If some parts of state (such as scrolled or splitter position) fail to restore correctly, please make sure that you call this function after {Wx::PG::PropertyGrid} size has been set (this may sometimes be tricky when sizers are used).
|
655
|
+
# </p>
|
656
|
+
# </div>
|
657
|
+
# @param src [String] String generated by SaveEditableState.
|
658
|
+
# @param restoreStates [Integer] Which parts to restore from source string. See list of editable state flags.
|
659
|
+
# @return [Boolean]
|
660
|
+
def restore_editable_state(src, restoreStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
|
661
|
+
|
662
|
+
# Used to acquire user-editable state (selected property, expanded properties, scrolled position, splitter positions).
|
663
|
+
# @param includedStates [Integer] Which parts of state to include. See list of editable state flags.
|
664
|
+
# @return [String]
|
665
|
+
def save_editable_state(includedStates=Wx::PG::PropertyGridPage::EditableStateFlags::AllStates) end
|
666
|
+
|
667
|
+
# Set proportion of an auto-stretchable column.
|
668
|
+
#
|
669
|
+
# {Wx::PG::PG_WINDOW_STYLES::PG_SPLITTER_AUTO_CENTER} window style needs to be used to indicate that columns are auto- resizable.
|
670
|
+
# Returns false on failure.
|
671
|
+
#
|
672
|
+
# <div class="wxrb-remark">
|
673
|
+
# <b>Remark:</b>
|
674
|
+
# <p>You should call this for individual pages of {Wx::PG::PropertyGridManager} (if used).
|
675
|
+
# </p>
|
676
|
+
# </div>
|
677
|
+
# @see Wx::PG::PropertyGridInterface#get_column_proportion
|
678
|
+
# @param column [Integer]
|
679
|
+
# @param proportion [Integer]
|
680
|
+
# @return [Boolean]
|
681
|
+
def set_column_proportion(column, proportion) end
|
682
|
+
|
683
|
+
# Sets an attribute for this property.
|
684
|
+
#
|
685
|
+
# <div class="wxrb-remark">
|
686
|
+
# <b>Remark:</b>
|
687
|
+
# <p>
|
688
|
+
#
|
689
|
+
# - Setting attribute's value to {Wx::NullVariant} will simply remove it from property's set of attributes.
|
690
|
+
# - Property is refreshed with new settings.
|
691
|
+
#
|
692
|
+
# </p>
|
693
|
+
# </div>
|
694
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
695
|
+
# @param attrName [String] Text identifier of attribute. See wxPropertyGrid Property Attribute Identifiers.
|
696
|
+
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue] Value of attribute.
|
697
|
+
# @param argFlags [Integer] Optional. Use {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE} to set the attribute to child properties recursively.
|
698
|
+
# @return [void]
|
699
|
+
def set_property_attribute(id, attrName, value, argFlags=0) end
|
700
|
+
|
701
|
+
# Sets property attribute for all applicable properties.
|
702
|
+
#
|
703
|
+
# Be sure to use this method only after all properties have been added to the grid.
|
704
|
+
#
|
705
|
+
# <div class="wxrb-remark">
|
706
|
+
# <b>Remark:</b>
|
707
|
+
# <p>Properties are refreshed with new settings.
|
708
|
+
# </p>
|
709
|
+
# </div>
|
710
|
+
# @param attrName [String]
|
711
|
+
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
712
|
+
# @return [void]
|
713
|
+
def set_property_attribute_all(attrName, value) end
|
714
|
+
|
715
|
+
# Sets background colour of given property.
|
716
|
+
#
|
717
|
+
# <div class="wxrb-remark">
|
718
|
+
# <b>Remark:</b>
|
719
|
+
# <p>
|
720
|
+
#
|
721
|
+
# - If category is tried to set recursively, only its children are affected.
|
722
|
+
# - Property is redrawn with new colour.
|
723
|
+
#
|
724
|
+
# </p>
|
725
|
+
# </div>
|
726
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
727
|
+
# @param colour [Wx::Colour,String,Symbol] New background colour.
|
728
|
+
# @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.
|
729
|
+
# @return [void]
|
730
|
+
def set_property_background_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
731
|
+
|
732
|
+
# Sets text, bitmap, and colours for given column's cell.
|
733
|
+
#
|
734
|
+
# <div class="wxrb-remark">
|
735
|
+
# <b>Remark:</b>
|
736
|
+
# <p>
|
737
|
+
#
|
738
|
+
# - You can set label cell by using column 0.
|
739
|
+
# - You can use {Wx::PG::PG_LABEL} as text to use default text for column.
|
740
|
+
#
|
741
|
+
# </p>
|
742
|
+
# </div>
|
743
|
+
# @param id [String,Wx::PG::PGProperty]
|
744
|
+
# @param column [Integer]
|
745
|
+
# @param text [String]
|
746
|
+
# @param bitmap [Wx::BitmapBundle,Wx::Bitmap,Wx::Icon,Wx::Image]
|
747
|
+
# @param fgCol [Wx::Colour,String,Symbol]
|
748
|
+
# @param bgCol [Wx::Colour,String,Symbol]
|
749
|
+
# @return [void]
|
750
|
+
def set_property_cell(id, column, text=(''), bitmap=(Wx::BitmapBundle.new()), fgCol=Wx::NULL_COLOUR, bgCol=Wx::NULL_COLOUR) end
|
751
|
+
|
752
|
+
# Sets client data (void*) of a property.
|
753
|
+
#
|
754
|
+
# <div class="wxrb-remark">
|
755
|
+
# <b>Remark:</b>
|
756
|
+
# <p>This untyped client data has to be deleted manually.
|
757
|
+
# </p>
|
758
|
+
# </div>
|
759
|
+
# @param id [String,Wx::PG::PGProperty]
|
760
|
+
# @param clientData [Object]
|
761
|
+
# @return [void]
|
762
|
+
def set_property_client_data(id, clientData) end
|
763
|
+
|
764
|
+
# Resets text and background colours of given property.
|
765
|
+
#
|
766
|
+
# <div class="wxrb-remark">
|
767
|
+
# <b>Remark:</b>
|
768
|
+
# <p>
|
769
|
+
#
|
770
|
+
# - If category is tried to set recursively, only its children are affected.
|
771
|
+
# - Property is redrawn with new colours.
|
772
|
+
#
|
773
|
+
# </p>
|
774
|
+
# </div>
|
775
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
776
|
+
# @param flags [Integer] Default is {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} which causes colour to be reset only for the property in question (for backward compatibility).
|
777
|
+
# @return [void]
|
778
|
+
def set_property_colours_to_default(id, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE) end
|
779
|
+
alias_method :property_colours_to_default=, :set_property_colours_to_default
|
780
|
+
|
781
|
+
# @overload set_property_editor(id, editor)
|
782
|
+
# Sets editor for a property.
|
783
|
+
#
|
784
|
+
# For custom editors, use pointer you received from {Wx::PG::PropertyGrid.register_editor_class}.
|
785
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer to a property.
|
786
|
+
# @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).
|
787
|
+
# @return [void]
|
788
|
+
# @overload set_property_editor(id, editorName)
|
789
|
+
# Sets editor control of a property.
|
790
|
+
#
|
791
|
+
# As editor argument, use editor name string, such as "TextCtrl" or "Choice".
|
792
|
+
# @param id [String,Wx::PG::PGProperty]
|
793
|
+
# @param editorName [String]
|
794
|
+
# @return [void]
|
795
|
+
def set_property_editor(*args) end
|
796
|
+
|
797
|
+
# Sets label of a property.
|
798
|
+
#
|
799
|
+
# <div class="wxrb-remark">
|
800
|
+
# <b>Remark:</b>
|
801
|
+
# <p>
|
802
|
+
#
|
803
|
+
# - Properties under same parent may have same labels. However, property names must still remain unique.
|
804
|
+
#
|
805
|
+
# </p>
|
806
|
+
# </div>
|
807
|
+
# @param id [String,Wx::PG::PGProperty]
|
808
|
+
# @param newproplabel [String]
|
809
|
+
# @return [void]
|
810
|
+
def set_property_label(id, newproplabel) end
|
811
|
+
|
812
|
+
# Sets name of a property.
|
813
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer of property which name to change.
|
814
|
+
# @param newName [String] New name for property.
|
815
|
+
# @return [void]
|
816
|
+
def set_property_name(id, newName) end
|
817
|
+
|
818
|
+
# Sets property (and, recursively, its children) to have read-only value.
|
819
|
+
#
|
820
|
+
# In other words, user cannot change the value in the editor, but they can still copy it.
|
821
|
+
#
|
822
|
+
# <div class="wxrb-remark">
|
823
|
+
# <b>Remark:</b>
|
824
|
+
# <p>
|
825
|
+
#
|
826
|
+
# - This is mainly for use with textctrl editor. Only some other editors fully support it.
|
827
|
+
# - Property is refreshed with new settings.
|
828
|
+
#
|
829
|
+
# </p>
|
830
|
+
# </div>
|
831
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
832
|
+
# @param set [Boolean] Use true to enable read-only, false to disable it.
|
833
|
+
# @param flags [Integer] By default changes are applied recursively. Set this parameter to {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_DONT_RECURSE} to prevent this.
|
834
|
+
# @return [void]
|
835
|
+
def set_property_read_only(id, set=true, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
836
|
+
alias_method :property_read_only=, :set_property_read_only
|
837
|
+
|
838
|
+
# Sets property's value to unspecified.
|
839
|
+
#
|
840
|
+
# If it has children (it may be category), then the same thing is done to them.
|
841
|
+
# @param id [String,Wx::PG::PGProperty]
|
842
|
+
# @return [void]
|
843
|
+
def set_property_value_unspecified(id) end
|
844
|
+
alias_method :property_value_unspecified=, :set_property_value_unspecified
|
845
|
+
|
846
|
+
# @overload set_property_values(list, defaultCategory=Wx::PG::NullProperty)
|
847
|
+
# Sets property values from a list of {Wx::Variants}.
|
848
|
+
# @param list [Wx::VariantList]
|
849
|
+
# @param defaultCategory [String,Wx::PG::PGProperty]
|
850
|
+
# @return [void]
|
851
|
+
# @overload set_property_values(list, defaultCategory=Wx::PG::NullProperty)
|
852
|
+
# Sets property values from a list of {Wx::Variants}.
|
853
|
+
# @param list [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
854
|
+
# @param defaultCategory [String,Wx::PG::PGProperty]
|
855
|
+
# @return [void]
|
856
|
+
def set_property_values(*args) end
|
857
|
+
alias_method :property_values=, :set_property_values
|
858
|
+
|
859
|
+
# Associates the help string with property.
|
860
|
+
#
|
861
|
+
# <div class="wxrb-remark">
|
862
|
+
# <b>Remark:</b>
|
863
|
+
# <p>By default, text is shown either in the manager's "description" text box or in the status bar. If extra window style {Wx::PG::PG_EX_WINDOW_STYLES::PG_EX_HELP_AS_TOOLTIPS} is used, then the text will appear as a tooltip.
|
864
|
+
# </p>
|
865
|
+
# </div>
|
866
|
+
# @param id [String,Wx::PG::PGProperty]
|
867
|
+
# @param helpString [String]
|
868
|
+
# @return [void]
|
869
|
+
def set_property_help_string(id, helpString) end
|
870
|
+
|
871
|
+
# Set {Wx::Bitmap} taken from {Wx::BitmapBundle} in front of the value.
|
872
|
+
#
|
873
|
+
# <div class="wxrb-remark">
|
874
|
+
# <b>Remark:</b>
|
875
|
+
# <p>Bitmap will be scaled to a size returned by {Wx::PG::PropertyGrid#get_image_size};
|
876
|
+
# </p>
|
877
|
+
# </div>
|
878
|
+
# @param id [String,Wx::PG::PGProperty]
|
879
|
+
# @param bmp [Wx::BitmapBundle]
|
880
|
+
# @return [void]
|
881
|
+
def set_property_image(id, bmp) end
|
882
|
+
|
883
|
+
# Sets maximum length of text in property text editor.
|
884
|
+
#
|
885
|
+
# Returns true if maximum length was set.
|
886
|
+
# @see Wx::PG::PGProperty#set_max_length.
|
887
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
888
|
+
# @param maxLen [Integer] Maximum number of characters of the text the user can enter in the text editor. 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.
|
889
|
+
# @return [Boolean]
|
890
|
+
def set_property_max_length(id, maxLen) end
|
891
|
+
|
892
|
+
# Sets text colour of given property.
|
893
|
+
#
|
894
|
+
# <div class="wxrb-remark">
|
895
|
+
# <b>Remark:</b>
|
896
|
+
# <p>
|
897
|
+
#
|
898
|
+
# - If category is tried to set recursively, only its children are affected.
|
899
|
+
# - Property is redrawn with new colour.
|
900
|
+
#
|
901
|
+
# </p>
|
902
|
+
# </div>
|
903
|
+
# @param id [String,Wx::PG::PGProperty] Property name or pointer.
|
904
|
+
# @param colour [Wx::Colour,String,Symbol] New text colour.
|
905
|
+
# @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.
|
906
|
+
# @return [void]
|
907
|
+
def set_property_text_colour(id, colour, flags=Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE) end
|
908
|
+
|
909
|
+
# Sets validator of a property.
|
910
|
+
# @param id [String,Wx::PG::PGProperty]
|
911
|
+
# @param validator [Wx::Validator]
|
912
|
+
# @return [void]
|
913
|
+
def set_property_validator(id, validator) end
|
914
|
+
|
915
|
+
# @overload set_property_value(id, value)
|
916
|
+
# Sets value (long integer) of a property.
|
917
|
+
# @param id [String,Wx::PG::PGProperty]
|
918
|
+
# @param value [Integer]
|
919
|
+
# @return [void]
|
920
|
+
# @overload set_property_value(id, value)
|
921
|
+
# Sets value (integer) of a property.
|
922
|
+
# @param id [String,Wx::PG::PGProperty]
|
923
|
+
# @param value [Integer]
|
924
|
+
# @return [void]
|
925
|
+
# @overload set_property_value(id, value)
|
926
|
+
# Sets value (floating point) of a property.
|
927
|
+
# @param id [String,Wx::PG::PGProperty]
|
928
|
+
# @param value [Float]
|
929
|
+
# @return [void]
|
930
|
+
# @overload set_property_value(id, value)
|
931
|
+
# Sets value (bool) of a property.
|
932
|
+
# @param id [String,Wx::PG::PGProperty]
|
933
|
+
# @param value [Boolean]
|
934
|
+
# @return [void]
|
935
|
+
# @overload set_property_value(id, value)
|
936
|
+
# Sets value (wchar_t*) of a property.
|
937
|
+
# @param id [String,Wx::PG::PGProperty]
|
938
|
+
# @param value [String]
|
939
|
+
# @return [void]
|
940
|
+
# @overload set_property_value(id, value)
|
941
|
+
# Sets value (char*) of a property.
|
942
|
+
# @param id [String,Wx::PG::PGProperty]
|
943
|
+
# @param value [String]
|
944
|
+
# @return [void]
|
945
|
+
# @overload set_property_value(id, value)
|
946
|
+
# Sets value (string) of a property.
|
947
|
+
# @param id [String,Wx::PG::PGProperty]
|
948
|
+
# @param value [String]
|
949
|
+
# @return [void]
|
950
|
+
# @overload set_property_value(id, value)
|
951
|
+
# Sets value ({Wx::ArrayString}) of a property.
|
952
|
+
# @param id [String,Wx::PG::PGProperty]
|
953
|
+
# @param value [Array<String>]
|
954
|
+
# @return [void]
|
955
|
+
# @overload set_property_value(id, value)
|
956
|
+
# Sets value ({Wx::DateTime}) of a property.
|
957
|
+
# @param id [String,Wx::PG::PGProperty]
|
958
|
+
# @param value [Time,Date,DateTime]
|
959
|
+
# @return [void]
|
960
|
+
# @overload set_property_value(id, value)
|
961
|
+
# Sets value ({Wx::Object}*) of a property.
|
962
|
+
# @param id [String,Wx::PG::PGProperty]
|
963
|
+
# @param value [Wx::Object]
|
964
|
+
# @return [void]
|
965
|
+
# @overload set_property_value(id, value)
|
966
|
+
# Sets value ({Wx::Object}&) of a property.
|
967
|
+
# @param id [String,Wx::PG::PGProperty]
|
968
|
+
# @param value [Wx::Object]
|
969
|
+
# @return [void]
|
970
|
+
# @overload set_property_value(id, value)
|
971
|
+
# Sets value (native 64-bit int) of a property.
|
972
|
+
# @param id [String,Wx::PG::PGProperty]
|
973
|
+
# @param value [Integer]
|
974
|
+
# @return [void]
|
975
|
+
# @overload set_property_value(id, value)
|
976
|
+
# Sets value ({Wx::LongLong}) of a property.
|
977
|
+
# @param id [String,Wx::PG::PGProperty]
|
978
|
+
# @param value [Wx::LongLong]
|
979
|
+
# @return [void]
|
980
|
+
# @overload set_property_value(id, value)
|
981
|
+
# Sets value (native 64-bit unsigned int) of a property.
|
982
|
+
# @param id [String,Wx::PG::PGProperty]
|
983
|
+
# @param value [Integer]
|
984
|
+
# @return [void]
|
985
|
+
# @overload set_property_value(id, value)
|
986
|
+
# Sets value ({Wx::ULongLong}) of a property.
|
987
|
+
# @param id [String,Wx::PG::PGProperty]
|
988
|
+
# @param value [Wx::ULongLong]
|
989
|
+
# @return [void]
|
990
|
+
# @overload set_property_value(id, value)
|
991
|
+
# Sets value ({Wx::ArrayInt}&) of a property.
|
992
|
+
# @param id [String,Wx::PG::PGProperty]
|
993
|
+
# @param value [Array<Integer>]
|
994
|
+
# @return [void]
|
995
|
+
# @overload set_property_value(id, value)
|
996
|
+
# Sets value ({Wx::Variant}) of a property.
|
997
|
+
#
|
998
|
+
# <div class="wxrb-remark">
|
999
|
+
# <b>Remark:</b>
|
1000
|
+
# <p>Use {Wx::PG::PropertyGridInterface#change_property_value} instead if you need to run through validation process and send property change event.
|
1001
|
+
# </p>
|
1002
|
+
# </div>
|
1003
|
+
# @param id [String,Wx::PG::PGProperty]
|
1004
|
+
# @param value [nil,String,Integer,Float,Time,Wx::Font,Wx::Colour,Wx::Variant,Array<WxVariant>,Array<String>,ObjectWx::PG::ColourPropertyValue]
|
1005
|
+
# @return [void]
|
1006
|
+
def set_property_value(*args) end
|
1007
|
+
|
1008
|
+
# Sets value ({Wx::String}) of a property.
|
1009
|
+
#
|
1010
|
+
# <div class="wxrb-remark">
|
1011
|
+
# <b>Remark:</b>
|
1012
|
+
# <p>This method uses {Wx::PG::PGProperty#set_value_from_string}, which all properties should implement. This means that there should not be a type error, and instead the string is converted to property's actual value type.
|
1013
|
+
# </p>
|
1014
|
+
# </div>
|
1015
|
+
# @param id [String,Wx::PG::PGProperty]
|
1016
|
+
# @param value [String]
|
1017
|
+
# @return [void]
|
1018
|
+
def set_property_value_string(id, value) end
|
1019
|
+
|
1020
|
+
# Sets value ({Wx::Variant}&) of a property.
|
1021
|
+
#
|
1022
|
+
# Same as SetPropertyValue, but accepts reference.
|
1023
|
+
# @param id [String,Wx::PG::PGProperty]
|
1024
|
+
# @param value [Wx::Variant]
|
1025
|
+
# @return [void]
|
1026
|
+
def set_prop_val(id, value) end
|
1027
|
+
|
1028
|
+
# Adjusts how {Wx::PG::PropertyGrid} behaves when invalid value is entered in a property.
|
1029
|
+
# @param vfbFlags [Integer] See wxPropertyGrid Validation Failure behaviour Flags for possible values.
|
1030
|
+
# @return [void]
|
1031
|
+
def set_validation_failure_behavior(vfbFlags) end
|
1032
|
+
alias_method :validation_failure_behavior=, :set_validation_failure_behavior
|
1033
|
+
|
1034
|
+
# Sorts all properties recursively.
|
1035
|
+
#
|
1036
|
+
#
|
1037
|
+
# @see Wx::PG::PropertyGridInterface#sort_children
|
1038
|
+
# @see Wx::PG::PropertyGrid#set_sort_function
|
1039
|
+
# @param flags [Integer] This can contain any of the following options: {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_SORT_TOP_LEVEL_ONLY}: Only sort categories and their immediate children. Sorting done by {Wx::PG::PG_WINDOW_STYLES::PG_AUTO_SORT} option uses this.
|
1040
|
+
# @return [void]
|
1041
|
+
def sort(flags=0) end
|
1042
|
+
|
1043
|
+
# Sorts children of a property.
|
1044
|
+
#
|
1045
|
+
#
|
1046
|
+
# @see Wx::PG::PropertyGridInterface#sort
|
1047
|
+
# @see Wx::PG::PropertyGrid#set_sort_function
|
1048
|
+
# @param id [String,Wx::PG::PGProperty] Name or pointer to a property.
|
1049
|
+
# @param flags [Integer] This can contain any of the following options: {Wx::PG::PG_GETPROPERTYVALUES_FLAGS::PG_RECURSE}: Sorts recursively.
|
1050
|
+
# @return [void]
|
1051
|
+
def sort_children(id, flags=0) end
|
1052
|
+
|
1053
|
+
# {Wx::PG::PropertyGridInterface#get_property_by_name} with assertion error message.
|
1054
|
+
# @param name [String]
|
1055
|
+
# @return [Wx::PG::PGProperty]
|
1056
|
+
def get_property_by_name_a(name) end
|
1057
|
+
alias_method :property_by_name_a, :get_property_by_name_a
|
1058
|
+
|
1059
|
+
#
|
1060
|
+
#
|
1061
|
+
# <div class="wxrb-remark">
|
1062
|
+
# <b>Remark:</b>
|
1063
|
+
# <p>This function reselects the property and may cause excess flicker, so to just call Refresh() on a rect of single property, call DrawItem() instead.
|
1064
|
+
# </p>
|
1065
|
+
# </div>
|
1066
|
+
# @param p [Wx::PG::PGProperty]
|
1067
|
+
# @return [void]
|
1068
|
+
def refresh_property(p) end
|
1069
|
+
|
1070
|
+
# Initializes all property types.
|
1071
|
+
#
|
1072
|
+
# Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library.
|
1073
|
+
# @return [void]
|
1074
|
+
def self.init_all_type_handlers; end
|
1075
|
+
|
1076
|
+
# Initializes additional property editors (SpinCtrl etc.).
|
1077
|
+
#
|
1078
|
+
# Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library.
|
1079
|
+
# @return [void]
|
1080
|
+
def self.register_additional_editors; end
|
1081
|
+
|
1082
|
+
# Sets strings listed in the choice dropdown of a {Wx::PG::BoolProperty}.
|
1083
|
+
#
|
1084
|
+
# Defaults are "True" and "False", so changing them to, say, "Yes" and "No" may be useful in some less technical applications.
|
1085
|
+
# @param trueChoice [String]
|
1086
|
+
# @param falseChoice [String]
|
1087
|
+
# @return [void]
|
1088
|
+
def self.set_bool_choices(trueChoice, falseChoice) end
|
1089
|
+
|
1090
|
+
# Returns editor pointer of editor with given name.
|
1091
|
+
# @param editorName [String]
|
1092
|
+
# @return [Wx::PG::PGEditor]
|
1093
|
+
def self.get_editor_by_name(editorName) end
|
1094
|
+
|
1095
|
+
end # PropertyGridInterface
|
1092
1096
|
|
1093
|
-
end # PropertyGridInterface
|
1094
|
-
|
1095
1097
|
|
1096
|
-
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
end
|