Hi Øyvind, A few errors in this here function - > def message():> print New_Toplevel_1.v.get()> # print self.v.get() This doesn't seem to work eitherYour class New_Toplevel_1 is not instantiated as New_Toplevel_1 - you created an instance of it as >w = New_Toplevel_1 (root)So def message
Hello.
I am trying to make a little gui. It has a button and a checkbox. If I
push the button, it is supposed to print the value of the checkbox. But, I
can not seem to get it right. How should I define the variable? Where
should I put it? I have tried every way possible, and gotten lots of
differ