Contents Up Previous Next

wxPropertyListView: wxPropertyView

wxPropertyListView overview

The wxPropertyListView class shows a wxPropertySheet as a Visual Basic-style property list.

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


wxPropertyListView::wxPropertyListView

void wxPropertyListView(long flags = wxPROP_BUTTON_DEFAULT)

Constructor.

The flags argument can be a bit list of the following:


wxPropertyListView::~wxPropertyListView

void ~wxPropertyListView(void)

Destructor.


wxPropertyListView::AssociatePanel

void AssociatePanel(wxPanel *panel)

Associates the window on which the controls will be displayed, with the view (sets an internal pointer to the window).


wxPropertyListView::BeginShowingProperty

Bool BeginShowingProperty(wxProperty *property)

Finds the appropriate validator and loads the property into the controls, by calling wxPropertyValidator::OnPrepareControls and then wxPropertyListView::DisplayProperty.


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.


wxPropertyListView::EndShowingProperty

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.


wxPropertyListView::GetPanel

wxPanel * GetPanel(void)

Returns the panel associated with the view.


wxPropertyListView::GetManagedWindow

wxWindow * GetManagedWindow(void)

Returns the managed window (a frame or dialog) associated with the view.


wxPropertyListView::GetWindowCancelButton

wxButton * GetWindowCancelButton(void)

Returns the window cancel button, if any.


wxPropertyListView::GetWindowCloseButton

wxButton * GetWindowCloseButton(void)

Returns the window close or OK button, if any.


wxPropertyListView::GetWindowHelpButton

wxButton * GetWindowHelpButton(void)

Returns the window help button, if any.


wxPropertyListView::SetManagedWindow

void SetManagedWindow(wxWindow *win)

Sets the managed window (a frame or dialog) associated with the view.


wxPropertyListView::UpdatePropertyDisplayInList

Bool UpdatePropertyDisplayInList(wxProperty *property)

Updates the display for the given changed property.


wxPropertyListView::UpdatePropertyList

Bool UpdatePropertyList(Bool clearEditArea = TRUE)

Updates the whole property list display.