From 18431651397012274d94485a62ef6eaa7cf2aa01 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 17 Mar 2003 16:18:07 +0000 Subject: [PATCH] show window events for debugging --- direct/src/showbase/ShowBase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 8a2d3fb629..63abdc00c0 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -1164,6 +1164,7 @@ class ShowBase(DirectObject.DirectObject): def __windowEvent(self, win): properties = win.getProperties() if win == self.win: + self.notify.info("Got window event: %s" % (repr(properties))) if not properties.getOpen(): # If the user closes the main window, we should exit. self.notify.info("User closed main window.")