Python Forum
Tkinter: How to assign calculated value to a Label
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter: How to assign calculated value to a Label
#6
I wanted to check Yoriz' suggestion as having helped me a lot. I wasn't using classes, so that's a step in the right direction. However, there's no button on this site to select the suggestion that helps (unlike in other forum sites, e.g., Microsoft Developers Network).

I added a reputation point to Yoriz, just to show my gratitude.

I haven't fully solved this yet. It's not posting the value to the label but funny, when I add a messagebox just to see if there's a value read from the sensor, the value is then posted to the label when I click the "OK" button on the messagebox. Obviously, I still need to work on this.

But I followed Yoriz's advise to create classes to make it easier and I'm getting there.

Thanks.
Reply


Messages In This Thread
RE: Tkinter: How to assign calculated value to a Label - by LoneStar - Sep-02-2020, 08:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tkinter: An image and label are not appearing. emont 7 1,096 Mar-21-2024, 03:00 PM
Last Post: deanhystad
  tkinter destroy label inside labelFrame Nick_tkinter 3 4,735 Sep-17-2023, 03:38 PM
Last Post: munirashraf9821
  [Tkinter] Updating Tkinter label using multiprocessing Agusms 6 3,399 Aug-15-2022, 07:10 PM
Last Post: menator01
  [Tkinter] The Text in the Label widget Tkinter cuts off the Long text in the view malmustafa 4 5,392 Jun-26-2022, 06:26 PM
Last Post: menator01
  tkinter: Image to Label Maryan 10 5,508 Oct-29-2020, 01:48 PM
Last Post: joe_momma
  Tkinter - How can I extend a label widget? TurboC 2 2,905 Oct-13-2020, 12:15 PM
Last Post: zazas321
  changing tkinter label from thread nanok66 3 7,649 Jun-07-2020, 01:37 AM
Last Post: nanok66
  [Tkinter] tkinter How to pass label fiilename to another module? johnjh 0 2,066 Apr-17-2020, 11:34 PM
Last Post: johnjh
  Make Label Text background (default color) transparent using tkinter in python barry76 1 24,344 Nov-28-2019, 10:19 AM
Last Post: Larz60+
  Spacing Between two labels are very far and Top label is not in Center using Tkinter barry76 2 7,254 Jul-30-2019, 10:49 AM
Last Post: wuf

Forum Jump:

User Panel Messages

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