Visual Parts Reference : Parts Reference : Scrolled Window : Scrolled Window attributes
Scrolled Window attributes
backgroundColor (String)
The backgroundColor attribute is the name of the RGB color for the background of the part.
borderWidth (Integer)
The borderWidth attribute is the width of the border, specified in pixels, that surrounds the part on all four sides. A width of zero means that a border does not show.
On some platforms, the border width is limited to 1 pixel and any nonzero value is set to 1.
clipBackgroundGraphicsDescriptor (Boolean)
The clipBackgroundGraphicsDescriptor attribute specifies whether the graphic that displays in the background of the window is clipped.
dragDropSpec (AbtDragDropSpec)
For more information on the dragDropSpec attribute, refer to Using the dragDropSpec attribute.
enabled (Boolean)
The enabled attribute specifies whether or not the part is available for selection. If true, the part's contents are available for selection.
foregroundColor (String)
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
framingSpec (AbtViewAttachmentConstraint)
The framingSpec attribute represents the values specified for the edge specifications of the part. The edge specifications determine the width, height, and position of the part.
helpFile (String)
The helpFile attribute is the name of the help file associated with the part.
helpKeysId (String)
The helpKeysId attribute is the ID of the keys help associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
helpTitle (String)
The helpTitle attribute is the title of the help window associated with the part.
helpTopicId (String)
The helpTopicId attribute is the ID of the help topic associated with the part. The ID can be a string or an integer value.
The ID must exist in the help file associated with the part.
hoverHelpEnabled (Boolean)
The hoverHelpEnabled attribute indicates whether you want hover help to be provided for this part and all of its children. The default is false.
mappedWhenManaged (Boolean)
The mappedWhenManaged attribute specifies whether the part should be shown. If the part is currently shown, setting this attribute to false will hide the part. If the part is currently hidden, setting this attribute to true will show the part, if the parent part is shown.
menu (AbtCwMenuView)
The menu attribute is the menu part to use as the part's menu bar or pop-up menu.
scrollBarDisplayPolicy (Integer)
The scrollBarDisplayPolicy attribute specifies the automatic placement of the scroll bars for the part. Possible values are:
XmSTATIC
Specifies that scroll bars are always displayed. This is the default.
XmAUTOMATIC
Specifies that scroll bars are displayed only when the size of the workspace exceeds the area in one or both dimensions. The scrollingPolicy attribute must be set to XmAUTOMATIC for this to occur.
scrollingPolicy (Integer)
The scrollingPolicy attribute determines when you want the window to scroll. You must set this attribute The scrollingPolicy attribute must be set before the part is created. Possible values are:
XmAUTOMATIC
Specifies you want scroll bars created automatically.
XmAPPLICATIONDEFINED
Specifies that you want the application to control all aspects of the scrolling actions, including the display of scroll bars.
self (<className>)
For more information on the self attribute, refer to Using the self attribute.
tabGroup (Boolean)
The tabGroup attribute specifies whether or not the part is included as a tab stop so users can use the Tab and Backtab keys to access the part.
traversalOn (Boolean)
The traversalOn attribute specifies whether users can access the part using the cursor movement keys. If the part is specified as a tab stop by using the tabGroup attribute, users also can use the Tab and Backtab keys to access the part.
visualPolicy (Integer)
The visualPolicy attribute specifies the size of the Scrolled Window part. You must set this attribute before the Scrolled Window part is created. Valid values are:
XmVARIABLE
Specifies that the work area grows or shrinks at any time and will adjust to the parts within it. This is the default value.
XmCONSTANT
Specifies that the work area grows and shrinks as requested, but a clipping area forces the size of the visible portion to remain constant. Only the parent of the Scrolled Window part can cause the clipping area to grow in size.
Note:
To create a cross-platform or portable application, do not depend on the clipping area for certain actions.
workView (AbtBasicView)
The workView attribute specifies the view to be displayed inside the Scrolled Window part. Make a connection from the self attribute of the view to the workView attribute of the Scrolled Window part.
Last modified date: 01/29/2015