1 \section{\class{wxPropertyView
}}\label{wxpropertyview
}
3 The
{\bf wxPropertyView
} abstract class is the base class for views
4 of property sheets, acting as intermediaries between properties and
9 \helpref{wxPropertyView overview
}{wxpropertyviewoverview
}
11 \latexignore{\rtfignore{\wxheading{Members
}}}
13 \membersection{wxPropertyView::wxPropertyView
}
15 \func{void
}{wxPropertyView
}{\param{long
}{ flags = wxPROP
\_BUTTON\_DEFAULT}}
19 The
{\it flags
} argument can be a bit list of the following:
21 \begin{itemize
}\itemsep=
0pt
22 \item wxPROP
\_BUTTON\_CLOSE
23 \item wxPROP
\_BUTTON\_OK
24 \item wxPROP
\_BUTTON\_CANCEL
25 \item wxPROP
\_BUTTON\_CHECK\_CROSS
26 \item wxPROP
\_BUTTON\_HELP
27 \item wxPROP
\_DYNAMIC\_VALUE\_FIELD
28 \item wxPROP
\_PULLDOWN
31 \membersection{wxPropertyView::
\destruct{wxPropertyView
}}
33 \func{void
}{\destruct{wxPropertyView
}}{\void}
37 \membersection{wxPropertyView::AddRegistry
}\label{wxpropertyviewaddregistry
}
39 \func{void
}{AddRegistry
}{\param{wxPropertyValidatorRegistry *
}{registry
}}
41 Adds a registry (list of property validators) the view's list of registries, which is initially empty.
43 \membersection{wxPropertyView::FindPropertyValidator
}\label{wxpropertyviewfindpropertyvalidator
}
45 \func{wxPropertyValidator *
}{FindPropertyValidator
}{\param{wxProperty *
}{property
}}
47 Finds the property validator that is most appropriate to this property.
49 \membersection{wxPropertyView::GetPropertySheet
}\label{wxpropertyviewgetpropertysheet
}
51 \func{wxPropertySheet *
}{GetPropertySheet
}{\void}
53 Gets the property sheet for this view.
55 \membersection{wxPropertyView::GetRegistryList
}\label{wxpropertyviewgetregistrylist
}
57 \func{wxList\&
}{GetRegistryList
}{\void}
59 Returns a reference to the list of property validator registries.
61 \membersection{wxPropertyView::OnOk
}\label{wxpropertyviewonok
}
63 \func{void
}{OnOk
}{\void}
65 Virtual function that will be called when the OK button on the physical window is pressed (if it exists).
67 \membersection{wxPropertyView::OnCancel
}\label{wxpropertyviewoncancel
}
69 \func{void
}{OnCancel
}{\void}
71 Virtual function that will be called when the Cancel button on the physical window is pressed (if it exists).
73 \membersection{wxPropertyView::OnClose
}\label{wxpropertyviewonclose
}
75 \func{bool
}{OnClose
}{\void}
77 Virtual function that will be called when the physical window is closed. The default implementation returns FALSE.
79 \membersection{wxPropertyView::OnHelp
}\label{wxpropertyviewonhelp
}
81 \func{void
}{OnHelp
}{\void}
83 Virtual function that will be called when the Help button on the physical window is pressed (if it exists).
85 \membersection{wxPropertyView::OnPropertyChanged
}\label{wxpropertyviewonpropertychanged
}
87 \func{void
}{OnPropertyChanged
}{\param{wxProperty *
}{property
}}
89 Virtual function called by a view or validator when a property's value changed. Validators
90 must be written correctly for this to be called. You can override this function
91 to respond immediately to property value changes.
93 \membersection{wxPropertyView::OnUpdateView
}\label{wxpropertyviewonupdateview
}
95 \func{bool
}{OnUpdateView
}{\void}
97 Called by the viewed object to update the view. The default implementation just returns
100 \membersection{wxPropertyView::SetPropertySheet
}\label{wxpropertyviewsetpropertysheet
}
102 \func{void
}{SetPropertySheet
}{\param{wxPropertySheet *
}{sheet
}}
104 Sets the property sheet for this view.
106 \membersection{wxPropertyView::ShowView
}\label{wxpropertyviewshowview
}
108 \func{void
}{ShowView
}{\param{wxPropertySheet *
}{sheet
},
\param{wxPanel *
}{panel
}}
110 Associates this view with the given panel, and shows the view.