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

Method update_menu_state

Lib/idlelib/editor.py:485–488  ·  view source on GitHub ↗

Update state for menu item at index.

(self, menu, index, state)

Source from the content-addressed store, hash-verified

483 menuitem.entryconfig(index, label=label)
484
485 def update_menu_state(self, menu, index, state):
486 "Update state for menu item at index."
487 menuitem = self.menudict[menu]
488 menuitem.entryconfig(index, state=state)
489
490 def handle_yview(self, event, *args):
491 "Handle scrollbar."

Callers 3

__init__Method · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected