diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 82721e56..8cf17231 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.19.0 Released 5-May-2020" +version = __version__ = "4.19.0.1 Unreleased - Window.set_title added" port = 'PySimpleGUI' @@ -7809,6 +7809,17 @@ class Window: """ return + + def set_title(self, title): + """ + Change the title of the window + + :param title: The string to set the title to + :type title: str + """ + + self.TKroot.wm_title(str(title)) + # def __enter__(self): # """ # WAS used with context managers which are no longer needed nor advised. It is here for legacy support and