On June 27, 2002 at 10:05 +0000, Mikhael Goikhman wrote:
> 
> Theoretically currently you can't apply Style to only one window,
> but practically you may get acceptable results. Add "$n":
> 
>   + "Skip this window when using (Alt-Tab)" Current Style $n CirculateSkip
> 
Thanks. The lines.
DestroyMenu windowops
AddToMenu windowops "Window menu"     Title
 -------------------------------<snip>-------------------------------
 + "Enable  (Alt-Tab)%mini.keyboard.xpm%" Current Style $n CirculateHit
 + "Disable (Alt-Tab)%mini.keyboard.xpm%" Current Style $n CirculateSkip
 -------------------------------<snip>------------------------------- 
do what I want. I will see how it  goes  if  there  are  more  windows
having  the  same  name. But for the moment it does exactly what I was
looking for. 
 
Thanks for the hint.
> > I would like to do same with other styles like Foreground, Background,
> > Hilight*, ...  
> 
> Please use colorsets instead. Then you just change colorset dynamically
> without a need to change any Style.
I use colorsets. The problem with colorsets is that you need to define
them  before  you can use them. For example if you want one particular
window to appear in red color and  another  one  to  appear  in  green
colorsets  might be not that suitable, since you need one colorset for
each color you want to use. 
Uwe
-- 
+--------------------------------------------------
| Uwe Pross 
| mail : mailto:uwe.pross_at_e-technik.tu-chemnitz.de
| www  : http://www.tu-chemnitz.de/~uwp
+--------------------------------------------------
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jun 27 2002 - 06:12:28 BST