wxErlang

Reference Manual

Version 2.0

Table of Contents

wxAcceleratorEntry

Module

wxAcceleratorEntry

Module Summary

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

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

Types

Copy ctor.

getCommand(This) -> integer()

Types

Returns the command identifier for the accelerator table entry.

getFlags(This) -> integer()

Types

Returns the flags for the accelerator table entry.

getKeyCode(This) -> integer()

Types

Returns the keycode for the accelerator table entry.

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

Types

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

Types

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

Sets the accelerator entry parameters.

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

Destroys the object.