1 CAPI Reference Entries

radio-button

Class

Summary

Aradio-button is a button that can be either selected or deselected, but when selecting it any other buttons in its group will be cleared.

Superclasses

button
titled-pane

Description

The classradio-button inherits most of its behavior frombutton. Note that it is normally best to use aradio-button-panel rather than make the individual buttons yourself, as thebutton-panel provides functionality for handling groups of buttons. However, radio buttons are provided in case you need to have more control over the button's behavior.

Example

(setq button (capi:contain
               (make-instance 'capi:radio-button
                              :text "Press Me")))

(setf (capi:button-selected button) t)

(setf (capi:button-selected button) nil)

(setf (capi:button-enabled button) nil)

(setf (capi:button-enabled button) t)

Example File

capi/elements/buttons.lisp

See Also

push-button
check-button
button-panel
radio-button-panel


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker