[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 133) TOPIC: TOGGLEBUTTON WIDGET
Next Document: 135) Can I customize XmToggleButton to use my own indicator graphic
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 133) TOPIC: TOGGLEBUTTON WIDGET
Next Document: 135) Can I customize XmToggleButton to use my own indicator graphic
134) What widgets give the look of push buttons, but behavior of
toggle buttons? Answer: Use the XmToggleButton widget, setting XmNindicatorOn to False and XmNshadowThickness to 2. Also set XmNfillOnSelect to True. Otherwise, the background color of the button will not stay in the "armed" state. In Motif 1.2 (and later), if you specify a XmNselectColor and set XmNindicatorOn to False, then you need to set XmNfillOnSelect to True. XmNfillOnSelect is not necessary if you are not setting a XmNselectColor. Glenn McMillen, mcmillen@meadow.mdso.vf.ge.com and Ken Lee
Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 133) TOPIC: TOGGLEBUTTON WIDGET
Next Document: 135) Can I customize XmToggleButton to use my own indicator graphic
Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)
Last Update July 25 2008 @ 00:12 AM