long style = wxPG_DEFAULT_STYLE,
const wxChar* name = wxPropertyGridNameStr );
- /**
- Call when editor widget's contents is modified. For example, this is
- called when changes text in wxTextCtrl (used in wxStringProperty and
- wxIntProperty).
-
- @remarks This function should only be called by custom properties.
-
- @see wxPGProperty::OnEvent()
- */
- void EditorsValueWasModified();
-
- /**
- Reverse of EditorsValueWasModified().
-
- @remarks This function should only be called by custom properties.
- */
- void EditorsValueWasNotModified();
-
/**
Enables or disables (shows/hides) categories according to parameter
enable.
*/
wxColour GetMarginColour() const;
- /**
- Returns most up-to-date value of selected property. This will return
- value different from GetSelectedProperty()->GetValue() only when text
- editor is activate and string edited by user represents valid,
- uncommitted property value.
- */
- wxVariant GetUncommittedPropertyValue();
-
/**
Returns "root property". It does not have name, etc. and it is not
visible. It is only useful for accessing its children.
*/
int GetVerticalSpacing() const;
- /**
- Returns true if editor's value was marked modified.
- */
- bool IsEditorsValueModified() const;
-
/**
Returns information about arbitrary position in the grid.
*/
void SetVerticalSpacing( int vspacing );
+
+ /**
+ @name Property development functions
+
+ These member functions are usually only called when creating custom
+ user properties.
+ */
+ //@{
+
+ /**
+ Call when editor widget's contents is modified. For example, this is
+ called when changes text in wxTextCtrl (used in wxStringProperty and
+ wxIntProperty).
+
+ @remarks This function should only be called by custom properties.
+
+ @see wxPGProperty::OnEvent()
+ */
+ void EditorsValueWasModified();
+
+ /**
+ Reverse of EditorsValueWasModified().
+
+ @remarks This function should only be called by custom properties.
+ */
+ void EditorsValueWasNotModified();
+
+ /**
+ Returns most up-to-date value of selected property. This will return
+ value different from GetSelectedProperty()->GetValue() only when text
+ editor is activate and string edited by user represents valid,
+ uncommitted property value.
+ */
+ wxVariant GetUncommittedPropertyValue();
+
+ /**
+ Returns true if editor's value was marked modified.
+ */
+ bool IsEditorsValueModified() const;
+
/**
Shows an brief error message that is related to a property.
*/
wxPGProperty::OnEvent() is not even called in those cases).
*/
bool WasValueChangedInEvent() const;
+
+ //@}
};