Top Document: Motif FAQ (Part 6 of 9) Previous Document: 174) How can I change the cascade indicator on an option menu? Next Document: 176) Can I place a radio box in a pulldown menu? See reader questions & answers on this topic! - Help others by sharing your knowledge 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: 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. Ken Lee User Contributions:Top Document: Motif FAQ (Part 6 of 9) Previous Document: 174) How can I change the cascade indicator on an option menu? Next Document: 176) Can I place a radio box in a pulldown menu? Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: kenton@rahul.net (Ken Lee)
Last Update March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: