[ 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: 134) What widgets give the look of push buttons, but behavior of
Next Document: 136) TOPIC: ICON WIDGET and PIXMAPS
-
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: 134) What widgets give the look of push buttons, but behavior of
Next Document: 136) TOPIC: ICON WIDGET and PIXMAPS
135) Can I customize XmToggleButton to use my own indicator graphic
(e.g., a check mark)? [Last modified: Nov 96] Answer: There is no direct resource for the graphic. One way to work around this is to disable the indicator (XmNindicatorOn False) and then install selected/unselected pixmaps containing both your graphic and your text (XmNselectPixmap and XmNselectPixmap). Also disable the button shadows (XmNshadowThickness 0) if you don't want those. Ken Lee
Top Document: Motif FAQ (Part 5 of 9)
Previous Document: 134) What widgets give the look of push buttons, but behavior of
Next Document: 136) TOPIC: ICON WIDGET and PIXMAPS
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 24 2008 @ 00:14 AM