All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

check-button-panel Class

Summary

A class of panes containing a group of buttons each of which can be selected or deselected.

Package

capi

Superclasses

button-panel

Description

The class check-button-panel inherits all of its behavior from button-panel, which itself inherits most of its behavior from choice. Thus, the check-button-panel can accept items, callbacks, and so on.

Examples
(capi:contain (make-instance
               'capi:check-button-panel
               :title "Select some packages"
               :items '("CAPI" "LISPWORKS" "CL-USER")))
(setq buttons (capi:contain
               (make-instance
                'capi:check-button-panel
                :title "Select some packages"
                :items '("CAPI" "LISPWORKS" "CL-USER")
                :layout-class 'capi:column-layout)))
(capi:choice-selected-items buttons)

Also see this example:

(example-edit-file "capi/buttons/buttons")
See also

check-button
push-button-panel
radio-button-panel
5 Choices - panes with items


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42