On Fri, 2009-10-30 at 10:02 +0100, Niranjan wrote: > Hi > > I am new to gimp plug-in development. > > I wanted to know how mouse clicks are handled and also how coordinated for > the mouse pointer position are retrieved (similar to what the pointer dialog > does). > > I suspect it is something to do with GTK/GDK (GDKCursor?), but i am not sure > how it works out.
Please have a look at the GTK+ documentation. There are very nice tutorials and example code at http://www.gtk.org/documentation.html The official GTK+ tutorial at http://library.gnome.org/devel/gtk-tutorial/stable/ covers your question. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer