Python Forum
tkinter toggle buttons not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tkinter toggle buttons not working
#21
(4 hours ago)deanhystad Wrote: Indentation in line 64 pushes the for loop outside the scope of the getTemp() method.
Look st your update clock method. How often is getTemp called. Think before you automatically say "Once every 5 seconds"

Thanks for setting me straight on that, I did notice that finally last night. I got the code working as wanted. I will post the code when I get home as I would really appreciate you looking over it to see if I have done things correctly. Honestly, going from VB.NET to Python has been a struggle for me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Radio Buttons Working Bassackwards gw1500se 6 421 Dec-07-2021, 07:13 PM
Last Post: menator01
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 719 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  Using Tkinter inside function not working Ensaimadeta 3 1,474 Dec-23-2020, 02:57 PM
Last Post: deanhystad
  TkInter Binding Buttons ifigazsi 5 1,352 Apr-06-2020, 08:30 AM
Last Post: ifigazsi
  python file(.py) not working with my tkinter project DeanAseraf1 9 4,027 Mar-22-2020, 10:58 PM
Last Post: ifigazsi
  Tkinter scaling windows conten to or with its size not working Detzi 5 2,129 Jan-12-2020, 12:42 PM
Last Post: Detzi
  Issue on tkinter with buttons Reldaing 1 1,468 Jan-07-2020, 08:21 AM
Last Post: berckut72
  Need tkinter help with clicking buttons pythonprogrammer 2 1,193 Jan-03-2020, 04:43 AM
Last Post: joe_momma
  [Tkinter] Mouse click event not working on multiple tkinter window evrydaywannabe 2 2,126 Dec-16-2019, 04:47 AM
Last Post: woooee
  Tkinter Buttons action d3fi 1 1,007 Nov-20-2019, 09:16 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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