#include <manager.h>
Inheritance diagram for wxPropertyGridManager:
Public Member Functions | |
int | AddPage (const wxString &label=wxEmptyString, const wxBitmap &bmp=wxNullBitmap, wxPropertyGridPage *pageObj=(wxPropertyGridPage *) NULL) |
void | AddPropertyChoice (const wxString &name, const wxString &label, int value=INT_MAX) |
void | AddPropertyChoice (wxPGId id, const wxString &label, int value=INT_MAX) |
wxPGId | Append (const wxString &label, const wxString &name, bool value) |
wxPGId | Append (const wxString &label, const wxString &name, double value) |
wxPGId | Append (const wxString &label, const wxString &name, int value) |
wxPGId | Append (const wxString &label, const wxString &name, const wxString &value=wxEmptyString) |
wxPGId | Append (wxPGProperty *property) |
wxPGId | AppendCategory (const wxString &label, const wxString &name=(*((wxString *) NULL))) |
wxPGId | AppendIn (const wxString &name, wxPGProperty *property) |
wxPGId | AppendIn (wxPGId id, wxPGProperty *property) |
void | BeginAddChildren (const wxString &name) |
void | BeginAddChildren (wxPGId id) |
bool | CanClose () |
void | ClearModifiedStatus () |
void | ClearModifiedStatus (wxPGId id) |
void | ClearPage (int page) |
bool | ClearPropertyValue (const wxString &name) |
bool | ClearPropertyValue (wxPGId id) |
bool | ClearSelection () |
bool | Collapse (const wxString &name) |
bool | Collapse (wxPGId id) |
bool | CollapseAll () |
bool | Compact (bool compact) |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=(0), const wxChar *name=wxPropertyGridManagerNameStr) |
void | Delete (const wxString &name) |
void | Delete (wxPGId id) |
void | DeletePropertyChoice (const wxString &name, int index) |
void | DeletePropertyChoice (wxPGId id, int index) |
bool | DisableProperty (const wxString &name) |
bool | DisableProperty (wxPGId id) |
bool | EnableCategories (bool enable) |
bool | EnableProperty (const wxString &name, bool enable=true) |
bool | EnableProperty (wxPGId id, bool enable=true) |
void | EndAddChildren (const wxString &name) |
void | EndAddChildren (wxPGId id) |
bool | EnsureVisible (const wxString &name) |
bool | EnsureVisible (wxPGId id) |
bool | Expand (const wxString &name) |
bool | Expand (wxPGId id) |
bool | ExpandAll () |
size_t | GetChildrenCount (const wxString &name) |
size_t | GetChildrenCount (wxPGId id) const |
size_t | GetChildrenCount (int pageIndex) |
size_t | GetChildrenCount () |
int | GetDescBoxHeight () const |
wxPGId | GetFirst () const |
wxPGId | GetFirstCategory () const |
wxPGId | GetFirstChild (const wxString &name) |
wxPGId | GetFirstChild (wxPGId id) |
wxPGId | GetFirstProperty () const |
wxPropertyGrid * | GetGrid () |
wxPGId | GetLastChild (const wxString &name) |
wxPGId | GetLastChild (wxPGId id) |
wxPGId | GetNextCategory (wxPGId id) const |
wxPGId | GetNextProperty (wxPGId id) const |
wxPGId | GetNextSibling (const wxString &name) |
wxPGId | GetNextSibling (wxPGId id) |
wxPropertyGridPage * | GetPage (unsigned int ind) const |
int | GetPageByName (const wxChar *name) const |
int | GetPageByState (wxPropertyGridState *pstate) const |
size_t | GetPageCount () const |
const wxString & | GetPageName (int index) const |
wxPGId | GetPageRoot (int index) const |
wxPGId | GetPrevProperty (wxPGId id) const |
wxPGId | GetPrevSibling (const wxString &name) |
wxPGId | GetPrevSibling (wxPGId id) |
wxString | GetPropertyAttributes (wxPGId id, unsigned int flagmask=0xFFFF) const |
wxPGId | GetPropertyByLabel (const wxString &name, wxPropertyGridState **ppState=(wxPropertyGridState **) NULL) const |
wxPGId | GetPropertyByName (const wxString &name, const wxString &subname) const |
wxPGId | GetPropertyByName (const wxString &name) const |
wxPGId | GetPropertyByNameA (const wxString &name) const |
wxPGId | GetPropertyCategory (const wxString &name) const |
wxPGId | GetPropertyCategory (wxPGId id) const |
wxPGChoices & | GetPropertyChoices (const wxString &name) |
wxPGChoices & | GetPropertyChoices (wxPGId id) |
const wxChar * | GetPropertyClassName (const wxString &name) const |
const wxChar * | GetPropertyClassName (wxPGId id) const |
wxPGProperty::ClientDataType | GetPropertyClientData (const wxString &name) const |
wxPGProperty::ClientDataType | GetPropertyClientData (wxPGId id) const |
wxColour | GetPropertyColour (const wxString &name) const |
wxColour | GetPropertyColour (wxPGId id) const |
const wxPGEditor * | GetPropertyEditor (const wxString &name) const |
const wxPGEditor * | GetPropertyEditor (wxPGId id) const |
wxString | GetPropertyHelpString (const wxString &name) const |
wxString | GetPropertyHelpString (wxPGId id) const |
wxBitmap * | GetPropertyImage (const wxString &name) const |
wxBitmap * | GetPropertyImage (wxPGId id) const |
unsigned int | GetPropertyIndex (const wxString &name) |
unsigned int | GetPropertyIndex (wxPGId id) |
const wxString & | GetPropertyLabel (const wxString &name) |
const wxString & | GetPropertyLabel (wxPGId id) |
const wxString & | GetPropertyName (wxPGId id) |
wxPGId | GetPropertyParent (const wxString &name) |
wxPGId | GetPropertyParent (wxPGId id) |
int | GetPropertyPriority (const wxString &name) |
int | GetPropertyPriority (wxPGId id) |
wxPGProperty * | GetPropertyPtr (const wxString &name) const |
wxPGProperty * | GetPropertyPtr (wxPGId id) const |
wxColour | GetPropertyTextColour (const wxString &name) const |
wxColour | GetPropertyTextColour (wxPGId id) const |
wxValidator * | GetPropertyValidator (const wxString &name) |
wxValidator * | GetPropertyValidator (wxPGId id) |
wxVariant | GetPropertyValue (const wxString &name) |
wxVariant | GetPropertyValue (wxPGId id) |
const wxArrayInt & | GetPropertyValueAsArrayInt (const wxString &name) const |
const wxArrayString & | GetPropertyValueAsArrayString (const wxString &name) const |
bool | GetPropertyValueAsBool (const wxString &name) const |
wxDateTime | GetPropertyValueAsDateTime (const wxString &name) const |
double | GetPropertyValueAsDouble (const wxString &name) const |
int | GetPropertyValueAsInt (const wxString &name) const |
long | GetPropertyValueAsLong (const wxString &name) const |
const wxPoint & | GetPropertyValueAsPoint (const wxString &name) const |
const wxSize & | GetPropertyValueAsSize (const wxString &name) const |
wxString | GetPropertyValueAsString (const wxString &name) const |
const wxObject * | GetPropertyValueAsWxObjectPtr (const wxString &name) const |
wxVariant | GetPropertyValues (const wxString &listname=wxEmptyString, wxPGId baseparent=wxPGId(NULL), long flags=0) const |
const wxPGValueType * | GetPropertyValueType (const wxString &name) |
const wxPGValueType * | GetPropertyValueType (wxPGId id) |
size_t | GetPVTI (const wxString &name) |
size_t | GetPVTI (wxPGId id) |
wxString | GetPVTN (const wxString &name) |
wxString | GetPVTN (wxPGId id) |
wxPGId | GetRoot () const |
int | GetSelectedPage () const |
wxPGId | GetSelectedProperty () const |
int | GetSelection () const |
wxPropertyGridState * | GetState () const |
int | GetTargetPage () const |
wxToolBar * | GetToolBar () const |
bool | HideProperty (const wxString &name) |
bool | HideProperty (wxPGId id, bool hide=true) |
void | InitAllTypeHandlers () |
wxPGId | Insert (const wxString &name, int index, wxPGProperty *property) |
wxPGId | Insert (wxPGId id, int index, wxPGProperty *property) |
virtual int | InsertPage (int index, const wxString &label, const wxBitmap &bmp=wxNullBitmap, wxPropertyGridPage *pageObj=(wxPropertyGridPage *) NULL) |
void | InsertPropertyChoice (const wxString &name, const wxString &label, int index, int value=INT_MAX) |
void | InsertPropertyChoice (wxPGId id, const wxString &label, int index, int value=INT_MAX) |
bool | IsAnyModified () const |
bool | IsFrozen () const |
bool | IsModified (const wxString &name) |
bool | IsModified (wxPGId id) const |
bool | IsPageModified (size_t index) const |
bool | IsPropertyCategory (const wxString &name) |
bool | IsPropertyCategory (wxPGId id) const |
bool | IsPropertyEnabled (const wxString &name) |
bool | IsPropertyEnabled (wxPGId id) const |
bool | IsPropertyExpanded (const wxString &name) |
bool | IsPropertyKindOf (const wxString &name, wxPGPropertyClassInfo &info) |
bool | IsPropertyModified (const wxString &name) |
bool | IsPropertyModified (wxPGId id) const |
bool | IsPropertyShown (const wxString &name) |
bool | IsPropertyShown (wxPGId id) const |
bool | IsPropertyUnspecified (const wxString &name) |
bool | IsPropertyUnspecified (wxPGId id) const |
bool | IsPropertyValueType (const wxString &name, const wxClassInfo *classinfo) |
bool | IsPropertyValueType (const wxString &name, const wxPGValueType *valuetype) |
bool | IsPropertyValueType (const wxString &name, const wxChar *typestr) |
bool | IsPropertyValueType (wxPGId id, const wxClassInfo *classinfo) |
bool | IsPropertyValueType (wxPGId id, const wxPGValueType *valuetype) |
bool | IsPropertyValueType (wxPGId id, const wxChar *typestr) |
void | LimitPropertyEditing (const wxString &name, bool limit=true) |
void | LimitPropertyEditing (wxPGId id, bool limit=true) |
virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=(const wxRect *) NULL) |
virtual bool | RemovePage (int page) |
wxPGId | ReplaceProperty (const wxString &name, wxPGProperty *property) |
wxPGId | ReplaceProperty (wxPGId id, wxPGProperty *property) |
void | ResetDefaultPriority () |
void | SelectPage (const wxChar *name) |
void | SelectPage (int index) |
bool | SelectProperty (const wxString &name, bool focus=false) |
bool | SelectProperty (wxPGId id, bool focus=false) |
void | SetCaptionTextColour (const wxString &name, const wxColour &col) |
void | SetCaptionTextColour (wxPGId id, const wxColour &col) |
void | SetCurrentCategory (const wxString &name) |
void | SetCurrentCategory (wxPGId id) |
void | SetDefaultPriority (int priority) |
void | SetDescBoxHeight (int ht, bool refresh=true) |
void | SetDescription (const wxString &label, const wxString &content) |
void | SetPropertyAttribute (const wxString &name, int attrid, wxVariant value, long argFlags=0) |
void | SetPropertyAttribute (wxPGId id, int attrid, wxVariant value, long argFlags=0) |
void | SetPropertyAttributeAll (int attrid, wxVariant value) |
void | SetPropertyAttributes (const wxString &name, const wxString &attributes) const |
void | SetPropertyBackgroundColour (const wxString &name, const wxColour &col) |
void | SetPropertyBackgroundColour (wxPGId id, const wxColour &col) |
void | SetPropertyChoices (const wxString &name, wxPGChoices &choices) |
void | SetPropertyChoicesExclusive (const wxString &name) |
void | SetPropertyChoicesExclusive (wxPGId id) |
void | SetPropertyClientData (const wxString &name, wxPGProperty::ClientDataType clientData) |
void | SetPropertyClientData (wxPGId id, wxPGProperty::ClientDataType clientData) |
void | SetPropertyColour (const wxString &name, const wxColour &col) |
void | SetPropertyColour (wxPGId id, const wxColour &col) |
void | SetPropertyColourToDefault (const wxString &name) |
void | SetPropertyColourToDefault (wxPGId id) |
void | SetPropertyEditor (const wxString &name, const wxString &editorName) |
void | SetPropertyEditor (wxPGId id, const wxString &editorName) |
void | SetPropertyEditor (const wxString &name, const wxPGEditor *editor) |
void | SetPropertyEditor (wxPGId id, const wxPGEditor *editor) |
void | SetPropertyHelpString (const wxString &name, const wxString &helpString) |
void | SetPropertyHelpString (wxPGId id, const wxString &helpString) |
void | SetPropertyImage (const wxString &name, wxBitmap &bmp) |
void | SetPropertyImage (wxPGId id, wxBitmap &bmp) |
void | SetPropertyLabel (const wxString &name, const wxString &newlabel) |
void | SetPropertyLabel (wxPGId id, const wxString &newlabel) |
bool | SetPropertyMaxLength (const wxString &name, int maxLen) |
bool | SetPropertyMaxLength (wxPGId id, int maxLen) |
bool | SetPropertyPriority (const wxString &name, int priority) |
bool | SetPropertyPriority (wxPGId id, int priority) |
void | SetPropertyReadOnly (const wxString &name, bool readOnly=true) |
void | SetPropertyReadOnly (wxPGId id, bool readOnly=true) |
void | SetPropertyTextColour (const wxString &name, const wxColour &col) |
void | SetPropertyTextColour (wxPGId id, const wxColour &col) |
void | SetPropertyUnspecified (const wxString &name) |
void | SetPropertyUnspecified (wxPGId id) |
void | SetPropertyValidator (const wxString &name, const wxValidator &validator) |
void | SetPropertyValidator (wxPGId id, const wxValidator &validator) |
void | SetPropertyValue (const wxString &name, const wxChar *value) |
void | SetPropertyValue (wxPGId id, const wxChar *value) |
void | SetPropertyValue (const wxString &name, wxObject &value) |
void | SetPropertyValue (wxPGId id, wxObject &value) |
void | SetPropertyValue (const wxString &name, const wxULongLong &_av1_) |
void | SetPropertyValue (wxPGId id, const wxULongLong &_av1_) |
void | SetPropertyValue (const wxString &name, const wxLongLong &_av1_) |
void | SetPropertyValue (wxPGId id, const wxLongLong &_av1_) |
void | SetPropertyValue (const wxString &name, const wxSize &_av1_) |
void | SetPropertyValue (wxPGId id, const wxSize &_av1_) |
void | SetPropertyValue (const wxString &name, const wxPoint &_av1_) |
void | SetPropertyValue (wxPGId id, const wxPoint &_av1_) |
void | SetPropertyValue (const wxString &name, wxDateTime _av1_) |
void | SetPropertyValue (wxPGId id, wxDateTime _av1_) |
void | SetPropertyValue (const wxString &name, const wxArrayInt &_av1_) |
void | SetPropertyValue (wxPGId id, const wxArrayInt &_av1_) |
void | SetPropertyValue (const wxString &name, const wxArrayString &value) |
void | SetPropertyValue (const wxString &name, wxVariant &value) |
void | SetPropertyValue (const wxString &name, void *value) |
void | SetPropertyValue (const wxString &name, wxObject *value) |
void | SetPropertyValue (const wxString &name, const wxString &value) |
void | SetPropertyValue (const wxString &name, bool value) |
void | SetPropertyValue (const wxString &name, double value) |
void | SetPropertyValue (const wxString &name, int value) |
void | SetPropertyValue (const wxString &name, long value) |
void | SetPropertyValue (wxPGId id, wxVariant &value) |
void | SetPropertyValue (wxPGId id, void *value) |
void | SetPropertyValue (wxPGId id, wxObject *value) |
void | SetPropertyValue (wxPGId id, const wxArrayString &value) |
void | SetPropertyValue (wxPGId id, const wxString &value) |
void | SetPropertyValue (wxPGId id, bool value) |
void | SetPropertyValue (wxPGId id, double value) |
void | SetPropertyValue (wxPGId id, int value) |
void | SetPropertyValue (wxPGId id, long value) |
void | SetPropertyValues (const wxVariant &list, const wxString &defaultCategory=wxEmptyString) |
void | SetPropertyValues (const wxVariantList &list, const wxString &defaultCategory=wxEmptyString) |
void | SetPropertyValues (const wxVariant &list, wxPGId defaultCategory) |
void | SetPropertyValues (const wxVariantList &list, wxPGId defaultCategory) |
void | SetSplitterLeft (bool subProps=false, bool allPages=true) |
void | SetSplitterPosition (int newx, bool refresh=true) |
void | SetStringSelection (const wxChar *name) |
void | SetTargetPage (const wxChar *name) |
void | SetTargetPage (int index) |
void | Sort (const wxString &name) |
void | Sort (wxPGId id) |
void | Sort () |
void | TogglePropertyPriority (const wxString &name) |
void | TogglePropertyPriority (wxPGId id) |
wxPropertyGridManager (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=(0), const wxChar *name=wxPropertyGridManagerNameStr) | |
wxPropertyGridManager () | |
virtual | ~wxPropertyGridManager () |
Static Public Member Functions | |
wxPGProperty * | CreatePropertyByClass (const wxString &classname, const wxString &label, const wxString &name) |
wxPGProperty * | CreatePropertyByType (const wxString &valuetype, const wxString &label, const wxString &name) |
wxPGEditor * | GetEditorByName (const wxString &editorName) |
wxString | GetPropertyShortClassName (wxPGId id) |
const wxArrayInt & | GetPropertyValueAsArrayInt (wxPGId id) |
const wxArrayString & | GetPropertyValueAsArrayString (wxPGId id) |
bool | GetPropertyValueAsBool (wxPGId id) |
wxDateTime | GetPropertyValueAsDateTime (wxPGId id) |
double | GetPropertyValueAsDouble (wxPGId id) |
int | GetPropertyValueAsInt (wxPGId id) |
long | GetPropertyValueAsLong (wxPGId id) |
const wxLongLong & | GetPropertyValueAsLongLong (wxPGId id) |
const wxPoint & | GetPropertyValueAsPoint (wxPGId id) |
const wxSize & | GetPropertyValueAsSize (wxPGId id) |
wxString | GetPropertyValueAsString (wxPGId id) |
const wxULongLong & | GetPropertyValueAsULongLong (wxPGId id) |
void * | GetPropertyValueAsVoidPtr (wxPGId id) |
const wxObject * | GetPropertyValueAsWxObjectPtr (wxPGId id) |
wxPGValueType * | GetValueType (const wxString &type) |
bool | IsPropertyExpanded (wxPGId id) |
bool | IsPropertyKindOf (wxPGId id, wxPGPropertyClassInfo &info) |
void | RegisterAdditionalEditors () |
void | RegisterAdvancedPropertyClasses () |
bool | RegisterPropertyClass (const wxChar *name, wxPGPropertyClassInfo *classinfo) |
void | SetBoolChoices (const wxChar *true_choice, const wxChar *false_choice) |
void | SetPropertyAttributes (wxPGId id, const wxString &attributes) |
void | SetPropertyChoices (wxPGId id, wxPGChoices &choices) |
Protected Member Functions | |
virtual wxPropertyGrid * | CreatePropertyGrid () const |
virtual wxPGId | DoGetPropertyByName (const wxString &name) const |
virtual void | RefreshProperty (wxPGProperty *p)=0 |
Static Protected Member Functions | |
void | DoSetPropertyAttribute (wxPGId id, int attrid, wxVariant &value, long argFlags) |
Protected Attributes | |
wxString | m_emptyString |
wxPropertyGridState * | m_pState |
wxPropertyContainerMethods
wxWindow
wxEvtHandler
wxObject
<wx/propgrid/manager.h>
To process input from a propertygrid control, use these event handler macros to direct input to member functions that take a wxPropertyGridEvent argument.
EVT_PG_SELECTED (id, func) | Property is selected. |
EVT_PG_CHANGED (id, func) | Property value is modified. |
EVT_PG_HIGHLIGHTED (id, func) | Mouse moves over property. Event's property is NULL if hovered on area that is not a property. |
EVT_PG_PAGE_CHANGED (id, func) | User changed page in manager. |
EVT_PG_ITEM_COLLAPSED (id, func) | User collapses a property or category. |
EVT_PG_ITEM_EXPANDED (id, func) | User expands a property or category. |
EVT_BUTTON (id, func) | Button in a property editor was clicked. Only occurs if the property doesn't handle button clicks itself. |
EVT_TEXT (id, func) | wxTextCtrl based editor was updated (but property value was not yet modified) |
|
Two step constructor. Call Create when this constructor is called to build up the wxPropertyGridManager. |
|
The default constructor. The styles to be used are styles valid for the wxWindow.
|
|
Destructor.
|
|
Creates new property page. Note that the first page is not created automatically.
|
|
Adds choice to a property that can accept one.
|
|
|
|
|
|
See wxPropertyGrid::AppendIn.
|
|
See wxPropertyGrid::AppendIn.
|
|
Inorder to add new items into a property with fixed children (for instance, wxFlagsProperty), you need to call this method. After populating has been finished, you need to call EndAddChildren. |
|
Returns true if all property grid data changes have been committed. Usually only returns false if value in active editor has been invalidated by a wxValidator. |
|
Deletes all properties on given page.
|
|
Deselect current selection, if any (from current page).
|
|
Collapses given item. Returns true if it was collapsable and previously expanded. |
|
Collapses all items that can be collapsed.
|
|
Compacts (arg is true) or expands the propertygrid (i.e. low priority items are already hidden or shown). |
|
Two step creation. Whenever the control is created without any parameters, use Create to actually create it. Don't access the control's public methods before this is called.
|
|
Constructs a property. Class used is given as the first string argument. It may be either normal property class name, such as "wxIntProperty" or a short one such as "Int". |
|
Constructs a property. Value type name used is given as the first string argument. It may be "string", "long", etc. Any value returned by wxVariant::GetType fits there. Otherwise, this is similar as CreatePropertyByClass.
|
|
Creates property grid for the manager. Override to use subclassed wxPropertyGrid. |
|
Deletes a property by name.
|
|
Deletes a property by id. If category is deleted, all children are automatically deleted as well. |
|
Deletes choice from a property. If selected item is deleted, then the value is set to unspecified. See AddPropertyChoice for more details. |
|
Disables a property.
|
|
Disables a property.
|
|
Enables or disables (shows/hides) categories according to parameter enable. WARNING: Not tested properly, use at your own risk. |
|
Enables or disables a property on target page.
|
|
Called after population of property with fixed children has finished.
|
|
Selects page, scrolls and/or expands items to ensure that the given item is visible. Returns true if something was actually done. |
|
Selects page, scrolls and/or expands items to ensure that the given item is visible. Returns true if something was actually done. |
|
Expands given item. Returns true if it was expandable and previously collapsed. |
|
Expands all parents on target page.
|
|
Returns number of children for the property.
|
|
Returns number of children for the property. NB: Cannot be in container methods class due to name hiding. |
|
Returns number of children of the root property of given page.
|
|
Returns number of children of the root property of the selected page.
|
|
Returns height of the description text box.
|
|
Returns id of first item (in target page), whether it is a category or a property.
|
|
Returns id of first category (in target page).
|
|
Returns id of first child of given property.
|
|
Returns id of first property that is not a category (from target page).
|
|
Returns pointer to the contained wxPropertyGrid. This does not change after wxPropertyGridManager has been created, so you can safely obtain pointer once and use it for the entire lifetime of the instance. |
|
Returns id of last child of given property.
|
|
Returns id of next category after a given property (which does not have to be category).
|
|
Returns id of next property (from target page). This does not iterate to sub-properties or categories. |
|
Returns next item under the same parent.
|
|
Returns page object for given page index.
|
|
Returns index for a page name. If no match is found, wxNOT_FOUND is returned. |
|
Returns index for a relevant propertygrid state. If no match is found, wxNOT_FOUND is returned. |
|
Returns number of managed pages.
|
|
Returns name of given page.
|
|
Returns "root property" of the given page. It does not have name, etc. and it is not visible. It is only useful for accessing its children. |
|
Returns id of previous property (in target page).
|
|
Returns id of previous item under the same parent.
|
|
Returns comma-delimited string with property's attributes (both pseudo-attributes such as "Disabled" and "Modified" and real attributes such as "BoolUseCheckbox" - actual names may vary).
|
|
Returns id of property with given label (case-sensitive). If there is no property with such label, returned property id is invalid ( i.e. it will return false with IsOk method). If there are multiple properties with identical name, most recent added is returned. |
|
Returns id of a sub-property 'subname' of property 'name'. Same as calling GetPropertyByNameI(wxT("name.subname")), albeit slightly faster. |
|
Returns id of property with given name (case-sensitive). If there is no property with such name, returned property id is invalid ( i.e. it will return false with IsOk method).
|
|
Returns id of property's nearest parent category. If no category found, returns invalid wxPGId. |
|
Returns writable reference to property's list of choices (and relevant values). If property does not have any choices, will return reference to an invalid set of choices that will return false on IsOk call. |
|
Gets name of property's constructor function.
|
|
Gets name of property's constructor function.
|
|
Returns client data (void*) of a property.
|
|
Returns client data (void*) of a property.
|
|
Returns cell background colour of a property.
|
|
Returns property's editor.
|
|
Returns help string associated with a property.
|
|
Returns help string associated with a property.
|
|
Returns property's custom value image (NULL of none).
|
|
Returns property's position under its parent.
|
|
Returns property's position under its parent.
|
|
Returns label of a property.
|
|
Returns name of a property. Note that obviously there is no name-version of this member function. |
|
Returns parent item of a property.
|
|
Returns parent item of a property.
|
|
Returns priority of a property (wxPG_HIGH or wxPG_LOW).
|
|
Returns priority of a property (wxPG_HIGH or wxPG_LOW).
|
|
Returns pointer to a property.
|
|
Returns pointer to a property.
|
|
Returns short name for property's class. For example, "wxPropertyCategory" translates to "Category" and "wxIntProperty" to "Int". |
|
Returns cell text colour of a property.
|
|
Returns validator of a property as a reference, which you can pass to any number of SetPropertyValidator.
|
|
Returns value as wxVariant. To get wxObject pointer from it, you will have to use WX_PG_VARIANT_TO_WXOBJECT(VARIANT,CLASSNAME) macro. If property value is unspecified, Null variant is returned. |
|
Returns value as wxVariant. To get wxObject pointer from it, you will have to use WX_PG_VARIANT_TO_WXOBJECT(VARIANT,CLASSNAME) macro. If property value is unspecified, Null variant is returned. |
|
Returns a wxVariant list containing wxVariant versions of all property values. Order is not guaranteed, but generally it should match the visible order in the grid.
|
|
Returns a wxPGValueType class instance that describes the property's data type.
|
|
Returns property value type identifier.
|
|
Returns property value type name.
|
|
Returns "root property" of the target page. It does not have name, etc. and it is not visible. It is only useful for accessing its children. |
|
Returns index to currently selected page.
|
|
Shortcut for GetGrid()->GetSelection().
|
|
Synonyme for GetSelectedPage.
|
|
Returns index of page that is target for insert operations etc.
|
|
Returns a pointer to the toolbar currently associated with the wxPropertyGridManager (if any).
|
|
Returns value type class instance for given type name.
|
|
Hides or reveals a property.
|
|
Initializes *all* property types. Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library. Reimplemented from wxPropertyContainerMethods. |
|
|
|
|
|
Creates new property page. Note that the first page is not created automatically.
|
|
Inserts choice to a property that can accept one. See AddPropertyChoice for more details. |
|
Returns true if any property on any page has been modified by the user.
|
|
Returns true if updating is frozen (ie. Freeze() called but not yet Thaw() ). |
|
Returns true if property has been modified after value set or modify flag clear by software. NOTE: Try to use IsPropertyModified instead. |
|
Returns true if any property on given page has been modified by the user.
|
|
Returns true if property is a category.
|
|
Returns true if property is enabled.
|
|
Returns true if property is enabled.
|
|
Returns true if given property is expanded. Naturally, always returns false for properties that cannot be expanded. |
|
Returns true if property is of certain type.
|
|
Returns true if property has been modified after value set or modify flag clear by software.
|
|
Returns true if property is shown (ie. hideproperty with true not called for it). |
|
Returns true if property is shown (ie. hideproperty with true not called for it). |
|
Returns true if property value is set to unspecified.
|
|
Returns true if property's value type has same name as a class.
|
|
Returns true if property's value type is valuetype.
|
|
Returns true if property's value type has name typestr.
|
|
Returns true if property's value type has same name as a class.
|
|
Returns true if property's value type is valuetype.
|
|
Returns true if property's value type has name typestr.
|
|
Disables item's textctrl if other way of editing is available.
|
|
Initializes additional property editors (SpinCtrl etc.). Causes references to most object files in the library, so calling this may cause significant increase in executable size when linking with static library. |
|
Basic property classes are registered by the default, but this registers advanced ones as well.
|
|
Registers property class info with specific name. Preferably use wxPGRegisterPropertyClass(PROPERTYNAME) macro. |
|
Removes a page.
|
|
Replaces property with id with newly created property. For example, this code replaces existing property named "Flags" with one that will have different set of items: For more info, see wxPropertyGrid::Insert. |
|
Same as SetDefaultPriority(wxPG_HIGH).
|
|
Select and displays a given page.
|
|
Select and displays a given page. Also makes it target page for insert operations etc.
|
|
Select a property.
|
|
Lets user to set the strings listed in the choice dropdown of a wxBoolProperty. Defaults are "True" and "False", so changing them to, say, "Yes" and "No" may be useful in some less technical applications. |
|
Sets text colour of a category caption (but not it's children).
|
|
Sets the current category - Append will add non-categories under this one.
|
|
Sets the current category - Append will add non-categories under this one.
|
|
All properties added/inserted will have given priority by default.
|
|
Sets y coordinate of the description box splitter.
|
|
Sets label and text in description box.
|
|
Sets an attribute of a property. Ids and relevants values are totally specific to property classes and may affect either the given instance or all instances of that class. See wxPropertyGrid Property Attribute Identifiers for list of built-in attributes.
|
|
Sets property attribute for all applicapple properties. Be sure to use this method after all properties have been added to the grid. |
|
Sets attributes from a string generated by GetPropertyAttributes.
|
|
Sets background colour of property and all its children. Colours of captions are not affected. Background brush cache is optimized for often set colours to be set last. |
|
Set choices of a property to specified set of labels and values.
|
|
Set choices of a property to specified set of labels and values.
|
|
If property's set of choices is shared, then calling this method converts it to private.
|
|
Sets client data (void*) of a property.
|
|
Sets client data (void*) of a property.
|
|
Sets background colour of property and all its children. Colours of captions are not affected. Background brush cache is optimized for often set colours to be set last. NOTE: This function is deprecated. Use SetPropertyBackgroundColour. |
|
Sets background and text colour of property and all its children to the default.
|
|
Sets editor control of a property. As editor argument, use editor name string, such as wxT("TextCtrl") or wxT("Choice"). |
|
Sets editor control of a property. As editor argument, use wxPG_EDITOR(EditorName), where basic built-in editor names are TextCtrl, Choice, ComboBox, CheckBox, TextCtrlAndButton, and ChoiceAndButton. Additional editors include SpinCtrl and DatePickerCtrl, which also require wxPropertyGrid::RegisterAdditionalEditors() call prior using. |
|
Associates the help string with property.
|
|
Set wxBitmap in front of the value.
|
|
Sets label of a property.
|
|
Sets max length of property's text.
|
|
Sets max length of property's text.
|
|
Property is to be hidden/shown when hider button is toggled or when wxPropertyGrid::Compact is called.
|
|
Property is to be hidden/shown when hider button is toggled or when wxPropertyGrid::Compact is called.
|
|
Sets property as read-only. It's value cannot be changed by the user, but the editor may still be created for copying purposes. |
|
Sets property as read-only. It's value cannot be changed by the user, but the editor may still be created for copying purposes. |
|
Sets text colour of property and all its children.
|
|
Sets property's value to unspecified. If it has children (it may be category), then the same thing is done to them. |
|
Sets validator of a property. For example
|
|
Sets property value.
|
|
Sets various property values from a list of wxVariants. If property with name is missing from the grid, new property is created under given default category (or root if omitted). Works on target page. |
|
Moves splitter as left as possible, while still allowing all labels to be shown in full.
|
|
Synonyme for SelectPage(name).
|
|
Sets page to which append, insert, etc. will add items. Every time a page is changed, target page is automatically switched to that. |
|
Sets page to which append, insert, etc. will add items. Every time a page is changed, target page is automatically switched to that. |
|
Sorts children of a category.
|
|
Sorts children of a category.
|
|
Sorts all items at all levels of the target page (except sub-properties).
|
|
Toggles priority of a property between wxPG_HIGH and wxPG_LOW.
|
|
Toggles priority of a property between wxPG_HIGH and wxPG_LOW.
|