To disable a toolbar button you can set its enabled slot to nil
. Alternatively supply it with a suitable enabled-function. For more information about this, see toolbar-object.
You can disable and enable a toolbar-component in the same way.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:36