#include <wx/control.h>

A control is generally a small window which processes user input and/or displays one or more item of data.
Public Member Functions | |
| virtual void | Command (wxCommandEvent &event) |
| wxString | GetLabel () const |
| wxString | GetLabelText () const |
| void | SetLabel (const wxString &label) |
Static Public Member Functions | |
| static wxString | GetLabelText (const wxString &label) |
| virtual void wxControl::Command | ( | wxCommandEvent & | event | ) | [virtual] |
| wxString wxControl::GetLabel | ( | ) | const [virtual] |
Returns the control's text.
Reimplemented from wxWindow.
Reimplemented in wxButton, and wxStaticText.
| wxString wxControl::GetLabelText | ( | ) | const |
Returns the control's label without mnemonics.
Returns the given label string without mnemonics.
Reimplemented in wxStaticText.
| void wxControl::SetLabel | ( | const wxString & | label | ) | [virtual] |
Sets the item's text.
Any "&" characters in the label are special and indicate that the following character is a mnemonic for this control and can be used to activate it from the keyboard (typically by using Alt key in combination with it). To insert a literal ampersand character, you need to double it, i.e. use "&&".
Reimplemented from wxWindow.
Reimplemented in wxButton, and wxStaticText.
|
[ top ] |