V Qc@s7ddlTdefdYZeZejdS(i(t*tTestcBs/eZdZdZdZddZRS(cCs dG|GHdS(Ns slider now at((tselftval((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pyt print_valuescCs|jjddS(Ni(tslidertset(R((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pytreset scCst|dddddtdddd d |j|_t|d d d |j|_t|d d ddd |j|_|jjdt |jjdt |jjdt dt dS(Ntfrom_ittoidtorienttlengtht3itlabels happy slidertcommandttexts reset slidertQUITt foregroundtredtsidetfill( tScalet HORIZONTALRRtButtonRtquitRtpacktLEFTtBOTH(R((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pyt createWidgets scCs+tj||tj||jdS(N(tFramet__init__tPacktconfigR(Rtmaster((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pyRs N(t__name__t __module__RRRtNoneR(((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pyRs   N(tTkinterRRttesttmainloop(((s7/usr/lib64/python2.7/Demo/tkinter/matt/slider-demo-1.pyts