// Purpose: interface of wxAccelerator* classes
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
@class wxAcceleratorEntry
- @wxheader{accel.h}
An object used by an application wishing to create an accelerator table
(see wxAcceleratorTable).
@library{wxcore}
- @category{misc}
+ @category{data}
@see wxAcceleratorTable, wxWindow::SetAcceleratorTable
*/
Constructor.
@param flags
- A combination of the wxAcceleratorEntryFlags values, which
+ A combination of the ::wxAcceleratorEntryFlags values, which
indicates which modifier keys are held down.
@param keyCode
- The keycode to be detected. See @ref page_keycodes for a full list of keycodes.
+ The keycode to be detected. See ::wxKeyCode for a full list of keycodes.
@param cmd
The menu or control command identifier (ID).
@param item
Sets the accelerator entry parameters.
@param flags
- A combination of the wxAcceleratorEntryFlags values, which
+ A combination of the ::wxAcceleratorEntryFlags values, which
indicates which modifier keys are held down.
@param keyCode
- The keycode to be detected. See @ref page_keycodes for a full list of keycodes.
+ The keycode to be detected. See ::wxKeyCode for a full list of keycodes.
@param cmd
The menu or control command identifier (ID).
@param item
/**
Returns a wxString for this accelerator.
+
This function formats it using the @c "flags-keycode" format
where @c flags maybe a hyphen-separed list of @c "shift|alt|ctrl".
*/
/**
@class wxAcceleratorTable
- @wxheader{accel.h}
An accelerator table allows the application to specify a table of keyboard
shortcuts for menu or button commands.
'OK'.
@library{wxcore}
- @category{misc}
+ @category{data}
@stdobjects
::wxNullAcceleratorTable
Number of accelerator entries.
@param entries
The array of entries.
+
+ @beginWxPerlOnly
+ The wxPerl constructor accepts a list of either
+ Wx::AcceleratorEntry objects or references to 3-element arrays
+ [flags, keyCode, cmd] , like the parameters of
+ Wx::AcceleratorEntry::new.
+ @endWxPerlOnly
*/
wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]);