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

NextPrevUpTopContentsIndex

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

Description

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

See also

button-panel
redisplay-interface


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex