RSS/Atom feed Twitter
Site is read-only, email is disabled

Mouse Pointer Coordinates

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Mouse Pointer Coordinates niranjanpm 30 Oct 10:02
  Mouse Pointer Coordinates Sven Neumann 30 Oct 10:20
2009-10-30 10:02:19 UTC (about 15 years ago)
postings
1

Mouse Pointer Coordinates

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.

Sven Neumann
2009-10-30 10:20:03 UTC (about 15 years ago)

Mouse Pointer Coordinates

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