Hacked By AnonymousFox
B
YI~d# � @ s� d dl Z d dlZd dlmZmZ d dlmZmZmZm Z m
Z
d dlmZmZm
Z
mZmZmZmZmZmZmZ d dlmZ dd� ZG dd � d e�Zed
kr�d dlmZ edd
dd� d dlmZ ee� dS )� N)�python_version�architecture)�Toplevel�Frame�Label�Button�
PhotoImage)
�SUNKEN�TOP�BOTTOM�LEFT�X�BOTH�W�EW�NSEW�E)�textviewc C s2 t jdkrt jdkrdS dS t� d d d� S d S )N�darwinl Z64Z32r � )�sys�platform�maxsizer � r r �7/opt/alt/python37/lib64/python3.7/idlelib/help_about.py�
build_bits s
r c @ sr e Zd Zdddd�dd�Zdd� Zdd � Zd
d� Zdd
� Zdd� Zdd� Z dd� Z
dd� Zddd�Zddd�Z
dS )�AboutDialogNF)�_htest�_utestc C s� t �| |� | jdd� | �d|�� d |�� |s6dnd f � d| _d| _| �� | j ddd � | �
|p�d
t� � dt� � d�� | �
|� | �� | �d
| j� || _| j�� | �d| j� | �d| j� d | _|| _|s�| �� | �� d S )N� )�borderwidthz+%d+%d� �d z#bbbbbbz#000000F)�height�widthzAbout IDLE z (z bit)ZWM_DELETE_WINDOWz<Return>z<Escape>)r �__init__Z configureZgeometryZwinfo_rootxZwinfo_rooty�bg�fg�create_widgetsZ resizable�titler r Z transientZgrab_setZprotocol�ok�parent� button_okZ focus_setZbind�_current_textviewr Z deiconifyZwait_window)�selfr+ r) r r r r r r% s.
zAboutDialog.__init__c C s� t | dtd�}t | �}|jttd� |jtdtd� t|d| jd�| _ | j jddd � t || j
d
�}|jdtd� t|d| j| j
d
d�}|j
ddtddd� | j�dd�}|dkr�dnd}tj�tj�tj�t��dd|� ��}t| �� |d�| _t|| j| j
d�}|j
ddtdddd� d} t|| t| j| j
d�}
|
j
ddtdddd� t|d t| j| j
d�}|j
d!ddtddd"� t|d#t� d d� d$ t| j| j
d�}|j
d%ddtddd"� t |d&td| j
d'�j
d(dtdddd� t|d)t� | j| j
d*�}
|
j
d+dtddd� t|d,| | j| j
d*�}|j
d+d&tddd� t || j
d
�}|j
dddtd-� t|d.d(| j
| jd/�| _ | j jtddd0� t|d1d(| j
| j!d/�| _"| j"jtddd0� t|d2d(| j
| j#d/�| _$| j$jtddd0� t |d&td| j
d'�j
d3dtdddd� t|d4t� | j| j
d*�}|j
d5dtddd� t || j
d
�}|j
d6ddtd-� t|d7d(| j
| j%d/�| _&| j&jtddd0� t|d8d(| j
| j'd/�| _(| j(jtddd0� t|d2d(| j
| j)d/�| _*| j*jtddd0� d S )9Nr )r �relief)�side�fillT)r0 �expandr1 ZClose)�text�commandr )�padx�pady)r&