diff --git a/examples/window_events.py b/examples/window_events.py index fc95cfcb..49c0d9a7 100644 --- a/examples/window_events.py +++ b/examples/window_events.py @@ -28,6 +28,9 @@ def render(self, time: float, frametime: float): def resize(self, width: int, height: int): print("Window was resized. buffer size is {} x {}".format(width, height)) + def close(self): + print("Window is closing") + def iconify(self, iconify: bool): """Window hide/minimize and restore""" print("Window was iconified:", iconify)