Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

unset the first button?

button unset
0
Posted

unset the first button?

0

[Last modified: Jun 98] 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. Note that some people have reported that XmNmenuHistory correctly sets the toggle state but the toggle is not always redrawn to show the new state. This is a bug in their implementation of Motif. If you cannot get a patch, you should use the XmToggleButtonSetState() method.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.