#include <propgrid.h>
Public Member Functions | |
| void | AddChoices (wxPGChoicesId choicesId, const wxArrayString &choiceLabels, const wxArrayInt &choiceValues=(*((wxArrayInt *) NULL))) |
| wxPGId | AppendByClass (const wxString &classname, const wxString &label, const wxString &name=(*((wxString *) NULL)), const wxString &value=wxEmptyString, const wxString &attributes=wxEmptyString, wxPGChoicesId choicesId=(wxPGChoicesId) 0, const wxArrayString &choiceLabels=(*((wxArrayString *) NULL)), const wxArrayInt &choiceValues=(*((wxArrayInt *) NULL))) |
| wxPGId | AppendByType (const wxString &valuetype, const wxString &label, const wxString &name=(*((wxString *) NULL)), const wxString &value=wxEmptyString, const wxString &attributes=wxEmptyString, wxPGChoicesId choicesId=(wxPGChoicesId) 0, const wxArrayString &choiceLabels=(*((wxArrayString *) NULL)), const wxArrayInt &choiceValues=(*((wxArrayInt *) NULL))) |
| bool | BeginChildren () |
| void | EndChildren () |
| wxPGId | GetCurrentParent () const |
| bool | HasChoices (wxPGChoicesId id) const |
| void | SetGrid (wxPropertyGrid *pg) |
| wxPropertyGridPopulator (wxPropertyGrid *pg=(wxPropertyGrid *) NULL, wxPGId popRoot=wxPGId(NULL)) | |
| ~wxPropertyGridPopulator () | |
Protected Member Functions | |
| wxPGId | DoAppend (wxPGProperty *p, const wxString &value, const wxString &attributes, wxPGChoicesId choicesId, const wxArrayString &choiceLabels, const wxArrayInt &choiceValues) |
| void | Init (wxPropertyGrid *pg, wxPGId popRoot) |
Protected Attributes | |
| wxPGId | m_curParent |
| wxPGHashMapP2P | m_dictIdChoices |
| wxPGId | m_lastProperty |
| wxPGId | m_popRoot |
| wxPropertyGrid * | m_propGrid |
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Adds a new set of choices with given id, labels and optional values.
|
|
||||||||||||||||||||||||||||||||||||
|
Appends a property under current parent.
|
|
||||||||||||||||||||||||||||||||||||
|
Appends a property under current parent. Works just as AppendByClass, except accepts value type name instead of class name (value type name of a property can be queried using wxPropertyGrid::GetPropertyValueType(property)->GetType()).
|
|
|
If possible, sets the property last added as current parent.
|
|
|
Terminates current parent - sets its parent as the new current parent.
|
|
|
Returns id of parent property for which children can currently be added.
|
|
|
Returns true if set of choices with given id has already been added.
|
|
|
Sets the property grid to be populated.
|
|
|
Parent of currently added properties.
|
|
|
Hashmap for source-choices-id to wxPGChoicesData mapping.
|
|
|
Id of property last added.
|
|
|
Population root.
|
|
|
Used property grid.
|
1.3.6