ok
Direktori : /proc/self/root/usr/lib64/python2.7/Demo/tkinter/guido/ |
Current File : //proc/self/root/usr/lib64/python2.7/Demo/tkinter/guido/switch.pyc |
� V �Qc @ sf d d l Td d d � � YZ d d d � � YZ d d d � � YZ d � Z e d k rb e � n d S( i����( t *t Appc B s) e Z d d d � Z d � Z d � Z RS( c C s� | d k r3 | d k r$ t � } q3 t | � } n | | _ t | � | _ | j j � t | d d d t �| _ | j j d d d t � i | _ d | _ d S( Nt borderwidthi t relieft expandi t fill( t Nonet Tkt Toplevelt topt Framet buttonframet packt GROOVEt panelframet BOTHt panelst curpanel( t selfR t master( ( s1 /usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt __init__ s c C s� t | j d | d | | d � �} | j d t � t | j � } | | � } | | | f | j | <| j d k r� | j | � n d S( Nt textt commandc S s | j | � S( N( t show( R t name( ( s1 /usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt <lambda> s t side( t ButtonR R t LEFTR R R R R R ( R R t klasst buttont framet instance( ( s1 /usr/lib64/python2.7/Demo/tkinter/guido/switch.pyt addpanel s c C sR | j | \ } } } | j r/ | j j � n | | _ | j d d d d � d S( NR i R t both( R R t pack_forgetR ( R R R R R ( ( s1 /usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR s N( t __name__t __module__R R R! R ( ( ( s1 /usr/lib64/python2.7/Demo/tkinter/guido/switch.pyR s t LabelPanelc B s e Z d � Z RS( c C s&