[Gimp-developer] PyGimp: letting the use pick coordinates

Alexia Death alexiadeath at gmail.com
Mon Jul 6 07:37:31 PDT 2009


On Mon, Jul 6, 2009 at 5:25 PM, Ryan Krauss <ryanlists at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gimp-developer/attachments/20090706/5b07b59d/attachment.html 


More information about the Gimp-developer mailing list