[Tutor] Tkinter class question

Phil phil_lor at bigpond.com
Fri Apr 7 18:24:00 EDT 2017


On Sat, 08 Apr 2017 09:12:17 +0200
Peter Otten <__peter__ at web.de> wrote:

Thank you yet again Peter.

I realised what the answer is after taking a break for a couple of hours, however, I didn't know about:

>         ...
>         self.check_button = Button(
>             master,
>             text="Check",
>             command=self.check_2_2  # note there's no () -- the bound
> method # is not invoked
>         )
>         ...
> 

My working method uses the () but I will remove them and see what difference it makes.

-- 
Regards,
Phil


More information about the Tutor mailing list