[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 71) Can a non-shell Motif widget have a different visual type from
Next Document: 73) How do I popup a scrolled list on top of other widgets?


72) Why do I get BadMatch errors from my menus when I use a non-


default visual type for my application shell?
[Last modified: Sept 95]

Answer: Unfortunately, the visual type and depth attributes are copied
differently from parent to child.  To be safe you use non-default visuals on
any of your widgets and use these as parents for shell widgets (including
menus), you should set the visual type, depth, and colormap on the child
shells.

Ken Lee



Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 71) Can a non-shell Motif widget have a different visual type from
Next Document: 73) How do I popup a scrolled list on top of other widgets?

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 October 07 2008 @ 00:12 AM

© 2008 FAQS.ORG. All rights reserved.