Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "177) How can I determine the item selected in a a radio box or"
Next document is "179) Can I place a radio box in a pulldown menu?"

178) How do I unset an XmToggleButton in a radio box? If a radio-

mode toggle button is set and I XtSetValues XmNset a different toggle button,
the first radio button is not automatically unset.  How do can I automatically
unset the first button?

[Last modified: Mar 96]

Answer:  There are two easy ways to do this.  First, you can set the toggle
with  XmNmenuHistory on the radio box instead of XmNset on the toggle button.
Second, you can use XmToggleButtonSetState() with True for the notify
argument.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "177) How can I determine the item selected in a a radio box or"
Next document is "179) Can I place a radio box in a pulldown menu?"