View file File name : canvas-with-scrollbars.pyc Content :� ��^c @ s7 d d l Td e f d � � YZ e � Z e j � d S( i����( t *t Testc B s/ e Z d � Z d � Z d � Z d d � Z RS( c C s d GHd S( Nt hi( ( t self( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt printit s c C s� t | d d �| _ | j j � t | d d d d d d d | j �| _ | j j d t d t � t | d d �} | j d t � t | d d d d d d d d �| _ t | d t �| j _ t | d t �| j _ | j j j | j d <| j j j | j d <| j j | j j d <| j j | j j d <| j j d d d d d d �| j j d d d d d d �| j j j d t d t � | j j j d t d t � | j j d t � d S( Nt texts Can Find The BLUE Square??????t QUITt backgroundt redt heighti t commandt sidet fills 0.25it widtht 5it whitet scrollregioni t 20it orientt xscrollcommandt yscrollcommands 3.5it blackt 10is 13.5it blue( i i R R ( t Labelt questiont packt Buttont quitR t BOTTOMt BOTHt Framet Canvast drawt Scrollbart HORIZONTALt scrollXt VERTICALt scrollYt sett xviewt yviewt create_rectanglet Xt RIGHTt Yt LEFT( R t spacer( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt createWidgets s* c G s d G| GH| j j j � GHd S( Nt scrolling( R! R$ t get( R t args( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt scrollCanvasX0 s c C s+ t j | | � t j | � | j � d S( N( R t __init__t Packt configR0 ( R t master( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyR5 5 s N( t __name__t __module__R R0 R4 t NoneR5 ( ( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyR s $ N( t TkinterR R t testt mainloop( ( ( s@ /usr/lib64/python2.7/Demo/tkinter/matt/canvas-with-scrollbars.pyt <module> s 2