Added Window.set_title

This commit is contained in:
PySimpleGUI 2020-05-08 05:16:06 -04:00
parent 0076b461f5
commit 1f0344824c
1 changed files with 12 additions and 1 deletions

View File

@ -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