GNU Info

Info Node: (widget)toggle

(widget)toggle


Next: checkbox Prev: choice-item Up: Basic Types
Enter node , (file) or (file)node

The `toggle' Widget
-------------------

   Syntax:

     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:

`:on'
     A string representing the `on' state.  By default the string `on'.

`:off'
     A string representing the `off' state.  By default the string
     `off'.

`:on-glyph'
     Name of a glyph to be used instead of the `:on' text string, on
     emacsen that supports this.

`:off-glyph'
     Name of a glyph to be used instead of the `:off' text string, on
     emacsen that supports this.


automatically generated by info2www version 1.2.2.9