Re: [Tkinter-discuss] Buttons: Order of execution

2018-02-04 Thread Bhaskar Chaudhary
Hi Add this line self.greenButton.update_idletasks() immediately after self.greenButton.configure(text="Loading",state="disabled", background="green") Does this give you the expected behavior ? If yes, you need to read up on Event processing in Tkinter. Here's a good article that explains it

[Tkinter-discuss] Buttons: Order of execution

2018-02-04 Thread John Sampson via Tkinter-discuss
I have a method in in which I have the line: self.greenButton.configure(text="Loading",state="disabled", background="green") followed by other lines. Being a complete newbie, I would expect the green button to start showing the text "Loading" before execution of the lines following the abov