| Server IP : 121.121.20.254 / Your IP : 216.73.217.109 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/idlelib/__pycache__/ |
Upload File : |
�
���g`% � � � d Z ddlmZ ddlZddlmZ ddlZdad� Zd� Z d� Z
d� Zd � Zd
� Z
d� Zd� Zd
� Zd� Zd� Zd� Zedk( rddlmZ edd�� yy)z3
A number of functions that enhance IDLE on macOS.
� )�
expanduserN)�platformc �L � t dk( r�ddlm} | rddlm}m} |d� t j � }|j j dd � }d
|v rdan+d|vrd
an$d|j j ddd� v rdanda|j � yd
ay# |$ r daY yw xY w)zu Initialize _tk_type for isXyzTk functions.
This function is only called once, when _tk_type is still None.
�darwinr )�testing)�requires�ResourceDenied�gui�cocoaN�tk�windowingsystem�x11�xquartz�aqua�other�AppKit�winfo�server�.�carbon)r �idlelib.__init__r �test.supportr r �_tk_type�tkinter�Tkr �call�destroy)r r r �root�wss �#C:\Python312\\Lib\idlelib\macosx.py�
_init_tk_typer! s� � � �8��
-��=�
����
�z�z�|��
�W�W�\�\�$� 1�
2���B�;� �H�
�2�
��H�
������g�x��=�
=��H��H����� � ��
��# "�
�"���
�s �B �B#�"B#c �J � t s
t � t dk( xs t dk( S )zK
Returns True if IDLE is using a native OS X Tk (Cocoa or Carbon).
r r �r r! � � r �isAquaTkr&