Next: checkbox, Previous: choice-item, Up: Basic Types [Contents][Index]
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:
:onA string representing the ‘on’ state. By default the string ‘on’.
:offA string 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 this.
:off-glyphName of a glyph to be used instead of the ‘:off’ text string, on emacsen that supports this.