]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/control.tex
Some manual updates; in MDI sample, child frames now have default size/position ...
[wxWidgets.git] / docs / latex / wx / control.tex
1 \section{\class{wxControl}}\label{wxcontrol}
2
3 This is the base class for a control or `widget'.
4
5 A control is generally a small window which processes user input and/or displays one or more item
6 of data.
7
8 \wxheading{Derived from}
9
10 \helpref{wxWindow}{wxwindow}\\
11 \helpref{wxEvtHandler}{wxevthandler}\\
12 \helpref{wxObject}{wxobject}
13
14 \wxheading{See also}
15
16 \helpref{wxValidator}{wxvalidator}
17
18 \latexignore{\rtfignore{\wxheading{Members}}}
19
20 \membersection{wxControl::Command}\label{wxcontrolcommand}
21
22 \func{void}{Command}{\param{wxCommandEvent\& }{event}}
23
24 Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
25
26 \membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
27
28 \func{wxString\&}{GetLabel}{\void}
29
30 Returns the control's text.
31
32 \membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
33
34 \func{void}{SetLabel}{\param{const wxString\& }{label}}
35
36 Sets the item's text.
37