Home | Trees | Index | Help |
|
---|
Package wx :: Class AcceleratorEntry |
|
object
--+
|
AcceleratorEntry
A class used to define items in an wx.AcceleratorTable
. wxPython
programs can choose to use wx.AcceleratorEntry objects, but using a
list of 3-tuple of integers (flags, keyCode, cmdID) usually works just
as well. See __init__
for of the tuple values.
See Also:
Method Summary | |
---|---|
AcceleratorEntry |
|
__del__(self)
| |
AcceleratorEntry |
Create accelerator corresponding to the specified string, or None if it coulnd't be parsed. (Static method) |
bool |
Returns true if the given string correctly initialized this object. |
int |
Get the AcceleratorEntry's command ID. |
int |
Get the AcceleratorEntry's flags. |
int |
Get the AcceleratorEntry's keycode. |
bool | IsOk(self)
|
(Re)set the attributes of a wx.AcceleratorEntry. | |
String |
Returns a string representation for the this accelerator. |
Property Summary | |
---|---|
Command : See GetCommand | |
Flags : See GetFlags | |
KeyCode : See GetKeyCode | |
thisown : The membership flag |
Instance Method Details |
---|
__init__(self,
flags=0,
keyCode=0,
cmdID=0)
|
FromString(self, str)Returns true if the given string correctly initialized this object.
|
GetCommand(self)Get the AcceleratorEntry's command ID.
|
GetFlags(self)Get the AcceleratorEntry's flags.
|
GetKeyCode(self)Get the AcceleratorEntry's keycode.
|
Set(self, flags, keyCode, cmd)(Re)set the attributes of a wx.AcceleratorEntry.
:see
|
ToString(self)Returns a string representation for the this accelerator. The string is formatted using the <flags>-<keycode> format where <flags> maybe a hyphen-separed list of "shift|alt|ctrl"
|
Static Method Details |
---|
Create(str)Create accelerator corresponding to the specified string, or None if it coulnd't be parsed.
|
Property Details |
---|
CommandSee
|
FlagsSee
|
KeyCodeSee
|
thisownThe membership flag |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:08:48 2007 | http://epydoc.sf.net |