Re: wxpython:how to minimize to taskbar
- From: kyosohma@xxxxxxxxx
- Date: Tue, 28 Aug 2007 07:27:14 -0700
On Aug 28, 9:10 am, Jimmy <mcknight0...@xxxxxxxxx> wrote:
I'm kinda newbie to python and wxPython. Now I'm confronting a thorny
problem: how can I make my program minimize to the taskbar
represented as an ico, and when there is some message from network
coming, it will pop out?
Look at the wxPython demo source code. I found the code I needed in
the main.py file under the DemoTaskBarIcon class, which is a subclass
of wx.TaskBarIcon. You can't view it by running the demo. You have to
open the main.py file itself. On my Windows box, it's found here:
C:\Program Files\wxPython2.8 Docs and Demos\demo
You'll have to call a handler when you receive a message from the
network that basically calls your program's "show" command.
Mike
.
- References:
- wxpython:how to minimize to taskbar
- From: Jimmy
- wxpython:how to minimize to taskbar
- Prev by Date: Re: Getting subprocesses to be hidden on Windows
- Next by Date: Check for dict key existence, and modify it in one step.
- Previous by thread: wxpython:how to minimize to taskbar
- Next by thread: Re: wxpython:how to minimize to taskbar
- Index(es):