---
name: "wxAcceleratorEntry"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxAcceleratorEntry"
---

# wxAcceleratorEntry(3erl)

Functions for wxAcceleratorEntry class

## 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.
