Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 2763
e4794166ad70
parent 2424
8fe1fdc174ab
child 2769
8cbebde7a984
equal deleted inserted replaced
2761:bcc10ef7015d 2763:e4794166ad70
1176 txt = self.trUtf8("{0} (ro)").format(txt) 1176 txt = self.trUtf8("{0} (ro)").format(txt)
1177 tabWidget.setTabText(index, txt) 1177 tabWidget.setTabText(index, txt)
1178 1178
1179 def getTabWidgetById(self, id_): 1179 def getTabWidgetById(self, id_):
1180 """ 1180 """
1181 Public method to get a reference to a tab widget knowing it's ID. 1181 Public method to get a reference to a tab widget knowing its ID.
1182 1182
1183 @param id_ id of the tab widget (long) 1183 @param id_ id of the tab widget (long)
1184 @return reference to the tab widget (TabWidget) 1184 @return reference to the tab widget (TabWidget)
1185 """ 1185 """
1186 for tw in self.tabWidgets: 1186 for tw in self.tabWidgets:

eric ide

mercurial