Returns the numeric index of the tab specified by tab_id, or the total number of tabs if tab_id is the string "end".
(self, tab_id)
| 836 | |
| 837 | |
| 838 | def index(self, tab_id): |
| 839 | """Returns the numeric index of the tab specified by tab_id, or |
| 840 | the total number of tabs if tab_id is the string "end".""" |
| 841 | return self.tk.getint(self.tk.call(self._w, "index", tab_id)) |
| 842 | |
| 843 | |
| 844 | def insert(self, pos, child, **kw): |