1 CAPI Reference Entries

radio-button-panel

Class

Summary

Aradio-button-panel is a pane containing a group of buttons of which only one can be selected at any time.

Superclasses

button-panel

Description

The classradio-button-panel inherits all of its behavior frombutton-panel, which itself inherits most of its behavior fromchoice. Thus, the radio button panel can accept items, callbacks, and so forth.

Example

(capi:contain (make-instance 
               'capi:radio-button-panel
               :title "Select a color:"
               :items '(:red :green :blue)
               :print-function 'string-capitalize))
(setq buttons (capi:contain
                (make-instance 
                 'capi:radio-button-panel
                 :title "Select a color:"
                 :items '(:red :green :blue)
                 :print-function 'string-capitalize
                  :layout-class 'capi:column-layout)))
(capi:choice-selected-item buttons)

Example File

capi/elements/buttons.lisp

See Also

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


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

Generated with Harlequin WebMaker