Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What widget does the XmScrolledWindow use for its clip window?

0
Posted

What widget does the XmScrolledWindow use for its clip window?

0

[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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123