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

Function isCarbonTk

Lib/idlelib/macosx.py:59–66  ·  view source on GitHub ↗

Returns True if IDLE is using a Carbon Aqua Tk (instead of the newer Cocoa Aqua Tk).

()

Source from the content-addressed store, hash-verified

57 return _tk_type == "cocoa" or _tk_type == "carbon"
58
59def isCarbonTk():
60 """
61 Returns True if IDLE is using a Carbon Aqua Tk (instead of the
62 newer Cocoa Aqua Tk).
63 """
64 if not _tk_type:
65 _init_tk_type()
66 return _tk_type == "carbon"
67
68def isCocoaTk():
69 """

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…