| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class MouseEvent |
|
object--+ |Object--+ |Event--+ | MouseEvent
| Method Summary | |
|---|---|
| MouseEvent | __init__(self,
mouseType)
|
__repr__(self)
| |
| bool | AltDown(self)
|
| bool | Button(self,
but)
|
| bool | ButtonDClick(self,
but)
|
| bool | ButtonDown(self,
but)
|
| bool | ButtonIsDown(self,
but)
|
| bool | ButtonUp(self,
but)
|
| 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)
|
| bool | Dragging(self)
|
| bool | Entering(self)
|
| int | GetButton(self)
|
| int | GetLinesPerAction(self)
|
| Point | GetLogicalPosition(self,
dc)
|
| Point |
Returns the position of the mouse in window coordinates when the event happened. |
| (x,y) |
Returns the position of the mouse in window coordinates when the event happened. |
| int | GetWheelDelta(self)
|
| int | GetWheelRotation(self)
|
| int | GetX(self)
|
| int | GetY(self)
|
| bool | IsButton(self)
|
| bool | IsPageScroll(self)
|
| bool | Leaving(self)
|
| bool | LeftDClick(self)
|
| bool | LeftDown(self)
|
| bool | LeftIsDown(self)
|
| bool | LeftUp(self)
|
| bool | MetaDown(self)
|
| bool | MiddleDClick(self)
|
| bool | MiddleDown(self)
|
| bool | MiddleIsDown(self)
|
| bool | MiddleUp(self)
|
| bool | Moving(self)
|
| bool | RightDClick(self)
|
| bool | RightDown(self)
|
| bool | RightIsDown(self)
|
| bool | RightUp(self)
|
| bool | ShiftDown(self)
|
| Property Summary | |
|---|---|
m_altDown | |
m_controlDown | |
m_leftDown | |
m_linesPerAction | |
m_metaDown | |
m_middleDown | |
m_rightDown | |
m_shiftDown | |
m_wheelDelta | |
m_wheelRotation | |
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)Returns the position of the mouse in window coordinates when the event happened.
|
GetPositionTuple()Returns the position of the mouse in window coordinates when the event happened.
|
| Property Details |
|---|
m_altDown
|
m_controlDown
|
m_leftDown
|
m_linesPerAction
|
m_metaDown
|
m_middleDown
|
m_rightDown
|
m_shiftDown
|
m_wheelDelta
|
m_wheelRotation
|
m_x
|
m_y
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20040428.rpd on Fri Apr 8 16:05:29 2005 | http://epydoc.sf.net |