AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/idlelib/__pycache__/ |
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/idlelib/__pycache__/textView.cpython-33.pyo |
� ��f� c @ sh d Z d d l Td d l j Z Gd d � d e � Z d d d � Z d d d d � Z e d k rde � Z e j d � d Z e e d � � Z e j � Z Wd QXe e d d d d d � �Z e j d e � e e d d d d d � �Z e j d e � e e d d d d d � �Z e j d e � e e d d d e j �Z e j d e � e j � n d S( u Simple text browser for IDLE i ( u *Nc B sD | Ee Z d Z d Z d d d � Z d d � Z d d d � Z d S( u TextVieweru* A simple text viewer dialog for IDLE c C s t j | | � | j d d � | j d d d | j � d | j � d f � d | _ d | _ | j � | j | � | j d | j � | | _ | j j � | j d | j � | j d | j � | j j d | � | j j d t � | r| j | � | j � | j � n d S( uJ Show the given text in a scrollable window with a 'close' button u borderwidthi u =%dx%d+%d+%diq i� i u #ffffffu #000000u WM_DELETE_WINDOWu <Return>u <Escape>g u stateN( u Toplevelu __init__u configureu geometryu winfo_rootxu winfo_rootyu bgu fgu CreateWidgetsu titleu protocolu Oku parentu textViewu focus_setu bindu insertu configu DISABLEDu transientu grab_setu wait_window( u selfu parentu titleu textu modal( ( u5 /opt/alt/python33/lib64/python3.3/idlelib/textView.pyu __init__ s( u TextViewer.__init__c C sC t | d t d d �} t | � } t | d d d | j d t �| _ t | d t d t d d �| _ t | d t d d d | j d | j �| _ | j j d | j j � | j j d | j j � | j j � | j j d t d t � | j j d t d t d t � | j d t d t � | j d t d t d t � d S( Nu reliefu heighti� u textu Closeu commandu takefocusu orientu highlightthicknessi u wrapu fgu bgu yscrollcommandu sideu fillu expand( u Frameu SUNKENu Buttonu Oku FALSEu buttonOku Scrollbaru VERTICALu scrollbarViewu Textu WORDu fgu bgu textViewu configu yviewu setu packu RIGHTu Yu LEFTu TRUEu BOTHu BOTTOMu Xu TOP( u selfu frameTextu frameButtons( ( u5 /opt/alt/python33/lib64/python3.3/idlelib/textView.pyu CreateWidgets) s u TextViewer.CreateWidgetsc C s | j � d S( N( u destroy( u selfu event( ( u5 /opt/alt/python33/lib64/python3.3/idlelib/textView.pyu Ok: s u TextViewer.OkNT( u __name__u __module__u __qualname__u __doc__u Trueu __init__u CreateWidgetsu Noneu Ok( u __locals__( ( u5 /opt/alt/python33/lib64/python3.3/idlelib/textView.pyu TextViewer s u TextViewerc C s t | | | | � S( N( u TextViewer( u parentu titleu textu modal( ( u5 /opt/alt/python33/lib64/python3.3/idlelib/textView.pyu view_text>