Your IP : 18.219.255.63
�
e f�! � @ s� d Z d d l Z d d l Z d d l m Z d d l Z d d � Z d d � Z d a d d � Z d
d � Z
d d
� Z d d � Z d d � Z
d d � Z d d � Z d d � Z d d � Z d d � Z d S)z5
A number of functions that enhance IDLE on Mac OSX.
� N)�pathc C s t j d t d d �t � S)Nz/runningAsOSXApp() is deprecated, use isAquaTk()�
stacklevel� )�warnings�warn�DeprecationWarning�isAquaTk� r r �:/opt/alt/python34/lib64/python3.4/idlelib/macosxSupport.py�runningAsOSXApp s
r c C s t j d t d d �t � S)Nz4isCarbonAquaTk(root) is deprecated, use isCarbonTk()r r )r r r �
isCarbonTk)�rootr r r
�isCarbonAquaTk s
r c C s� t j d k r~ | j j d d � } d | k r9 d a q� d | k rN d a q� d | j j d d
d � k ru d a q� d
a n d a d S)zl
Initializes OS X Tk variant values for
isAquaTk(), isCarbonTk(), isCocoaTk(), and isXQuartz().
�darwin�tkZwindowingsystemZx11�xquartzZaqua�otherZAppKitZwinfoZserver�.�cocoa�carbonN)�sys�platformr �call�_tk_type)r
Zwsr r r
�_initializeTkVariantTests s r c C s t d k p t d k S)zK
Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).
r r )r r r r r
r ( s r c C s
t d k S)zb
Returns True if IDLE is using a Carbon Aqua Tk (instead of the
newer Cocoa Aqua Tk).
r )r r r r r
r / s r c C s
t d k S)z8
Returns True if IDLE is using a Cocoa Aqua Tk.
r )r r r r r
� isCocoaTk7 s r c C s
t d k S)z7
Returns True if IDLE is using an OS X X11 Tk.
r )r r r r r
� isXQuartz>