I want to have a button in a FvwmButton bar that displays a state dependent pixmap. For instance I often change my keyboard layout or switch my ISDN b-channel on and off. So I want buttons that indicate the different stated by displaying distinct pixmaps.

The only thing I can think of is to write a tcl/tk script and have FvwmButtons swollow that app.

Any ideas on how to accomplish this without coding? I've been digging through the manpage but didn't come up with anything useful.