Get pointer coordinates in a python script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to get pointer coordinates for a Python script but I didn't found the methode to do that.

Result of my searches :
- no function in the pdb
- need to use PyGTK and gtk.gdk.Event.get_coords but I don't need to create Event and Window objects, just to found existing.

How to use canvas Window and Event object?

But, maybe am I on a bad path...

--
Dimitri Robert
Jabber — dimitrirobert@xxxxxxxxx
Twitter — @DimitriLav
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list





[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux