The wxPropertyView abstract class is the base class for views of property sheets, acting as intermediaries between properties and actual windows.
See also
Members
wxPropertyView::wxPropertyView
wxPropertyView::~wxPropertyView
wxPropertyView::AddRegistry
wxPropertyView::FindPropertyValidator
wxPropertyView::GetPropertySheet
wxPropertyView::GetRegistryList
wxPropertyView::OnOk
wxPropertyView::OnCancel
wxPropertyView::OnClose
wxPropertyView::OnHelp
wxPropertyView::OnPropertyChanged
wxPropertyView::OnUpdateView
wxPropertyView::SetPropertySheet
wxPropertyView::ShowView
void wxPropertyView(long flags = wxPROP_BUTTON_DEFAULT)
Constructor.
The flags argument can be a bit list of the following:
void ~wxPropertyView()
Destructor.
void AddRegistry(wxPropertyValidatorRegistry *registry)
Adds a registry (list of property validators) the view's list of registries, which is initially empty.
wxPropertyValidator * FindPropertyValidator(wxProperty *property)
Finds the property validator that is most appropriate to this property.
wxPropertySheet * GetPropertySheet()
Gets the property sheet for this view.
wxList& GetRegistryList()
Returns a reference to the list of property validator registries.
void OnOk()
Virtual function that will be called when the OK button on the physical window is pressed (if it exists).
void OnCancel()
Virtual function that will be called when the Cancel button on the physical window is pressed (if it exists).
bool OnClose()
Virtual function that will be called when the physical window is closed. The default implementation returns FALSE.
void OnHelp()
Virtual function that will be called when the Help button on the physical window is pressed (if it exists).
void OnPropertyChanged(wxProperty *property)
Virtual function called by a view or validator when a property's value changed. Validators must be written correctly for this to be called. You can override this function to respond immediately to property value changes.
bool OnUpdateView()
Called by the viewed object to update the view. The default implementation just returns FALSE.
void SetPropertySheet(wxPropertySheet *sheet)
Sets the property sheet for this view.
void ShowView(wxPropertySheet *sheet, wxPanel *panel)
Associates this view with the given panel, and shows the view.