|
Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ) Previous Document: 5. Which visual should an application use? Next Document: 7. Which visual, depth and colormap do Shells inherit? See reader questions & answers on this topic! - Help others by sharing your knowledge ---------------------------------------------------------------------- This is strictly by convention. It makes it possible for an arbitrary widget to know that the visual it uses can be found by looking for the shell widget that is its ancestor and obtaining the visual of that shell. A widget can have its own visual resource. If it does, it must have its own realize method to use the visual when it calls XCreateWindow(). You should also make this a resource that can be obtained with XtGetValues() so other widgets can find it. A reasonable value is probably XtNvisual. User Contributions:Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ) Previous Document: 5. Which visual should an application use? Next Document: 7. Which visual, depth and colormap do Shells inherit? Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: ware@cis.ohio-state.edu
Last Update March 27 2014 @ 02:11 PM
|

Comment about this article, ask questions, or add new information about this topic: