How to hide main window with wxPython? (app still runs at background)

A.TNG wrote:

Hi,

wxPython is so cool to develop desktop applications. It's easy to
write and maintain. I want to write a application, when user click
"close", the application only hide the main app windows. But it still
run at background. If I press some key, the main window could pop up
again.

Is this possible with wxPython? Any kind guy could send me some sample code?

Thanks in advance.

I'm not sure that a hidden frame object can accept key presses. If not, then it won't re-show itself with some key combo. You could use a taskbar icon, like some Instant Messengers do. Then you'd just click the icon to re-show the main app's window.

ยทยทยท

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org