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

Grabbing mouse events from the Gimp

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.

Grabbing mouse events from the Gimp Michael Strorm 12 Apr 12:04
  Grabbing mouse events from the Gimp Sven Neumann 12 Apr 13:55
Michael Strorm
2003-04-12 12:04:18 UTC (about 21 years ago)

Grabbing mouse events from the Gimp

Hi,
I asked this question previously on the gimp-user mailing list, and it was suggested I might have more luck here....

I'm developing a line-tracing application using Gimp and some custom plugins as the basis of the package. What I'd really like to be able to do is use the Gimp interface as well, so that (preferably) an appliaction external to gimp will be able to capture mouse events ('draw line', 'fill at x, y' etc) from Gimp and use them for processing.
Is there a simple way to achieve this? I don't have enough time to rewrite parts of the Gimp app itself, and I'm really looking for a simple way. Perhaps it might have to be done from a plug-in, but that's starting to get convuluted, and the user needs to be able to use most of the Gimp operations as normal while this is going on... Am I asking too much in either of these cases?

Apologies if I've overlooked anything obvious... time was kind of short. :-/

- Michael Strorm

___

Sven Neumann
2003-04-12 13:55:58 UTC (about 21 years ago)

Grabbing mouse events from the Gimp

Hi,

Michael Strorm writes:

I'm developing a line-tracing application using Gimp and some custom plugins as the basis of the package. What I'd really like to be able to do is use the Gimp interface as well, so that (preferably) an appliaction external to gimp will be able to capture mouse events ('draw line', 'fill at x, y' etc) from Gimp and use them for processing.
Is there a simple way to achieve this? I don't have enough time to rewrite parts of the Gimp app itself, and I'm really looking for a simple way.

the short answer is no, there is no simple way of achieving this and there is not even a hard way (apart from hacking around in the GIMP code itself).

Salut, Sven