Changes
Jump to navigation
Jump to search
Line 9:
Line 9:
+
+
+
Development Team/Almanac/sugar.graphics.toolbox (view source)
Revision as of 15:14, 2 June 2008
, 15:14, 2 June 2008no edit summary
=== 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? ===