This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This version uses `Window.set_visible` instead of deleting the window, | |
so the default event loop can be used and the `on_close` event does not | |
need to be overridden. | |
""" | |
import threading | |
import pyglet | |
import tkinter |