ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib64/python2.7/idlelib/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib64/python2.7/idlelib/textView.pyc |
� `цdc @ sG d Z d d l Td d l Z d e f d � � YZ e d � Z d e d � Z e d k rCe � Z e j d � d Z e e d � j � Z e e d d d d � �Z e j d e � e e d d d d � �Z e j d e � e e 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( s Simple text browser for IDLE i����( t *Nt TextViewerc B s/ e Z d Z e d � Z d � Z d d � Z RS( s* 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( sJ Show the given text in a scrollable window with a 'close' button t borderwidthi s =%dx%d+%d+%diq i� i s #ffffffs #000000t WM_DELETE_WINDOWs <Return>s <Escape>g t stateN( t Toplevelt __init__t configuret geometryt winfo_rootxt winfo_rootyt bgt fgt CreateWidgetst titlet protocolt Okt parentt textViewt focus_sett bindt insertt configt DISABLEDt transientt grab_sett wait_window( t selfR R t textt modal( ( s( /usr/lib64/python2.7/idlelib/textView.pyR s( 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( Nt relieft heighti� R t Closet commandt takefocust orientt highlightthicknessi t wrapR R t yscrollcommandt sidet fillt expand( t Framet SUNKENt ButtonR t FALSEt buttonOkt Scrollbart VERTICALt scrollbarViewt Textt WORDR R R R t yviewt sett packt RIGHTt Yt LEFTt TRUEt BOTHt BOTTOMt Xt TOP( R t frameTextt frameButtons( ( s( /usr/lib64/python2.7/idlelib/textView.pyR ) s c C s | j � d S( N( t destroy( R t event( ( s( /usr/lib64/python2.7/idlelib/textView.pyR : s N( t __name__t __module__t __doc__t TrueR R t NoneR ( ( ( s( /usr/lib64/python2.7/idlelib/textView.pyR s c C s t | | | | � S( N( R ( R R R R ( ( s( /usr/lib64/python2.7/idlelib/textView.pyt view_text>