Returns True if IDLE is using a Carbon Aqua Tk (instead of the newer Cocoa Aqua Tk).
()
| 57 | return _tk_type == "cocoa" or _tk_type == "carbon" |
| 58 | |
| 59 | def 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 | |
| 68 | def isCocoaTk(): |
| 69 | """ |
no test coverage detected
searching dependent graphs…