The Toggle Button is a simple widget which provides the means of displaying and retrieving simple boolean valued choices.
Toggle buttons are derived from the Label widget and thus share the same resource panel.
If placed in a RadioBox widget, a Toggle button provides a one-of-many choice (only one of the Toggle buttons within the RadioBox may be set at any time). Otherwise, Toggle buttons are used to provide N-of-many choices. For example, a RowColumn containing many Toggle buttons can have each of the toggles set independently.
An empty indicator means that the Toggle button is unset, a filled indicator shows that it is set.
A Toggle button may be either a widget or a gadget; Toggle buttons in a radio box are always gadgets.
NOTES
For more information, consult XmToggleButton(3X) or XmToggleButtonGadget(3X) in the OSF/Motif Programmer's Reference Manual.
See also: