관리-도구
편집 파일: mock_tk.cpython-35.opt-2.pyc
���]j- � @ s� Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d � Z d d l m Z Gd d � d � Z Gd d � d � Z d S)c @ s e Z d Z d d � Z d S)�Eventc K s | j j | � d S)N)�__dict__�update)�self�kwds� r �,/opt/alt/python35/lib64/python3.5/mock_tk.py�__init__ s zEvent.__init__N)�__name__� __module__�__qualname__r r r r r r s r c @ s= e Z d Z d d d d d � Z d d � Z d d � Z d S)�VarNc C s | | _ | | _ | | _ d S)N)�master�value�name)r r r r r r r r s zVar.__init__c C s | | _ d S)N)r )r r r r r �set s zVar.setc C s | j S)N)r )r r r r �get! s zVar.get)r r r r r r r r r r r s r c @ s+ e Z d Z d d d � Z d d � Z d S)� Mbox_funcNc C s | | _ d S)N)�result)r r r r r r + s zMbox_func.__init__c O s+ | | _ | | _ | | _ | | _ | j S)N)�title�message�argsr r )r r r r r r r r �__call__- s zMbox_func.__call__)r r r r r r r r r r $ s r c @ sX e Z d Z e � Z e � Z e � Z e � Z e � Z e � Z e � Z e � Z d S)�MboxN)r r r r ZaskokcancelZaskquestionZaskretrycancelZaskyesnoZaskyesnocancelZ showerrorZshowinfo�showwarningr r r r r 5 s r � )�TclErrorc @ s� e Z d Z d i d d � Z d d � Z d d d � Z d d � Z d d � Z d d d � Z d d d � Z d d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d d d d � Z d S)!�TextNc K s d d g | _ d S)N� � )�data)r r Zcnf�kwr r r r g s z Text.__init__c C s d | j | d d �S)Nz%s.%s�endflag� )�_decode)r �indexr r r r$ o s z Text.indexr c C so t | t t f � r! t | � } y | j � } Wn% t k rX t d | � d � Yn Xt | j � d } | d k r� | t | j | � d f S| d k r� | j | � S| j d � \ } } t | � } | d k r� d S| | k r� | j | � St | j | � d } | j d � s(| d k r2| | f St | � } | d k rSd } n | | k re| } | | f S) Nzbad text index "%s"r"