Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "80) How can I create a shell widget with a non-default visual type?"
Next document is "82) Why do I get BadMatch errors from my menus when I use a non-"
81) Can a non-shell Motif widget have a different visual type from
its parent?
[Last modified: May 97]
Answer: None of the standard Motif widgets support this. You can, however,
write your own subclasses that have different visual types. You'll have to
override the Realize method in your subclass. Becareful to set the colormap
and depth properly to match your visual type.
Ken Lee, http://www.rahul.net/kenton/
Parent document is top of "Motif FAQ (Part 4 of 9)"
Previous document is "80) How can I create a shell widget with a non-default visual type?"
Next document is "82) Why do I get BadMatch errors from my menus when I use a non-"