Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxAcceleratorEntry (3erl)

Name

wxAcceleratorEntry - Functions for wxAcceleratorEntry class

Synopsis

Please see following description for synopsis

Description

wxAcceleratorEntry(3)      Erlang Module Definition      wxAcceleratorEntry(3)



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.



wxWidgets team.                    wx 2.1.1              wxAcceleratorEntry(3)