E5Gui/E5ToolBox.py

changeset 2137
5a9bdcb8c934
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
diff -r 8e20a87f9809 -r 5a9bdcb8c934 E5Gui/E5ToolBox.py
--- a/E5Gui/E5ToolBox.py	Thu Oct 11 19:09:10 2012 +0200
+++ b/E5Gui/E5ToolBox.py	Sat Oct 13 17:49:13 2012 +0200
@@ -66,6 +66,14 @@
         self.setTabToolTip(index, text)
         return index
     
+    def removeItem(self, index):
+        """
+        Public method to remove a widget from the toolbox.
+        
+        @param index index of the widget to remove (integer)
+        """
+        self.removeTab(index)
+    
     def setItemToolTip(self, index, toolTip):
         """
         Public method to set the tooltip of an item.

eric ide

mercurial