wxAcceleratorEntry(3)

NAME
wxAcceleratorEntry - An object used by an application wishing to create an accelerator table (see wxAcceleratorTable).

DESCRIPTION

See:

    • wxAcceleratorTable

    • wxWindow:setAcceleratorTable/2

wxWidgets docs: wxAcceleratorEntry

DATA TYPES

wxAcceleratorEntry() :: wx:wx_object().

FUNCTIONS

destroy(This :: wxAcceleratorEntry()) -> ok.

    Destroys the object
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() when Option :: {flags, integer()} | {keyCode, integer()} | {cmd, integer()} | {item, wxMenuItem:wxMenuItem()}; (Entry) -> wxAcceleratorEntry() when Entry :: wxAcceleratorEntry().

    Copy ctor.
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.