On Thu, Jul 13, 2006 at 02:18:41PM +0300, Andrei Popov wrote:
> Thanks  for your response, Thomas.
>
> > Will the grouping look similar to how
> >
> >> gnome-panel implements it? Can anyone post a config snippet and/or
> >> a
> >
> > How does gnome-panel implement its grouping?
>
> It groups similar windows into one item on the panel, and when you
> click it a menu pops up allowing you to select the window you need. I
> wonder if FvwmIconMan could do the same.

It is conceivable that you could do something like this using
FvwmIconMan via SendToModule.  Theoretical example:

DestroyModuleConfig FE: *
*FE: add_window FvwmFuncCheckWindow

Module FvwmEvent FE

DestroyFunc FvwmFuncCheckWindow
AddToFunc   FvwmFuncCheckWindow
+ I None ($[w.class], CurrentDesk) SendToModule FvwmIconMan Show
resouce=$[w.class]
+ I TestRc (NoMatch) SendToModule FvwmIconMan DontShow class=$[w.class]

... And then somewhere in your FvwmIconMan config, your actions called
FvwmWinList, or something to select other windows with the same class.

The above won't work -- it's just a theoretical example.  And whilst
it's conceivable that myself or someone else could patch FvwmIconMan to
accept more options via SendToModule, ultimately the feature should be
built into it, rather than going through the elaborate method you see
above.

So it's not currently possible.

> >> screenshot?
> >
> > Have a look here: http://fvwm.lair.be/viewforum.php?f=39 ... Almost
> > all the configs there have some form of FvwmButtons with FvwmIconMan
> > in it.
>
> Yes, I also use FvwmButtons with FvwmIconMan in it... And I did search
> the forum using "grouping" and similar as keywords. Nothing found so
> far...
>
> -- WBR, Andrei Popov
>
> Using FVWM 2.5.16 on Debian GNU/Linux
>
>

-- Thomas Adam

-- 
"If I were a witch's hat, sitting on her head like a paraffin stove, I'd
fly away and be a bat." -- Incredible String Band.

Reply via email to