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

Method add_command

Lib/tkinter/__init__.py:3595–3597  ·  view source on GitHub ↗

Add command menu item.

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

Source from the content-addressed store, hash-verified

3593 self.add('checkbutton', cnf or kw)
3594
3595 def add_command(self, cnf={}, **kw):
3596 """Add command menu item."""
3597 self.add('command', cnf or kw)
3598
3599 def add_radiobutton(self, cnf={}, **kw):
3600 """Add radio menu item."""

Callers 15

toc_menuMethod · 0.95
context_menu_eventMethod · 0.95
context_menu_eventMethod · 0.95
make_rmenuMethod · 0.95
makeLoadDemoMenuMethod · 0.95
makeFontMenuMethod · 0.95
makeHelpMenuMethod · 0.95
__init__Method · 0.80
test_entryconfigureMethod · 0.80
fill_menuMethod · 0.80
SetMenuMethod · 0.80

Calls 1

addMethod · 0.95

Tested by 2

test_entryconfigureMethod · 0.64