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

Method makeHelpMenu

Lib/turtledemo/__main__.py:316–323  ·  view source on GitHub ↗
(self, master)

Source from the content-addressed store, hash-verified

314 return menu
315
316 def makeHelpMenu(self, master):
317 menu = Menu(master, tearoff=0)
318
319 for help_label, help_file in help_entries:
320 def show(help_label=help_label, help_file=help_file):
321 view_text(self.root, help_label, help_file)
322 menu.add_command(label=help_label, command=show)
323 return menu
324
325 def refreshCanvas(self):
326 if self.dirty:

Callers 1

__init__Method · 0.95

Calls 2

add_commandMethod · 0.95
MenuClass · 0.85

Tested by

no test coverage detected