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

Method update_menu_label

Lib/idlelib/editor.py:480–483  ·  view source on GitHub ↗

Update label for menu item at index.

(self, menu, index, label)

Source from the content-addressed store, hash-verified

478 window.add_windows_to_menu(menu)
479
480 def update_menu_label(self, menu, index, label):
481 "Update label for menu item at index."
482 menuitem = self.menudict[menu]
483 menuitem.entryconfig(index, label=label)
484
485 def update_menu_state(self, menu, index, state):
486 "Update state for menu item at index."

Callers 3

zoom_height_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected