Re: gtk_window wmclass_name



On Wed, Mar 26, 2003 at 11:33:35AM +0800, James Henstridge wrote:
> Havoc Pennington wrote:
> 
> >The tasklist is grouping on the basis of the group leader window,
> >which is a concept not exposed in the GTK API that ends up
> >corresponding to "a single process" for GTK.
> >
> Doesn't GTK expose this through the GtkWindowGroup object?
> 

At the moment, GtkWindowGroup only affects which windows are "modal
shadowed" by a modal dialog. One API question for how to expose the
concept of "group leader" is whether to use GtkWindowGroup or not.

The group leader should map to something that is "an application" to
the user (toplevel window with transients?). However, this concept is
muddied if you have something like GIMP where all toplevels share the
same transients. Also, sometimes people are using modality for UI
reasons (in which case you'd only want to grab shadow part of the
app), and sometimes they're using it because they are lazy and don't
want to make their code fully reentrant (in which case having to use
GtkWindowGroup to fix the window list grouping might introduce bugs).

Anyhow, needs thinking through.

Havoc




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