Contents Up Previous Next

wxPropertyListView

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

See also

wxPropertyListView overview

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


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()

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()

Returns the panel associated with the view.


wxPropertyListView::GetManagedWindow

wxWindow * GetManagedWindow()

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


wxPropertyListView::GetWindowCancelButton

wxButton * GetWindowCancelButton()

Returns the window cancel button, if any.


wxPropertyListView::GetWindowCloseButton

wxButton * GetWindowCloseButton()

Returns the window close or OK button, if any.


wxPropertyListView::GetWindowHelpButton

wxButton * GetWindowHelpButton()

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.