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

Single Page

Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ)
Previous Document: 6. Why do only Shell widgets have a Visual?
Next Document: 8. I've done all the above and I still get a BadMatch error. Why?


7. Which visual, depth and colormap do Shells inherit?


----------------------------------------------------------------------

The default value for these resources are set to CopyFromParent.  This
is interpreted as the DefaultColormapOfScreen(), DefaultDepthOfScreen()
and the default visual of the screen if the widget has no parent -- i.e.
it is an applicationShellWidgetClass and the root of your widget tree.

If the parent of the widget is not null, then the shell copies
colormap and depth from its parent and uses CopyFromParent as the
visual.



Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ)
Previous Document: 6. Why do only Shell widgets have a Visual?
Next Document: 8. I've done all the above and I still get a BadMatch error. Why?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
ware@cis.ohio-state.edu

Last Update October 23 2009 @ 09:20 AM

Some parts © 2009 Advameg, Inc.