Top Document: Motif FAQ (Part 6 of 9) Previous Document: 165) How can I programatically scroll a XmScrolledWindow in Next Document: 167) How do I create a scrolled window with only one scrollbar? See reader questions & answers on this topic! - Help others by sharing your knowledge [Last modified: Apr 98] Answer: In Motif 1.2, if the XmScrolledWindow is using the XmAUTOMATIC scrolling policy, it automatically creates an XmDrawingArea widget as its clip window. If you wish, you can retrieve the XmDrawingArea's widget ID by using XtGetValues on the XmNclipWindow resource and then set resources on that widget. Some useful resources are XmNbackground and XmNresizeCallback. Note that Motif 2.X uses a new XmClipWindow widget instead of the XmDrawingArea. Since XmClipWindow is subclassed from XmDrawingArea, the above resources should still work. Ken Lee User Contributions:Top Document: Motif FAQ (Part 6 of 9) Previous Document: 165) How can I programatically scroll a XmScrolledWindow in Next Document: 167) How do I create a scrolled window with only one scrollbar? 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 March 27 2014 @ 02:11 PM
|
Comment about this article, ask questions, or add new information about this topic: