[ Usenet FAQs | 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: 70) How can I create a shell widget with a non-default visual type?
Next Document: 72) Why do I get BadMatch errors from my menus when I use a non-


71) 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



Top Document: Motif FAQ (Part 4 of 9)
Previous Document: 70) How can I create a shell widget with a non-default visual type?
Next Document: 72) Why do I get BadMatch errors from my menus when I use a non-

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 October 22 2009 @ 05:27 AM

Some parts © 2009 Advameg, Inc.