******************* wx.AcceleratorTable ******************* Inheritance diagram for `wx.AcceleratorTable`: | .. inheritance-diagram:: wx.AcceleratorTable | Description =========== An accelerator table allows the application to specify a table of keyboard shortcuts for menu or button commands. The object `wx.NullAcceleratorTable` is defined to be a table with no data, and is the initial accelerator table for a window. .. seealso:: `wx.AcceleratorEntry `_ , `wx.Window.SetAcceleratorTable `_ Derived From ^^^^^^^^^^^^^ * `wx.Object `_ Remarks ^^^^^^^ An accelerator takes precedence over normal processing and can be a convenient way to program some event handling. For example, you can use an accelerator table to enable a dialog with a multi-line text control to accept ``CTRL-Enter`` as meaning 'OK' (but not in GTK+ at present). Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `IsOk <#IsOk>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(entries) Construct a `wx.AcceleratorTable` from a list of `wx.AcceleratorEntry `_ items or or of 3-tuples (flags, keyCode, cmdID) **Parameters:** * `entries` | **Returns:** `wx.AcceleratorTable `_ .. seealso:: `wx.AcceleratorEntry `_ -------- .. method:: IsOk() Returns ``True`` if the accelerator table is valid. | **Returns:** `bool`