PyQt window closes immediately after opening
I am getting an issue when trying to open a PyQt window.
I am getting an issue when trying to open a PyQt window.
I have a code which looks like:
I’m using Virtualenv with profit on my development environment with web.py, simplejson and other web oriented packages.
I’m going to develop a simple python client using Qt to reuse some Api developed with web.py.
is there a way to detect if user trying to close window?
For example, in Tkinter we can do something like this: