« Return to Thread: PyGimp: letting the use pick coordinates

Re: PyGimp: letting the use pick coordinates

by Alexia Death-2 :: Rate this Message:

Reply to Author | View in Thread



On Mon, Jul 6, 2009 at 5:25 PM, Ryan Krauss <ryanlists@...> wrote:


I would like my Latex enabled approach to act like the regular text tool.  The main thing I don't know how to do is allow the user (me) to click on a spot on the current image and pass those coordinates to PyGimp so that I can use that as the top left corner of my png.  Does my question make sense?  Is there an easy way to allow the user to click on a spot on the image and get the coordinates from PyGimp?

In various scripts when I have needed to indicate a location on a canvas Ive used selections. Id say using an upper left corner of a selection you draw first is as good as its going to get...


--
--Alexia

_______________________________________________
Gimp-developer mailing list
Gimp-developer@...
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

 « Return to Thread: PyGimp: letting the use pick coordinates