wxAcceleratorEntry(3)
π wxAcceleratorEntry π
okay bestie, welcome to the wxAcceleratorEntry page β it's an Erlang module definition, and yes we're about to make accelerator tables make sense together π
β¨ NAME β¨
wxAcceleratorEntry β it's an object used by an application wishing to create an accelerator table (peep wxAcceleratorTable) π¦
πΈ DESCRIPTION πΈ
so like, go look at these, fr fr:
wxAcceleratorTablewxWindow:setAcceleratorTable/2
also wxWidgets has docs: wxAcceleratorEntry β that's the vibe, iykyk π
π§ DATA TYPES π§
wxAcceleratorEntry() :: wx:wx_object().
yes babe that's the whole type, it's an object, iconic behavior π
π₯ FUNCTIONS π₯
π destroy(This :: wxAcceleratorEntry()) -> ok.
Destroys the object. that's it, that's the whole job β bye bye πβ¨
π getCommand(This) -> integer() when This :: wxAcceleratorEntry().
Returns the command identifier for the accelerator table entry π«Ά
π getFlags(This) -> integer() when This :: wxAcceleratorEntry().
Returns the flags for the accelerator table entry πΈ
π getKeyCode(This) -> integer() when This :: wxAcceleratorEntry().
Returns the keycode for the accelerator table entry π
π new([Option]) -> wxAcceleratorEntry() / (Entry) -> wxAcceleratorEntry()
the full signature, no edits, here it is:
new([Option]) -> wxAcceleratorEntry()
when
Option ::
{flags, integer()} |
{keyCode, integer()} |
{cmd, integer()} |
{item, wxMenuItem:wxMenuItem()};
(Entry) -> wxAcceleratorEntry()
when Entry :: wxAcceleratorEntry().
Copy ctor. literally just copies the entry, bestie, no notes π¦
π set(This, Flags, KeyCode, Cmd, [Option]) -> ok
and the exact signature:
set(This, Flags, KeyCode, Cmd, [Option]) -> ok
when
This :: wxAcceleratorEntry(),
Flags :: integer(),
KeyCode :: integer(),
Cmd :: integer(),
Option :: {item, wxMenuItem:wxMenuItem()}.
Sets the accelerator entry parameters. go off, set those params π₯
that's the whole page, bestie, you ate π β¨
sign-off time: this lil masterpiece is brought to you by Ericsson AB π for wx 2.6, and it's the wxAcceleratorEntry(3) page β mwah, obsessed π«Άπ no cap.
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms