I just had a thought (don't everyone cringe at once)... You could change the text on the button programmatically using property nodes and then when the button was pressed, read the button text to see which "state" it was in. A little clunky but it should work.
There are other, better ways of doing this, but I think that this is a
"workable" solution. By building a typedef list of texts for the
button, you could change it quite easily. I may try this just to see
how it works.
Rob
