wxControl(3erl)
NAME πΈ
wxControl β Functions for wxControl class. This is the wxControl(3erl) page, aka an Erlang Module Definition, and yes bestie weβre getting into it π
DESCRIPTION π
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.
- See:
wxValidator(not implemented in wx) - This class is derived (and can use functions) from:
wxWindowwxEvtHandler - wxWidgets docs:
wxControl
EVENTS β¨
Event types emitted from this class:
command_text_copycommand_text_cutcommand_text_paste
DATA TYPES π¦
wxControl() = wx:wx_object()
EXPORTS π
getLabel(This) -> unicode:charlist()
Types:
This = wxControl()
Returns the control's label, as it was passed to setLabel/2.
Note that the returned string may contain mnemonics ("&" characters) if they were passed to the setLabel/2 function; use GetLabelText() (not implemented in wx) if they are undesired.
Also note that the returned string is always the string which was passed to setLabel/2 but may be different from the string passed to SetLabelText() (not implemented in wx) (since this last one escapes mnemonic characters).
setLabel(This, Label) -> ok
Types:
This = wxControl()
Label = unicode:chardata()
Sets the control's label.
All "&" 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 "&&". If this behaviour is undesirable, use SetLabelText() (not implemented in wx) instead.
Cute footer sign-off time: source wxWidgets team. Β· version/date wx 2.2.2.1 Β· page wxControl(3erl) β thatβs a wrap, bestie! πβ¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms