ok
Direktori : /proc/thread-self/root/lib64/python2.7/lib-tk/ |
Current File : //proc/thread-self/root/lib64/python2.7/lib-tk/ScrolledText.pyo |
� ]цdc @ s� d Z d g Z d d l m Z m Z m Z m Z m Z m Z d d l m Z m Z m Z m Z d e f d � � YZ d � Z e d k r� e � n d S( s A ScrolledText widget feels like a text widget but also has a vertical scroll bar on its right. (Later, options may be added to add a horizontal bar as well, to make the bars disappear automatically when not needed, to move them to the other side of the window, etc.) Configuration options are passed to the Text widget. A Frame widget is inserted between the master and the text, to hold the Scrollbar widget. Most methods calls are inherited from the Text widget; Pack, Grid and Place methods are redirected to the Frame widget however. t ScrolledTexti����( t Framet Textt Scrollbart Packt Gridt Place( t RIGHTt LEFTt Yt BOTHc B s e Z d d � Z d � Z RS( c K sK t | � | _ t | j � | _ | j j d t d t � | j i | j j d 6� t j | | j | � | j d t d t d t � | j | j d <t t � j � } t t � j � t t � j � t t � j � } t | � j | � } xU | D]M } | d d k r� | d k r� | d k r� t | | t | j | � � q� q� Wd S( Nt sidet fillt yscrollcommandt expandt commandi t _t configt configure( R t frameR t vbart packR R t updatet setR t __init__R R t Truet yviewt varst keysR R R t differencet setattrt getattr( t selft mastert kwt text_methst methodst m( ( s+ /usr/lib64/python2.7/lib-tk/ScrolledText.pyR s 2 (c C s t | j � S( N( t strR ( R ( ( s+ /usr/lib64/python2.7/lib-tk/ScrolledText.pyt __str__( s N( t __name__t __module__t NoneR R'