E5Gui/E5ToolBox.py

changeset 2137
5a9bdcb8c934
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
2133:8e20a87f9809 2137:5a9bdcb8c934
64 """ 64 """
65 index = self.insertTab(index, widget, icon, "") 65 index = self.insertTab(index, widget, icon, "")
66 self.setTabToolTip(index, text) 66 self.setTabToolTip(index, text)
67 return index 67 return index
68 68
69 def removeItem(self, index):
70 """
71 Public method to remove a widget from the toolbox.
72
73 @param index index of the widget to remove (integer)
74 """
75 self.removeTab(index)
76
69 def setItemToolTip(self, index, toolTip): 77 def setItemToolTip(self, index, toolTip):
70 """ 78 """
71 Public method to set the tooltip of an item. 79 Public method to set the tooltip of an item.
72 80
73 @param index index of the item (integer) 81 @param index index of the item (integer)

eric ide

mercurial