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