1 CAPI Reference Entries
radio-buttonis a button that can be either selected or deselected, but when selecting it any other buttons in its group will be cleared.
radio-buttoninherits most of its behavior from
button. Note that it is normally best to use a
radio-button-panelrather than make the individual buttons yourself, as the
button-panelprovides functionality for handling groups of buttons. However, radio buttons are provided in case you need to have more control over the button's behavior.
(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)
Generated with Harlequin WebMaker