관리-도구
편집 파일: config_key.cpython-36.opt-2.pyc
3 ��2a`4 � @ sz d dl T d dlmZ d dl mZ d dlZd dlZG dd� de�Zedkrvd dl m Z e d d dd� d d lmZ ee� dS )� )�*)� Scrollbar)� messageboxNc @ s� e Zd ZdZddd�dd�Zdd� Zdd � Zd d� Zdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zd#dd�Zd$dd�Zdd � Zd!d"� ZdS )%� GetKeysDialogzKey Sequence ErrorF)�_htest�_utestc C sN t j| |� | j� | jdd� | jttd� | j|� | j|� | j� | j d| j � || _|| _|| _ d| _t| �| _| jjd� | j� g | _x,| jD ]"}t| �}|jd� | jj|� q�W d| _| j� | j� | j� | jd|j� |j� d | j� d |j� |�s(|j� d | j � d nd f � |�sJ| j!� | j"� d S ) N� )�borderwidth)�height�widthZWM_DELETE_WINDOW� Fz+%d+%d� � )#�Toplevel�__init__ZwithdrawZ configureZ resizableZFALSE�titleZ transientZgrab_setZprotocol�Cancel�parent�action�currentKeySequences�resultZ StringVar� keyString�set�SetModifiersForPlatform� modifier_vars� modifiers�append�advanced� CreateWidgets�LoadFinalKeyListZupdate_idletasksZgeometryZwinfo_rootxZwinfo_widthZwinfo_reqwidthZwinfo_rootyZwinfo_heightZwinfo_reqheightZ deiconifyZwait_window) �selfr r r r r r �modifier�variable� r# �//opt/alt/python36/lib64/python3.6/config_key.pyr sB *zGetKeysDialog.__init__c O s t j||� d S )N)r � showerror)r �args�kwargsr# r# r$ r% >