AlkantarClanX12
Current Path : /lib64/python2.7/Demo/tix/samples/ |
Current File : //lib64/python2.7/Demo/tix/samples/OptMenu.pyc |
� ��^c @ sz d d l Z i d d 6d d 6d d 6d d 6d d 6Z d � Z d � Z e d k rv e j � Z e e � e j � n d S( i����Ns Plain Textt textt PostScriptt postt HTMLt htmlt LaTeXt texs Rich Text Formatt rtfc C s� t j � a t j � a t j | d d d t j �} t j | d d d t d d �} t j | d d d t d d �} xB t j � D]4 } | j | d t | �| j | d t | �q� Wt j d � t j d � | j d t j d t j d d d d � | j d t j d t j d d d d � t j | d t j �} | j d d d d d d d d | d � �| j d d d d d d d d | d � �| j d t j d t j � | j d t j d t j d d � d S( Nt bdi t relieft labels From File Format : t variablet optionss2 label.width 19 label.anchor e menubutton.width 15s To File Format : R R t sidet anchort padyi t padxi t orientationt okR t Okt underlinei t widtht commandc S s t | � S( N( t ok_command( t w( ( s0 /usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyt <lambda>7 t t cancelt Cancelc S s | j � S( N( t destroy( R ( ( s0 /usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyR 9 R t fillt expand( t Tixt StringVart demo_opt_fromt demo_opt_tot Framet RAISEDt OptionMenuR t keyst add_commandt sett packt TOPt Wt ButtonBoxt HORIZONTALt addt BOTTOMt Xt BOTH( R t topt from_filet to_filet optt box( ( s0 /usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyt RunSample s. (( c C s | j � d S( N( R ( R ( ( s0 /usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyR = s t __main__( R R R8 R t __name__t Tkt roott mainloop( ( ( s0 /usr/lib64/python2.7/Demo/tix/samples/OptMenu.pyt <module> s (