J-P. Rosen wrote:
>"I have a picture of a red button and a picture of a green button in XPM
format.
>I want to display sometimes red, sometimes green".
Perhaps you could use a normal toggle button and put something like
this in the resource file?
style "toggle_button" =
{
fg[NORMAL] = {1, 0, 0}
fg[ACTIVE] = {0, 1, 0}
}
Manuel