wxAcceleratorTable(3erl)
π wxAcceleratorTable π
okay so this is the Erlang Module Definition for wxAcceleratorTable, bestie β group chat is open, let's get into it π
β¨
πΈ NAME πΈ
wxAcceleratorTable β Functions for wxAcceleratorTable class.
π¦ DESCRIPTION π¦
An accelerator table lets the app specify a table of keyboard shortcuts for menu or button commands. literally keyboard shortcut agenda π
The object ?wxNullAcceleratorTable is defined to be a table with no data, and it's the initial accelerator table for a window. yes bestie, the empty one is the starter pack π
Example: the page says Example: and then... nothing, iconic empty reveal π
Remark: An accelerator takes precedence over normal processing and can be a convenient way to program some event handling. For example, you can use an accelerator table to enable a dialog with a multi-line text control to acceptCTRL-Enteras meaning'OK'. that's the whole point, slay.
Predefined objects (include wx.hrl): ?wxNullAcceleratorTable
See: wxAcceleratorEntry, wxWindow:setAcceleratorTable/2
wxWidgets docs: wxAcceleratorTable
π DATA TYPES π
wxAcceleratorTable() = wx:wx_object()
π EXPORTS π
new() -> wxAcceleratorTable()β default ctor. simple. clean. no cap.new(N, Entries) -> wxAcceleratorTable()- Types:
N = integer()Entries = [wxAcceleratorEntry:wxAcceleratorEntry()]
- Initializes the accelerator table from an array of
wxAcceleratorEntry.
- Types:
destroy(This :: wxAcceleratorTable()) -> okβ Destroys thewxAcceleratorTableobject.- See
overview_refcount_destructfor more info.
- See
ok(This) -> boolean()- Types:
This = wxAcceleratorTable()
- bestie this one just says see
isOk/1, iykyk. - See:
isOk/1
- Types:
isOk(This) -> boolean()- Types:
This = wxAcceleratorTable()
- Returns
trueif the accelerator table is valid. vibe check: passed β
- Types:
that's the whole page, bestie π«Ά shoutout to the wxWidgets team, this is wx 2.2.2.1, page wxAcceleratorTable(3erl) β mwah π
π¦ 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