Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "169) How can I programatically scroll a XmScrolledWindow in"
Next document is "171) How do I create a scrolled window with only one scrollbar?"

170) What widget does the XmScrolledWindow use for its clip window?

[Last modified: Aug 97]

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.  The above technique may not work.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "169) How can I programatically scroll a XmScrolledWindow in"
Next document is "171) How do I create a scrolled window with only one scrollbar?"