1wxAcceleratorTable(3)      Erlang Module Definition      wxAcceleratorTable(3)
2
3
4

NAME

6       wxAcceleratorTable - Functions for wxAcceleratorTable class
7

DESCRIPTION

9       An  accelerator table allows the application to specify a table of key‐
10       board shortcuts for menu or button commands.
11
12       The object ?wxNullAcceleratorTable is defined to be  a  table  with  no
13       data, and is the initial accelerator table for a window.
14
15       Example:
16
17       Remark:  An accelerator takes precedence over normal processing and can
18       be a convenient way to program some event handling.  For  example,  you
19       can  use an accelerator table to enable a dialog with a multi-line text
20       control to accept CTRL-Enter as meaning 'OK'.
21
22       Predefined objects (include wx.hrl): ?wxNullAcceleratorTable
23
24       See: wxAcceleratorEntry, wxWindow:setAcceleratorTable/2
25
26       wxWidgets docs: wxAcceleratorTable
27

DATA TYPES

29       wxAcceleratorTable() = wx:wx_object()
30

EXPORTS

32       new() -> wxAcceleratorTable()
33
34              Default ctor.
35
36       new(N, Entries) -> wxAcceleratorTable()
37
38              Types:
39
40                 N = integer()
41                 Entries = [wxAcceleratorEntry:wxAcceleratorEntry()]
42
43              Initializes the accelerator table from an array  of  wxAccelera‐
44              torEntry.
45
46       destroy(This :: wxAcceleratorTable()) -> ok
47
48              Destroys the wxAcceleratorTable object.
49
50              See overview_refcount_destruct for more info.
51
52       ok(This) -> boolean()
53
54              Types:
55
56                 This = wxAcceleratorTable()
57
58              See: isOk/1.
59
60       isOk(This) -> boolean()
61
62              Types:
63
64                 This = wxAcceleratorTable()
65
66              Returns true if the accelerator table is valid.
67
68
69
70wxWidgets team.                    wx 2.3.1              wxAcceleratorTable(3)
Impressum