
The update-toolbar function updates the toolbar object self . It computes the enabled function of self and the enabled functions of any toolbar components or toolbar buttons contained in it. Each toolbar object is enabled if the enabled function returns t , and is disabled if it returns nil .