Updating a python Tkinter frame

后端 未结 2 1524
盖世英雄少女心
盖世英雄少女心 2021-01-23 05:29

I am having difficulty updating a python Tkinter frame. I draw the frame with some labels and text fields, when a person presses a button, I want to do some calculations and up

2条回答
  •  生来不讨喜
    2021-01-23 06:13

    You should try destroying the label itself and making it again in the code with the updated text and use self.root.update()

提交回复
热议问题