All Manuals > CAPI User Guide > 6 Choices > 6.1 Button classes


6.1.2 Radio button panels

A group of radio buttons (a group of buttons of which only one at a time can be selected) is created with the radio-button-panel class. Here is an example of a radio button panel:

(setq radio (make-instance 'radio-button-panel
                :items (list 1 2 3 4 5)
                :selection-callback 'test-callback))
(contain radio)

Figure 6.2 A radio button panel

CAPI User Guide (Windows version) - 30 Aug 2011