Re: FVWM: Widget fg color

2008-02-27 Thread Ingo Wardinski
[ On Wednesday, February 27, 2008 at 07:18:30 (-0700), Jaimos Skriletz wrote: ]
 Subject: Re: FVWM: Widget fg color
[snip]
 
 notice that the script isn't striping out any spaces, the reason it
 can't find that color is because you have additional spaces. when it
 tries to find the color  orange  in the list it can't match it to
 anything. 
 
 What you want is ForeColor {orange}

Exactly!! Thank you!!
ingo






Re: FVWM: Widget fg color

2008-02-27 Thread Jaimos Skriletz
On Wed, Feb 27, 2008 at 02:40:44PM +0100, Ingo Wardinski wrote:
 Hi all,
 I try to set a widget foreground color to differ from the default, i.e. 
 
 WindowTitle {Weather_applet}
 WindowSize  210 210
 WindowPosition1038 634
 Colorset12
 Widget  1
 Property
 TypeItemDraw
 Size100 15
 Position71 82
 Fontshadow=0 se:xft:sans:size=7:antialias=True
 Flags   NoFocus NoReliefString Left
 ForeColor   { orange }
 Main
 Case message of
   SingleClic:
   Begin
   Quit
   End
 End
 where the default is defined by coloset 9 
 Colorset 9 fg #ff, bg #f1eee0, hi #f1eee0, sh #f1eee0, fgsh #f1eee0, Tint 
 black 35, RootTransparent
 
 However, fvwm(-2.5.23) is complaining: Cannot parse color  orange 
 What does that mean, and more generally, how can I set up a widget fg
 color differently from the default? 

notice that the script isn't striping out any spaces, the reason it can't find 
that color is because you have additional spaces. when it tries to find the 
color  orange  in the list it can't match it to anything.

What you want is ForeColor {orange}

jaimos