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

Function hideTkConsole

Lib/idlelib/macosx.py:134–139  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

132 root.createcommand("::tk::mac::OpenDocument", doOpenFile)
133
134def hideTkConsole(root):
135 try:
136 root.tk.call('console', 'hide')
137 except tkinter.TclError:
138 # Some versions of the Tk framework don't have a console object
139 pass
140
141def overrideRootMenu(root, flist):
142 """

Callers 1

setupAppFunction · 0.85

Calls 1

callMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…