Re: [Gimp-developer] plugin to put points on top of each other

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

 



Christof Lutz writes:
> Could your help me in that point? I just need to know how to "grab" the 
> point-coordinates of a click to an image!

If you go into the plug-ins/common directory of the source and grep
for GDK_BUTTON_PRESS, you will find plenty of examples that will
quickly show you how to do it.

There are three main steps involved:  (1) requesting to receive
button press events, (2) connecting a callback for them, and
(3) handling them in the callback.  

Best,
  -- Bill
 

 
______________ ______________ ______________ ______________
Sent via the KillerWebMail system at primate.ucdavis.edu


 
                   

[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