Next: checkbox, Previous: choice-item, Up: Basic Types [Contents]
toggle WidgetSyntax:
TYPE ::= (toggle [KEYWORD ARGUMENT]...)
The widget has two possible states, ‘on’ and ‘off’, which correspond to
a t or nil value respectively.
The following extra properties are recognized.
:onString representing the ‘on’ state. By default the string ‘on’.
:offString representing the ‘off’ state. By default the string ‘off’.
:on-glyphName of a glyph to be used instead of the ‘:on’ text string, on emacsen that supports it.
:off-glyphName of a glyph to be used instead of the ‘:off’ text string, on emacsen that supports it.