Contents Up Previous Next

wxPropertyView: wxEvtHandler

wxPropertyView overview

The wxPropertyView abstract class is the base class for views of property sheets, acting as intermediaries between properties and actual windows.

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


wxPropertyView::wxPropertyView

void wxPropertyView(long flags = wxPROP_BUTTON_DEFAULT)

Constructor.

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


wxPropertyView::~wxPropertyView

void ~wxPropertyView(void)

Destructor.


wxPropertyView::AddRegistry

void AddRegistry(wxPropertyValidatorRegistry *registry)

Adds a registry (list of property validators) the view's list of registries, which is initially empty.


wxPropertyView::FindPropertyValidator

wxPropertyValidator * FindPropertyValidator(wxProperty *property)

Finds the property validator that is most appropriate to this property.


wxPropertyView::GetPropertySheet

wxPropertySheet * GetPropertySheet(void)

Gets the property sheet for this view.


wxPropertyView::GetRegistryList

wxList& GetRegistryList(void)

Returns a reference to the list of property validator registries.


wxPropertyView::OnOk

void OnOk(void)

Virtual function that will be called when the OK button on the physical window is pressed (if it exists).


wxPropertyView::OnCancel

void OnCancel(void)

Virtual function that will be called when the Cancel button on the physical window is pressed (if it exists).


wxPropertyView::OnClose

Bool OnClose(void)

Virtual function that will be called when the physical window is closed. The default implementation returns FALSE.


wxPropertyView::OnHelp

void OnHelp(void)

Virtual function that will be called when the Help button on the physical window is pressed (if it exists).


wxPropertyView::OnPropertyChanged

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.


wxPropertyView::OnUpdateView

Bool OnUpdateView(void)

Called by the viewed object to update the view. The default implementation just returns FALSE.


wxPropertyView::SetPropertySheet

void SetPropertySheet(wxPropertySheet *sheet)

Sets the property sheet for this view.


wxPropertyView::ShowView

void ShowView(wxPropertySheet *sheet, wxPanel *panel)

Associates this view with the given panel, and shows the view.