Spin 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.
activated
The activated event signals that the spinning action has been activated.
attributeName
The attributeName event signals the part that the name of the attribute within the collection of items is displayed in the part.
backgroundColor
The backgroundColor event signals the part that the background color has changed.
borderWidth
The borderWidth event signals the part that the width of the border, specified in pixels, has changed.
closedWidget
The closedWidget event signals that the part has been closed.
configuredWidget
The configuredWidget event signals that the part has been moved or resized.
converter
The converter event signals certain visual parts that a change in the data type, being utilized to manage the conversion of other objects to and from the display format, has occurred. Possible data types are: Boolean, Character, Composite, Date, DBCS only, Decimal, Float, Integer, Monetary Amount, Number, Social Security Number, String, Text, Text List, Time, Time Date, Timestamp, USA State and Zip Code.
decremented
The decremented event signals that the values in the spin button field have been reduced in value.
defaultActionRequested
The defaultActionRequested event signals that the user pressed the line feed key (typically the Enter key) while the part had the focus or the user double-clicked mouse button 1 on a part.
destroyedPart
The destroyedPart event signals that the part and its children have been destroyed. Any system resources associated with the destroyed parts 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.
entryString
An entryString event signals that the string displayed in the entry field of the target part has changed.
fontName
The fontName event signals the part which font to use for the text displayed in the part.
foregroundColor
The foregroundColor event signals the part the name of the RGB color, to use, for the foreground of the part.
framingSpec
The framingSpec event signals the part that the edge specifications for the part have changed. The edge specifications determine the width, height, and position of the part.
gettingFocus
The gettingFocus event signals that the part is getting focus, or becoming active. If the part has focus, keyboard input is enabled.
The gettingFocus event acts differently depending on which part is receiving the event. For example, if you connect the gettingFocus event to a Window part, the window will come to the foreground and be the active window. Also, if you connect the gettingFocus event to a Text part in a window, the cursor is moved to this field.
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.
incremented
The incremented event signals that the values in the spin button field have increased in value.
items
An items event signals that the collection of items to display in the part has changed.
itemType
An event of itemType signals a change in the type of values that appear in the spin button part has occurred. Possible values are:
XmSBSTRING
Displays items in the spin button as strings. This is the default value.
XmSBNUMERIC
Displays items in the spin button as integers.
losingFocus
The losingFocus event signals that the part is losing focus. If the part does not have focus, keyboard input is not accepted.
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.
maximum
A maximum event indicates that the maximum value for the spin button part has changed.
minimum
A minimum event signals the part that the minimum value of the spin button part has changed.
numericalSpinInterval
A numericalSpinInterval event signals the part to increase or decrease the numeric spin button, by the amount specified, when the corresponding arrow is selected.
object
An object event signals the part that the data the part represents has changed.
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.
tabGroup
A tabGroup event signals the part that it is included as a tab stop and can be accessed via the Tab or Backtab keys
traversalOn
The traversalOn property 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 property, users also can use the Tab and Backtab keys to access the part.
unmappedWidget
The unmappedWidget event signals that the part is about to be hidden.
wrapAround
A wrapAround event signals a change in the minimum and/or maximum values of the spin button part. Spinning up from maximum value will set the new value to the minimum value and spinning down from minimum value will set the new value to the maximum value.