OpenWindow with update
-
I realized that I can check if a window is already open so it won't be opened again with the
OpenWindow
. But I was wondering is there any neat way to do the following?if window is not open: open(window) else: window.update()
Thanks!
-
Is there any update on this. I'm trying to make a sub class of
BaseWindowController
to run a method if the window is already open. StillOpenWindow
returnsNone
.Thanks
-
Good point!
In the next update,
OpenWindow
will returnTrue
when the window is already open andFalse
if it hast to create a new instance of the classThanks