Changes

Jump to navigation Jump to search
no edit summary
Line 9: Line 9:     
=== How do I add a toolbar to a toolbox? ===
 
=== How do I add a toolbar to a toolbox? ===
 +
Toolbars can be added to a toolbox using add_toolbar(). Just provide a name for the toolbar as well as a handle on the toolbar object that has been created.
 +
        # Add the edit toolbar:
 +
        toolbox.add_toolbar(_('Edit'), self._edit_toolbar)
    
=== How do I remove a toolbar from a toolbox? ===
 
=== How do I remove a toolbar from a toolbox? ===
    
=== How do I programmatically change the active toolbar in a toolbox? ===
 
=== How do I programmatically change the active toolbar in a toolbox? ===
Anonymous user

Navigation menu