]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/control.tex
wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
[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
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
24Simulates 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
30Returns the control's text.
31
32\membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
33
34\func{void}{SetLabel}{\param{const wxString\& }{label}}
35
36Sets the item's text.
37