(push (widget-create-child-and-convert
widget 'visibility
:help-echo "Show the value of this option."
+ :off "Show Value"
:action 'custom-toggle-parent
nil)
buttons))
(push (widget-create-child-and-convert
widget 'visibility
:help-echo "Hide the value of this option."
+ :on "Hide Value"
+ :off "Show Value"
:action 'custom-toggle-parent
t)
buttons)
(push (widget-create-child-and-convert
widget 'visibility
:help-echo "Hide the value of this option."
+ :on "Hide Value"
+ :off "Show Value"
:action 'custom-toggle-parent
t)
buttons)
;; this anyway. The doc string widget should be added like the others.
;; --dv
(widget-put widget :buttons buttons)
+ (insert "\n")
;; Insert documentation.
(widget-default-format-handler widget ?h)
(push (widget-create-child-and-convert
widget 'visibility
:help-echo "Hide or show this face."
+ :on "Hide Face"
+ :off "Show Face"
:action 'custom-toggle-parent
(not (eq state 'hidden)))
buttons)