[Gimp-developer] Get pointer coordinates in a python script



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 jabber fr
Twitter — @DimitriLav


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