]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/control.tex
added container class source
[wxWidgets.git] / docs / latex / wx / control.tex
CommitLineData
a660d684
KB
1\section{\class{wxControl}}\label{wxcontrol}
2
3This is the base class for a control or `widget'.
4
5A control is generally a small window which processes user input and/or displays one or more item
6of data.
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
24\membersection{wxControl::Command}\label{wxcontrolcommand}
25
26\func{void}{Command}{\param{wxCommandEvent\& }{event}}
27
28Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
29
30\membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
31
32\func{wxString\&}{GetLabel}{\void}
33
34Returns the control's text.
35
36\membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
37
38\func{void}{SetLabel}{\param{const wxString\& }{label}}
39
40Sets the item's text.
41