MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / index

Method index

tools/python-3.11.9-amd64/Lib/tkinter/ttk.py:838–841  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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):

Callers 15

test_tab_identifiersMethod · 0.45
test_add_and_hiddenMethod · 0.45
test_forgetMethod · 0.45
test_indexMethod · 0.45
test_configure_formatMethod · 0.45
test_indexMethod · 0.45
_parsedate_tzFunction · 0.45
_parseparamFunction · 0.45
_find_bodyMethod · 0.45
_str2timeFunction · 0.45
http2timeFunction · 0.45

Calls 2

callMethod · 0.80
getintMethod · 0.45

Tested by 8

test_tab_identifiersMethod · 0.36
test_add_and_hiddenMethod · 0.36
test_forgetMethod · 0.36
test_indexMethod · 0.36
test_configure_formatMethod · 0.36
test_indexMethod · 0.36