[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Guide



ScrolledText

ScrolledText is a Text widget inside a ScrolledWindow. The application can use XmCreateScrolledText to create a Text widget inside a ScrolledWindow. This routine creates Text and ScrolledWindow widgets, and forces the following initial values for ScrolledWindow resources:

  1. XmNscrollingPolicy is set to XmAPPLICATION_DEFINED.

  2. XmNvisualPolicy is set to XmVARIABLE.

  3. XmNscrollBarDisplayPolicy is set to XmSTATIC.

  4. XmNshadowThickness is set to 0.

    Note that the XmCreateScrolledText function returns the widget ID of the created Text widget. An application can then use XtParent to get the widget ID of the ScrolledWindow.


  5. [ Previous | Next | Contents | Glossary | Home | Search ]