On 07 May 2002 10:27:31 +0200, Andre Bonhote wrote:
>
> Well, I was slightly to fast with my previous answer. It works, but it
> doesn't work as it should. When the button is pressed, it uses the
> pixmap, but not the background I defined in the Title. Please, see the
> following two screenshots which shows an Xterm with the important part
> of my RC. The second one shows the same window toggled.
>
> http://www.fvwm.ch/070502-101930.png
> http://www.fvwm.ch/070502-101944.png
Well, the problem is that title has no Toggle properties, only buttons,
your TitleStyle Toggled* lines have no effect (ToggledActive is even
incorrect).
So you should use another method to specify that a button has background
brashed_title_active.xpm and foreground button_brushed_active.xpm:
ButtonStyle 3 \
ToggledActiveUp Pixmap brashed_title_active.xpm
ToggledActiveDown Pixmap brashed_title_active.xpm
AddButtonStyle 3 \
ToggledActiveUp Pixmap button_brushed_active.xpm
ToggledActiveDown Pixmap button_brushed_active.xpm
I suggest to use the same AddButtonStyle method for non-toggled button
properties as well for consistency, instead of ButtonStyle. You may take a
look how it is done in fvwm-themes (any colors and buttons components).
I myself is not very happy that title has no Toggle properties (that would
not be really used, but passed to buttons with UseTitleStyle), I hope this
is improved in the future.
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 Tue May 07 2002 - 06:24:40 BST