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