%PDF- %PDF-
Direktori : /proc/self/root/proc/thread-self/root/lib64/python2.7/Demo/tkinter/matt/ |
Current File : //proc/self/root/proc/thread-self/root/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyo |
� ��^c @ sG d d l Td d l m Z d e f d � � YZ e � Z e j � d S( i����( t *( t Dialogt 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( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt printit s c C s1 t | d d d d d d d d d d �} | j S( s� Create a top-level dialog with some buttons. This uses the Dialog class, which is a wrapper around the Tcl/Tk tk_dialog script. The function returns 0 if the user clicks 'yes' or 1 if the user clicks 'no'. t titles fred the dialog boxt texts click on a choicet bitmapt infot defaulti t stringst yest no( R R ( R t num( R t d( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt makeWindow s c C sr t | d d d d d | j �| _ | j j d t d t � t | d d d | j �| _ | j j d t � d S( NR t QUITt foregroundt redt commandt sidet fills Make a New Window( t Buttont quitR t packt LEFTt BOTHR t hi_there( R ( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt createWidgets. s c C s4 t j | | � t j | � d | _ | j � d S( Ni ( t Framet __init__t Packt configt windownumR ( R t master( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyR 9 s N( t __name__t __module__R R R t NoneR ( ( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyR s # N( t TkinterR R R t testt mainloop( ( ( s4 /usr/lib64/python2.7/Demo/tkinter/matt/dialog-box.pyt <module> s 8