wxAcceleratorEntry(3erl)

NAME
wxAcceleratorEntry - Functions for wxAcceleratorEntry class

DESCRIPTION

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

See: wxAcceleratorTable, wxWindow:setAcceleratorTable/2

wxWidgets docs: wxAcceleratorEntry

DATA TYPES

wxAcceleratorEntry() = wx:wx_object()

EXPORTS

new() -> wxAcceleratorEntry()

new(Options :: [Option]) -> wxAcceleratorEntry()

new(Entry) -> wxAcceleratorEntry()

    Types:

        Entry = wxAcceleratorEntry()

    Copy ctor.

getCommand(This) -> integer()

    Types:

        This = wxAcceleratorEntry()

    Returns the command identifier for the accelerator table entry.

getFlags(This) -> integer()

    Types:

        This = wxAcceleratorEntry()

    Returns the flags for the accelerator table entry.

getKeyCode(This) -> integer()

    Types:

        This = wxAcceleratorEntry()

    Returns the keycode for the accelerator table entry.

set(This, Flags, KeyCode, Cmd) -> ok

    Types:

        This = wxAcceleratorEntry()
        Flags = KeyCode = Cmd = integer()

set(This, Flags, KeyCode, Cmd, Options :: [Option]) -> ok

    Types:

        This = wxAcceleratorEntry()
        Flags = KeyCode = Cmd = integer()
        Option = {item, wxMenuItem:wxMenuItem()}

    Sets the accelerator entry parameters.

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

    Destroys the object.