[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Single Page
Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ)
Previous Document: 10. How do I exit but still execute the DestroyCallbacks?
Next Document: 12. Why can't XtAppAddInput() handle files?
-
Search the FAQ Archives
Single Page
Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ)
Previous Document: 10. How do I exit but still execute the DestroyCallbacks?
Next Document: 12. Why can't XtAppAddInput() handle files?
11. How do I resize a Shell widget?
---------------------------------------------------------------------- After it is realized, one doesn't resize a Shell widget. The proper thing is to resize the currently managed child of the Shell widget using XtSetValues(). The geometry change is then propagated to the Shell which asks the window manager which may or may not allow the request. However, the Shell must have the resource XtNallowShellResize set to True otherwise it will not even ask the window manager to grant the request and the Shell will not resize. To change the position of a Shell, use XtSetValues() on the Shell, not the child, and within the limits of the window manager it should be granted.
Top Document: comp.windows.x.intrinsics Frequently Asked Questions (FAQ)
Previous Document: 10. How do I exit but still execute the DestroyCallbacks?
Next Document: 12. Why can't XtAppAddInput() handle files?
Single Page
[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
ware@cis.ohio-state.edu
Last Update July 24 2008 @ 00:12 AM