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

Method index

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:3451–3454  ·  view source on GitHub ↗

Return the index of a menu item identified by INDEX.

(self, index)

Source from the content-addressed store, hash-verified

3449 entryconfig = entryconfigure
3450
3451 def index(self, index):
3452 """Return the index of a menu item identified by INDEX."""
3453 i = self.tk.call(self._w, 'index', index)
3454 return None if i in ('', 'none') else self.tk.getint(i) # GH-103685.
3455
3456 def invoke(self, index):
3457 """Invoke a menu item identified by INDEX and execute

Callers 1

deleteMethod · 0.95

Calls 2

callMethod · 0.80
getintMethod · 0.45

Tested by

no test coverage detected