Tool Button events
aboutToCloseWidget
The aboutToCloseWidget event signals that the part is about to be closed.
If you need to perform any actions just before the window closes, connect the aboutToCloseWidget event of the Window part to an action in your part.
aboutToMapWidget
The aboutToMapWidget event signals that the part is about to be shown on the screen. If you need to take any actions or set any visual attributes on the part before it is shown, connect to this event. If you hide and show the part rather than closing and opening it (typically for performance reasons), you can use this event to refresh the part data before it appears.
aboutToOpenWidget
The aboutToOpenWidget event signals that the part is about to be opened. This event is signaled just before the part is displayed on the screen.
If you need to perform any actions just before the window opens, connect the aboutToOpenWidget event of the Window part to an action in your part.
aboutToUnmapWidget
The aboutToUnmapWidget event signals that the part is about to be hidden.
buttonType
A buttonType event signals that the type of button being used has changed. Valid values are:
•XmCHECKBUTTON
•XmPUSHBUTTON
•XmRADIOBUTTON
clicked
The clicked event signals that the part has been selected. You use the clicked event to have a push button or menu choice work. Simply connect the clicked event of the push button or menu choice to an action of another part.
For example, connect the clicked event to the openWidget action of a window. Then, when the user selects the push button, the window is displayed.
closedWidget
The closedWidget event signals that the part has been closed.
configuredWidget
The configuredWidget event signals that the part has been moved or resized.
destroyPart
The destroyPart event indicates the part and its children have been destroyed and all associated resources have been released.
dragDropSpec
For more information on the
dragDropSpec event, refer to
***.
enabled
The enabled event signals that the part is available for selection.
graphicsDescriptor
A graphicsDescriptor event signals the part that an icon, bitmap, or image is being used, instead of text, for the label.
helpFile
A helpFile event indicates that a signal is sent to the part that the help file associated with the part has changed
helpKeysId
A helpKeysId event indicates that the ID of the keys, help has associated with the part, has changed. The ID can be a string or an integer value.
helpRequested
The helpRequested event signals that help has been requested. You can connect the helpRequested event to an action that displays your own help, such as a message box. If the action you connect this event to does not return nil, default help processing occurs, using the specified help file and help topic.
helpTitle
A helpTitle event signals the part that the title of the help window associated with that part has changed
helpTopicId
The helpTopicId event signals a change in the ID of the help topic associated with the part. The ID can be a string or an integer.
mappedWhenManaged
The mappedWhenManaged event signals the part to be visible if the mappedWhenManaged attribute has been set to true.
mappedWidget
The mappedWidget event signals that the part has been shown on the screen.
menu
A menu event signals that a change in which menu part to use, as the parts menu bar or pop-up menu, has occurred.
openedWidget
The openedWidget event signals that the part has been opened and displayed on the screen.
self
A self event indicates that the value of the target part itself has changed.
set
A set event signals that the tool button is in its selected state.
toolTipText
A toolTipText event signals the text to be displayed in the hover help for the part.
unmappedWidget
The unmappedWidget event signals that the part is about to be hidden.
Last modified date: 01/29/2015