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

Method add_command

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

Add command menu item.

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

Source from the content-addressed store, hash-verified

3386 self.add('checkbutton', cnf or kw)
3387
3388 def add_command(self, cnf={}, **kw):
3389 """Add command menu item."""
3390 self.add('command', cnf or kw)
3391
3392 def add_radiobutton(self, cnf={}, **kw):
3393 """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.45
test_entryconfigureMethod · 0.45
fill_menuMethod · 0.45
SetMenuMethod · 0.45

Calls 1

addMethod · 0.95

Tested by 2

test_entryconfigureMethod · 0.36