Home | Trees | Index | Help |
|
---|
Package wx :: Class KeyEvent |
|
object
--+ |Object
--+ |Event
--+ | KeyEvent
Method Summary | |
---|---|
KeyEvent | __init__(self,
keyType)
|
__repr__(self)
| |
bool | AltDown(self)
|
bool |
"Cmd" is a pseudo key which is the same as Control for PC and Unix platforms but the special "Apple" (a.k.a as "Command") key on Macs: it makes often sense to use it instead of, say, ControlDown
because Cmd key is used for the same thing under Mac as Ctrl
elsewhere. |
bool | ControlDown(self)
|
int | GetKeyCode(self)
|
Point |
Find the position of the event. |
(x,y) |
Find the position of the event. |
unsigned int | GetRawKeyCode(self)
|
unsigned int | GetRawKeyFlags(self)
|
int | GetUniChar(self)
|
int | GetUnicodeKey(self)
|
int | GetX(self)
|
int | GetY(self)
|
bool | HasModifiers(self)
|
int | KeyCode(self)
|
bool | MetaDown(self)
|
bool | ShiftDown(self)
|
Property Summary | |
---|---|
m_altDown | |
m_controlDown | |
m_keyCode | |
m_metaDown | |
m_rawCode | |
m_rawFlags | |
m_scanCode | |
m_shiftDown | |
m_x | |
m_y |
Method Details |
---|
CmdDown(self)"Cmd" is a pseudo key which is the same as Control for PC and Unix platforms but the special "Apple" (a.k.a as "Command") key on Macs: it makes often sense to use it instead of, say,ControlDown
because Cmd key is used for the same thing under Mac as Ctrl
elsewhere. The Ctrl still exists, it's just not used for this
purpose. So for non-Mac platforms this is the same as ControlDown
and Macs this is the same as MetaDown .
|
GetPosition(self)Find the position of the event.
|
GetPositionTuple()Find the position of the event.
|
Property Details |
---|
m_altDown
|
m_controlDown
|
m_keyCode
|
m_metaDown
|
m_rawCode
|
m_rawFlags
|
m_scanCode
|
m_shiftDown
|
m_x
|
m_y
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:02 2005 | http://epydoc.sf.net |