[ By Archive-name | By Author | By Category | By Newsgroup ]
[ Home | Latest Updates | Archive Stats | Search | Usenet References | Help ]

    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


[ By Archive-name | By Author | By Category | By Newsgroup ]
[ Home | Latest Updates | Archive Stats | Search | Usenet References | Help ]


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

Last Update July 09 2008 @ 00:12 AM

© 2008 FAQS.ORG. All rights reserved.