The XmNscrollHorizontal resource controls whether or not a horizontal ScrollBar is displayed. If the resource
is set to False, the ScrollBar is not displayed, but that does not stop text from being displayed beyond the visible
area. In order to have text wrap appropriately, the XmNwordWrap resource must be set to True. When this resource
is set, the Text widget breaks lines at spaces, tabs, and newlines. While line breaking is fine for previewing files and
other output−only Text widgets, you should not enforce such a policy for Text widgets that are used for text editing,
as the user may want to edit wide files.
The XmNscrollVertical resource controls whether or not a vertical ScrollBar is displayed. This resource
defaults to True when a Text widget is created as a child of a ScrolledWindow. The XmNscrollLeftSide and
XmNscrollTopSide resources take Boolean values that control the location of the ScrollBars within the
ScrolledWindow. By default, XmNscrollTopSide is set to False, which causes the ScrollBar to be placed below
the ScrolledWindow. The default value of XmNscrollLeftSide depends upon the value of
XmNstringDirection. These two resources should not be set by the application, but left to users to specify
themselves. The XmNresizeWidth and XmNresizeHeight resources control whether or not a Text widget
should resize itself vertically or horizontally in order to display the entire text stream. Both of the resources default to
False. If XmNresizeWidth is set to True and new text is added ...