Sets the enabled state of the items in a button panel.
capi
set-button-panel-enabled-items button-panel &key enable disable set test key
button-panel⇩ |
A button-panel. |
enable⇩ |
A list. |
disable⇩ |
A list. |
set⇩ |
A boolean. |
test⇩ |
A function. |
key⇩ |
A function. |
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.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42