Home | Trees | Index | Help |
|
---|
Package wx :: Class SetCursorEvent |
|
object
--+ |Object
--+ |Event
--+ | SetCursorEvent
A SetCursorEvent is generated when the mouse cursor is about to be set
as a result of mouse motion. This event gives the application the
chance to perform specific mouse cursor processing based on the
current position of the mouse within the window. Use the SetCursor
method to specify the cursor you want to be displayed.
Method Summary | |
---|---|
SetCursorEvent |
Construct a new wx.SetCursorEvent . |
Cursor |
Returns a reference to the cursor specified by this event. |
int |
Returns the X coordinate of the mouse in client coordinates. |
int |
Returns the Y coordinate of the mouse in client coordinates. |
bool |
Returns true if the cursor specified by this event is a valid cursor. |
Sets the cursor associated with this event. |
Property Summary | |
---|---|
Cursor : See GetCursor and SetCursor | |
thisown : The membership flag | |
X : See GetX | |
Y : See GetY |
Method Details |
---|
__init__(self,
x=0,
y=0)
|
GetCursor(self)Returns a reference to the cursor specified by this event.
|
GetX(self)Returns the X coordinate of the mouse in client coordinates.
|
GetY(self)Returns the Y coordinate of the mouse in client coordinates.
|
HasCursor(self)Returns true if the cursor specified by this event is a valid cursor.
|
SetCursor(self, cursor)Sets the cursor associated with this event.
|
Property Details |
---|
Cursor |
thisownThe membership flag |
XSee
|
YSee
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:14:02 2007 | http://epydoc.sf.net |