diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-04-29 19:11:59 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-04-29 19:11:59 (GMT) |
commit | d6445af2c8e403468e1f248a12af44d3a78fbacb (patch) | |
tree | cfb6ced0cd95334d522e17222f7eacb6b2f9b962 /sugar/graphics | |
parent | b097802fe653c515013e3475e54a523c639d02de (diff) |
Add method Toolbox.remove_toolbar().
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/toolbox.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sugar/graphics/toolbox.py b/sugar/graphics/toolbox.py index 9439120..441d157 100644 --- a/sugar/graphics/toolbox.py +++ b/sugar/graphics/toolbox.py @@ -33,3 +33,6 @@ class Toolbox(gtk.VBox): def add_toolbar(self, name, toolbar): self._notebook.append_page(toolbar, gtk.Label(name)) + + def remove_toolbar(self, index): + self._notebook.remove_page(index) |