Re: PyGimp: letting the use pick coordinates

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

 





On Mon, Jul 6, 2009 at 5:25 PM, Ryan Krauss <ryanlists@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[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