Python Forum
[Tkinter] Help with tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Help with tkinter
#2
It is not advisable to use * imports see this thread
It is advisable to use classes when doing GUI programs.

What doesn't want to update your window ?

If you mean it doesn't do the if state==1: condition, this will only be read the one time before it starts the GUI mainloop.
Even if this was not GUI code theres no looping to re-ceck the value of state.
GUI event driven code has to be written differently then normal code logic a loop would not work.
Reply


Messages In This Thread
Help with tkinter - by MrTheOne - May-11-2019, 06:05 PM
RE: Help with tkinter - by Yoriz - May-11-2019, 07:06 PM
RE: Help with tkinter - by MrTheOne - May-11-2019, 08:59 PM
RE: Help with tkinter - by Yoriz - May-12-2019, 11:18 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020