Window title change | pywebview
Description: Build GUI for your Python program with JavaScript, HTML, and CSS

# # Window title change

Change window title every three seconds.

    import webview
    import time

    def change_title(window):
        """changes title every 3 seconds"""
        for i in range(1, 100):
            time.sleep(3)
            window.set_title('New Title #{}'.format(i))

    if __name__ == '__main__':
        window = webview.create_window('Change title example', 'https://pywebview.flowrl.com/hello')
        webview.start(change_title, window)