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

Function isCocoaTk

Lib/idlelib/macosx.py:68–74  ·  view source on GitHub ↗

Returns True if IDLE is using a Cocoa Aqua Tk.

()

Source from the content-addressed store, hash-verified

66 return _tk_type == "carbon"
67
68def isCocoaTk():
69 """
70 Returns True if IDLE is using a Cocoa Aqua Tk.
71 """
72 if not _tk_type:
73 _init_tk_type()
74 return _tk_type == "cocoa"
75
76def isXQuartz():
77 """

Callers 1

overrideRootMenuFunction · 0.85

Calls 1

_init_tk_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…