Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set the mouse pointer to a desired position in PyGTK??

Status
Not open for further replies.

PyQuest

Technical User
Jul 23, 2006
1
US
PyGTK has a function gtk.gdk.get_pointer()
which will capture the x and y position of the mouse pointer, but I cannot find a functon to move the pointer to a desired position. Any help in this matter will be appreciated. A small code snippet that will cause the mouse pointer to position itself at (0,0) >> upper left corner of the window would be awesome.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top