Re: [Tutor] CheckButtons reset to default values

2017-02-10 Thread Alan Gauld via Tutor
On 10/02/17 15:56, Pooja Bhalode wrote: > root = Tk() > root.title("Design of Experiments with Parameter Estimation") > root.geometry("1000x1000") > > def DesignPoint(): > rootdesign=Tk() You should o0nly have one root. This create a new root everytime you xcall Designpoint and even if thats

Re: [Tutor] CheckButtons reset to default values

2017-02-10 Thread Pooja Bhalode
Hi Peter, The code is as shown below. I have put it in the manner you have told me. root = Tk() root.title("Design of Experiments with Parameter Estimation") root.geometry("1000x1000") def DesignPoint(): print "Inside Design Point" rootdesign=Tk() rootdesign.title("Estimation of Exp

Re: [Tutor] CheckButtons reset to default values

2017-02-10 Thread Peter Otten
Pooja Bhalode wrote: > Hi, > > I have a bunch of checkbuttons in my code and a default settings button > which restores the original setting in the checkbuttons. The code is given > below: > > > var1 = IntVar() > var2 = IntVar() > var3 = IntVar() > var4 = IntVar() > Checkbut

[Tutor] CheckButtons reset to default values

2017-02-10 Thread Pooja Bhalode
Hi, I have a bunch of checkbuttons in my code and a default settings button which restores the original setting in the checkbuttons. The code is given below: var1 = IntVar() var2 = IntVar() var3 = IntVar() var4 = IntVar() Checkbutton(frame1, text = "Vertices", variable=var1,