The wxPropertyListView class shows a wxPropertySheet as a Visual Basic-style property list.
See also
Members
wxPropertyListView::wxPropertyListView
wxPropertyListView::~wxPropertyListView
wxPropertyListView::AssociatePanel
wxPropertyListView::BeginShowingProperty
wxPropertyListView::DisplayProperty
wxPropertyListView::EndShowingProperty
wxPropertyListView::GetPanel
wxPropertyListView::GetManagedWindow
wxPropertyListView::GetWindowCancelButton
wxPropertyListView::GetWindowCloseButton
wxPropertyListView::GetWindowHelpButton
wxPropertyListView::SetManagedWindow
wxPropertyListView::UpdatePropertyDisplayInList
wxPropertyListView::UpdatePropertyList
void wxPropertyListView(long flags = wxPROP_BUTTON_DEFAULT)
Constructor.
The flags argument can be a bit list of the following:
void ~wxPropertyListView()
Destructor.
void AssociatePanel(wxPanel *panel)
Associates the window on which the controls will be displayed, with the view (sets an internal pointer to the window).
bool BeginShowingProperty(wxProperty *property)
Finds the appropriate validator and loads the property into the controls, by calling wxPropertyValidator::OnPrepareControls and then wxPropertyListView::DisplayProperty.
bool DisplayProperty(wxProperty *property)
Calls wxPropertyValidator::OnDisplayValue for the current property's validator. This function gets called by wxPropertyListView::BeginShowingProperty, which is in turn called from ShowProperty, called by OnPropertySelect, called by the listbox callback when selected.
bool EndShowingProperty(wxProperty *property)
Finds the appropriate validator and unloads the property from the controls, by calling wxPropertyListView::RetrieveProperty, wxPropertyValidator::OnClearControls and (if we're in detailed editing mdoe) wxPropertyValidator::OnClearDetailControls.
wxPanel * GetPanel()
Returns the panel associated with the view.
wxWindow * GetManagedWindow()
Returns the managed window (a frame or dialog) associated with the view.
wxButton * GetWindowCancelButton()
Returns the window cancel button, if any.
wxButton * GetWindowCloseButton()
Returns the window close or OK button, if any.
wxButton * GetWindowHelpButton()
Returns the window help button, if any.
void SetManagedWindow(wxWindow *win)
Sets the managed window (a frame or dialog) associated with the view.
bool UpdatePropertyDisplayInList(wxProperty *property)
Updates the display for the given changed property.
bool UpdatePropertyList(bool clearEditArea = TRUE)
Updates the whole property list display.