Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tkinter
#2
Can you show how you're doing this with a button press now?

One way to be to create a method that is passed in the object you want to update. It can poll the sensor, then add itself to the tkinter event queue with after() so that it will poll periodically.
Reply


Messages In This Thread
tkinter - by BigMoose - Apr-21-2020, 10:14 PM
RE: tkinter - by bowlofred - Apr-21-2020, 10:24 PM
RE: tkinter - by Roshan - Apr-22-2020, 02:05 PM

Forum Jump:

User Panel Messages

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