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

set-button-panel-enabled-items Generic Function

Summary

Sets the enabled state of the items in a button panel.

Package

capi

Signature

set-button-panel-enabled-items button-panel &key enable disable set test key

Arguments
button-panel
enable
A list.
disable
A list.
set
A boolean.
test
A function.
key
A function.
Description

The generic function set-button-panel-enabled-items sets the enabled state of the items in button-panel. If set is t, then enable is ignored and all items are enabled except those in disable. If set is nil, disable is ignored and all items are disabled except those in enable. If set is not given, the items in enable are enabled and the items in disable are disabled. If an item is in both lists, it is enabled. A button is in a list when the result of calling key on the data of the button matches one of the items in the list. A match is defined as a non-nil return value from calling test. The default value for test is cl:equal. key defaults to identity.

See also

button-panel
redisplay-interface


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27