Tool Button attributes
buttonType (Integer)
The buttonType attribute specifies the type of button the part represents. Valid values are:
o XmCHECKBUTTON
o XmPUSHBUTTON
o XmRADIOBUTTON
dragDropSpec (AbtDragDropSpec)
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.
graphicsDescriptor (AbtGraphicsDescriptor)
The graphicsDescriptor attribute is an icon, bitmap, or image that is used instead of text for the label. The labelType attribute must be XmPIXMAP or the graphicsDescriptor attribute is ignored.
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.
labelString (String)
The labelString attribute is the label of the part in string form.
For example, to dynamically display the string format of a number value, do the following:
a. Define the label with the Number data type.
b. Assign a value to the label.
c. Connect the labelString attribute to this label.
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.
self (<className>)
set (Boolean)
The set attribute indicates whether the Tool Button is in its selected state. This attribute is used only if the buttonType attribute is set to 'XmCHECKBUTTON' or 'XmRADIOBUTTON'.
toolTipText
The toolTipText attribute specifies the text that is displayed when the mouse pointer is positioned over the control. (This capability is similar to the hover help capability provided by other VA Smalltalk parts.)
Last modified date: 01/29/2015