diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 78430d43..1b34a341 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -715,6 +715,9 @@ class Button(Element): self.ParentForm.TKroot.quit() # kick the users out of the mainloop return + def Update(self, new_text): + self.TKButton.configure(text=new_text) + def __del__(self): try: self.TKButton.__del__()