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