This is the base class for a control or ``widget’’.
A control is generally a small window which processes user input and/or
displays one or more item of data.
Simulates the effect of the user issuing a command to the item. See CommandEvent.
Returns the control’s text. Note that the returned string contains the
mnemonics (&
characters) if any, use
Control#get_label_text if they are
undesired.
Returns the control’s label without the mnemonics characters.
Can also be called as a class method, passing in a single label string;
this will return the same label string with the mnemonic characters removed.
Sets the item’s text. The &
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 "&&"
[This page automatically generated from the Textile source at 2023-06-03 08:07:36 +0000]