V Qc@s7ddlTdefdYZeZejdS(i(t*tTestcBs&eZdZdZddZRS(cCs dGHdS(Nthi((tself((sA/usr/lib64/python2.7/Demo/tkinter/matt/canvas-w-widget-draw-el.pytprinthiscCst|ddddd|j|_|jjdtdtt|dd d d |_t|dd d|j|_ |jj d d d |j |jjdt dS(NttexttQUITt foregroundtredtcommandtsidetfilltwidtht5itheightsthis is a buttoni,twindow( tButtontquitRtpacktBOTTOMtBOTHtCanvastdrawRtbuttont create_windowtLEFT(R((sA/usr/lib64/python2.7/Demo/tkinter/matt/canvas-w-widget-draw-el.pyt createWidgets scCs+tj||tj||jdS(N(tFramet__init__tPacktconfigR(Rtmaster((sA/usr/lib64/python2.7/Demo/tkinter/matt/canvas-w-widget-draw-el.pyRs N(t__name__t __module__RRtNoneR(((sA/usr/lib64/python2.7/Demo/tkinter/matt/canvas-w-widget-draw-el.pyRs  N(tTkinterRRttesttmainloop(((sA/usr/lib64/python2.7/Demo/tkinter/matt/canvas-w-widget-draw-el.pyts