Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).
()
| 49 | return |
| 50 | |
| 51 | def isAquaTk(): |
| 52 | """ |
| 53 | Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon). |
| 54 | """ |
| 55 | if not _tk_type: |
| 56 | _init_tk_type() |
| 57 | return _tk_type == "cocoa" or _tk_type == "carbon" |
| 58 | |
| 59 | def isCarbonTk(): |
| 60 | """ |
no test coverage detected
searching dependent graphs…