
3.5 Miscellaneous button elements
check-button element.
(setq check (make-instance 'check-button
:selection-callback 'hello
:retract-callback 'test-callback
:text "Button"))
(contain check)

Figure 3.5 A check button
Notice the use of:retract-callback in the example above, to specify a callback when the element is deselected.
Like push buttons, check buttons can be disabled by specifying:enabled nil.

Generated with Harlequin WebMaker