MCPcopy Index your code
hub / github.com/python/cpython / insert_command

Method insert_command

Lib/tkinter/__init__.py:3620–3622  ·  view source on GitHub ↗

Add command menu item at INDEX.

(self, index, cnf={}, **kw)

Source from the content-addressed store, hash-verified

3618 self.insert(index, 'checkbutton', cnf or kw)
3619
3620 def insert_command(self, index, cnf={}, **kw):
3621 """Add command menu item at INDEX."""
3622 self.insert(index, 'command', cnf or kw)
3623
3624 def insert_radiobutton(self, index, cnf={}, **kw):
3625 """Add radio menu item at INDEX."""

Callers

nothing calls this directly

Calls 1

insertMethod · 0.95

Tested by

no test coverage detected