]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/control.tex
added unit tests for wxStringStreams
[wxWidgets.git] / docs / latex / wx / control.tex
CommitLineData
a660d684
KB
1\section{\class{wxControl}}\label{wxcontrol}
2
1b69c815 3This is the base class for a control or ``widget''.
a660d684 4
1b69c815
VZ
5A control is generally a small window which processes user input and/or
6displays one or more item of data.
a660d684
KB
7
8\wxheading{Derived from}
9
10\helpref{wxWindow}{wxwindow}\\
11\helpref{wxEvtHandler}{wxevthandler}\\
12\helpref{wxObject}{wxobject}
13
954b8ae6
JS
14\wxheading{Include files}
15
16<wx/control.h>
17
a660d684
KB
18\wxheading{See also}
19
20\helpref{wxValidator}{wxvalidator}
21
22\latexignore{\rtfignore{\wxheading{Members}}}
23
1b69c815 24
a660d684
KB
25\membersection{wxControl::Command}\label{wxcontrolcommand}
26
27\func{void}{Command}{\param{wxCommandEvent\& }{event}}
28
29Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
30
1b69c815 31
a660d684
KB
32\membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
33
34\func{wxString\&}{GetLabel}{\void}
35
36Returns the control's text.
37
1b69c815 38
a660d684
KB
39\membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
40
41\func{void}{SetLabel}{\param{const wxString\& }{label}}
42
43Sets the item's text.
44