Thanks mikhael.
I think AllActive syntax is a little confusing since intuitively
All + Active = All Active.
but then, it might be just me and my senses.
dheeraj
On Tue, Oct 21, 2003 at 18:16:53 +0300, Mikhael Goikhman wrote:
> On 21 Oct 2003 09:26:15 -0400, Dheeraj Reddy wrote:
> >
> > I am wondering what the difference is between the following two ?
> > The first one gives me the desired result but the second one doesn;t.
> >
> >
> > #####################################
> > ButtonStyle 1 Active (VGradient 64 rgb:5a/6d/c5 rgb:4a/59/a5) \
> > Inactive (VGradient 64 rgb:93/a1/a8 rgb:7c/8c/93) \
> > (-- flat)
> > AddButtonStyle 1 Pixmap iconify.xbm
> > ButtonStyle 2 Active (VGradient 64 rgb:5a/6d/c5 rgb:4a/59/a5) \
> > Inactive (VGradient 64 rgb:93/a1/a8 rgb:7c/8c/93) \
> > (-- flat)
> > AddButtonStyle 2 Pixmap close.xbm
> > ButtonStyle 4 Active (VGradient 64 rgb:5a/6d/c5 rgb:4a/59/a5) \
> > Inactive (VGradient 64 rgb:93/a1/a8 rgb:7c/8c/93) \
> > (-- flat)
> > AddButtonStyle 4 Pixmap max.xbm
> > #####################################
> >
> > AND
> >
> > ##########################################
> > #ButtonStyle 1 Pixmap iconify.xbm
> > #ButtonStyle 2 Pixmap close.xbm
> > #ButtonStyle 4 Pixmap max.xbm
> > #AddButtonStyle AllActive (VGradient 64 rgb:5a/6d/c5 rgb:4a/59/a5) \
> > # AllInactive (VGradient 64 rgb:93/a1/a8 rgb:7c/8c/93) \
> > #AddButtonStyle All -- Flat
> > ##########################################
>
> VGradient is destructive style and Pixmap is partially destructive,
> so the order of applying both using AddButtonStyle matters.
>
> Also ButtonStyle or AddButtonStyle require the button number or "All",
> so your second example is incorrect (it misses "All").
>
> Also I suppose you use 2.5.x, because 2.4.x does not have shortcuts
> AllActive/AllInactive.
>
> The correct config for 2.5.x would be:
>
> ButtonStyle All \
> AllActive (VGradient 64 rgb:5a/6d/c5 rgb:4a/59/a5 -- flat) \
> AllInactive (VGradient 64 rgb:93/a1/a8 rgb:7c/8c/93 -- flat)
> AddButtonStyle 1 Pixmap iconify.xbm
> AddButtonStyle 2 Pixmap close.xbm
> AddButtonStyle 4 Pixmap max.xbm
>
> If you need more correct examples, take a look at fvwm-themes configs.
>
> Regards,
> Mikhael.
--
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 Wed Oct 22 2003 - 03:18:53 BST