V Qc@sSddlTddlZdefdYZeZejjdejdS(i(t*NtAppcBs&eZddZdZdZRS(cCstj|||jt||_|jjt|ddd|j|_|jjt|_ |j j d|jj d|j |jj d|j dS(NttextsUppercase The Entrytcommandsthis is a variablet textvariables (tFramet__init__tpacktEntryt entrythingytButtontuppertbuttont StringVartcontentstsettconfigtbindtprint_contents(tselftmaster((sD/usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyRs    cCs,tj|jj}|jj|dS(N(tstringR RtgetR(Rtstr((sD/usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR scCsdG|jjGHdS(Ns"hi. contents of entry is now ---->(RR(Rtevent((sD/usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyR)sN(t__name__t __module__tNoneRR R(((sD/usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyRs  tFoo(tTkinterRRRtrootRttitletmainloop(((sD/usr/lib64/python2.7/Demo/tkinter/matt/entry-with-shared-variable.pyts  &