]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/propsht.tex
image to bitmap rewrite,
[wxWidgets.git] / docs / latex / wx / propsht.tex
1 \section{\class{wxPropertySheet}}\label{wxpropertysheet}
2
3 \overview{wxPropertySheet overview}{wxpropertysheetoverview}
4
5 The {\bf wxPropertySheet} class is used for storing a number of
6 wxProperty objects (essentially names and values).
7
8 \membersection{wxPropertySheet::wxPropertySheet}
9
10 \func{void}{wxPropertySheet}{\param{const wxString}{ name = ""}}
11
12 Constructor. Sets property sheet's name to name if present.
13
14 \membersection{wxPropertySheet::\destruct{wxPropertySheet}}
15
16 \func{void}{\destruct{wxPropertySheet}}{\void}
17
18 Destructor. Destroys all contained properties.
19
20 \membersection{wxPropertySheet::AddProperty}\label{wxpropertysheetaddproperty}
21
22 \func{void}{AddProperty}{\param{wxProperty *}{property}}
23
24 Adds a property to the sheet.
25
26 \membersection{wxPropertySheet::Clear}\label{wxpropertysheetclear}
27
28 \func{void}{Clear}{\void}
29
30 Clears all the properties from the sheet (deleting them).
31
32 \membersection{wxPropertySheet::GetName}\label{wxpropertysheetgetname}
33
34 \func{wxString}{GetName}{\void}
35
36 Gets the sheet's name.
37
38 \membersection{wxPropertySheet::GetProperty}\label{wxpropertysheetgetproperty}
39
40 \func{wxProperty *}{GetProperty}{\param{wxString}{ name}}
41
42 Gets a property by name.
43
44 \membersection{wxPropertySheet::GetProperties}\label{wxpropertysheetgetproperties}
45
46 \func{wxList\&}{GetProperties}{\void}
47
48 Returns a reference to the internal list of properties.
49
50 \membersection{wxPropertySheet::HasProperty}\label{wxpropertysheethasproperty}
51
52 \func{bool}{HasProperty}{\param{wxString}{ propname}}
53
54 Returns true if sheet contains property propname.
55
56 \membersection{wxPropertySheet::RemoveProperty}\label{wxpropertysheetremoveproperty}
57
58 \func{void}{RemoveProperty}{\param{wxString}{ propname}}
59
60 Removes property propname from sheet, deleting it.
61
62 \membersection{wxPropertySheet::SetName}\label{wxpropertysheetsetname}
63
64 \func{void}{SetName}{\param{wxString}{ sheetname}}
65
66 Set the sheet's name to sheetname
67
68 \membersection{wxPropertySheet::SetProperty}\label{wxpropertysheetsetproperty}
69
70 \func{bool}{SetProperty}{\param{wxString}{ propname}, \param{wxPropertyValue}{ value}}
71
72 Sets property propname to value. Returns false if property is not a member of sheet.
73
74 \membersection{wxPropertySheet::SetAllModified}
75
76 \func{void}{SetAllModified}{\param{Bool}{ flag}}
77
78 Sets the `modified' flag of each property value.
79
80
81