Re: GTK+ and Gimp



On Sat, Jan 24, 2009 at 3:51 PM, Paul Davis <paul linuxaudiosystems com> wrote:
> Well, basically it's just a bug - let's say you have three images open and
> you enabled transient utility windows. currently when you minimize an image
> to the taskbar, the utility windows all minimize with - although there
> are still two images that are not minimized and are visible on the desktop.
> Also, the utility windows never return, even after you un-minimize the
> first image.

GTK+ provides APIs to check, change, and respond to changes to the
"iconified" or "minimized" state of a top level window. Please forgive
the use of the PyGTK docs, but here is the relevant info:

http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#signal-gtkwidget--window-state-event
http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--iconify

It shouldn't be very hard to write a GIMP plugin that will hook into
the "window-state-event" for each editor window and keep your windows
arranged however you like.

Oh, in the mean time, you can also try hitting the Tab key when you
have an image window activated.

--
http://codebad.com/


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