1998-05-20 14:25:30 +00:00
|
|
|
\section{\class{wxControl}}\label{wxcontrol}
|
|
|
|
|
2004-04-01 00:05:13 +00:00
|
|
|
This is the base class for a control or ``widget''.
|
1998-05-20 14:25:30 +00:00
|
|
|
|
2004-04-01 00:05:13 +00:00
|
|
|
A control is generally a small window which processes user input and/or
|
|
|
|
displays one or more item of data.
|
1998-05-20 14:25:30 +00:00
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxWindow}{wxwindow}\\
|
|
|
|
\helpref{wxEvtHandler}{wxevthandler}\\
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 20:41:29 +00:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/control.h>
|
|
|
|
|
1998-05-20 14:25:30 +00:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxValidator}{wxvalidator}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-04-01 00:05:13 +00:00
|
|
|
|
1998-05-20 14:25:30 +00:00
|
|
|
\membersection{wxControl::Command}\label{wxcontrolcommand}
|
|
|
|
|
|
|
|
\func{void}{Command}{\param{wxCommandEvent\& }{event}}
|
|
|
|
|
|
|
|
Simulates the effect of the user issuing a command to the item. See \helpref{wxCommandEvent}{wxcommandevent}.
|
|
|
|
|
2004-04-01 00:05:13 +00:00
|
|
|
|
1998-05-20 14:25:30 +00:00
|
|
|
\membersection{wxControl::GetLabel}\label{wxcontrolgetlabel}
|
|
|
|
|
|
|
|
\func{wxString\&}{GetLabel}{\void}
|
|
|
|
|
|
|
|
Returns the control's text.
|
|
|
|
|
2004-04-01 00:05:13 +00:00
|
|
|
|
1998-05-20 14:25:30 +00:00
|
|
|
\membersection{wxControl::SetLabel}\label{wxcontrolsetlabel}
|
|
|
|
|
|
|
|
\func{void}{SetLabel}{\param{const wxString\& }{label}}
|
|
|
|
|
|
|
|
Sets the item's text.
|
|
|
|
|