wxAcceleratorEntry(3erl)
πΈ NAME πΈ
wxAcceleratorEntry β Functions for wxAcceleratorEntry class. This is the Erlang Module Definition manual page wxAcceleratorEntry(3erl), and we're about to make accelerator entries make sense, bestie π
β¨.
β¨ DESCRIPTION β¨
An object used by an application wishing to create an accelerator table (see wxAcceleratorTable). Itβs giving βkeyboard shortcuts but make it an objectβ energy π.
See: wxAcceleratorTable, wxWindow:setAcceleratorTable/2
wxWidgets docs: wxAcceleratorEntry
π DATA TYPES π
wxAcceleratorEntry() = wx:wx_object()
π EXPORTS π
π new() -> wxAcceleratorEntry() π
Zero-argument constructor, slay. Returns a wxAcceleratorEntry().
π new(Options :: [Option]) -> wxAcceleratorEntry() π
Constructor that takes Options :: [Option] and returns a wxAcceleratorEntry(). The original doesnβt add any extra description for this one β just the signature, no cap.
π new(Entry) -> wxAcceleratorEntry() π
Types:
Entry = wxAcceleratorEntry()
Copy ctor. Yep, copy-constructor realness β it takes an Entry of type wxAcceleratorEntry().
π getCommand(This) -> integer() π
Types:
This = wxAcceleratorEntry()
Returns the command identifier for the accelerator table entry. Command-ID main character energy π«Ά.
π getFlags(This) -> integer() π
Types:
This = wxAcceleratorEntry()
Returns the flags for the accelerator table entry. Flags: iconic π.
π getKeyCode(This) -> integer() π
Types:
This = wxAcceleratorEntry()
Returns the keycode for the accelerator table entry. Keycode unlocked π₯.
π set(This, Flags, KeyCode, Cmd) -> ok π
Types:
This = wxAcceleratorEntry()
Flags = KeyCode = Cmd = integer()
Returns ok. The original gives no prose description here β just the types and the ok, so Iβm not inventing extra behavior, bestie.
π set(This, Flags, KeyCode, Cmd, Options :: [Option]) -> ok π
Types:
This = wxAcceleratorEntry()
Flags = KeyCode = Cmd = integer()
Option = {item, wxMenuItem:wxMenuItem()}
Sets the accelerator entry parameters. The Option shape is {item, wxMenuItem:wxMenuItem()} β keep it exact, iykyk π.
π destroy(This :: wxAcceleratorEntry()) -> ok π
Destroys the object. Bye bestie ππ.
Cute sign-off for the footer tea: source/version is wxWidgets team. + wx 2.2.2.1, and the page is wxAcceleratorEntry(3erl). The original footer doesnβt print a date, so no invented date here β just accurate footer vibes πβ¨.
π¦ 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