Next: ScrollBar Widgets Up: ScrolledWindow and ScrollBar Widgets Previous: ScrolledWindow and ScrollBar Widgets

ScrolledWindow Widgets

If we have to we can create a Scrolled widget with XtVaCreateManagedWidget() with the xmScrolledWindowWidgetClass pointer or with XmCreateScrolledWindow.

Associated definitions etc. are included in <Xm/ScrolledW.h>.

Useful resources include:

XmNhorizontal, XmNvertical
- ID's of scrolling widgets .
XmNscrollingPolicy
- XmAUTOMATIC or XmAPPLICATION_DEFINED. If automatic then scrolling taken care of otherwise application must create and control XmScrollBar widgets itself.
XmNscrolBarDisplayPolicy
- XmAS_NEEDED or XmSTATIC, as with List Scrolling.

XmNvisualPolicy
- XmCONSTANT or XmVARIABLE. If constant then scrolled window cannot resize itself.
XmNworkWindow
- The widget to be scrolled.


Dave.Marshall@cm.cf.ac.uk
Tue May 24 16:52:56 BST 1994