Note that windows services do not usually have access to the desktop,
and they can't show GUI notifications. The usual mechanism is to have
a monitoring applet that runs on login and that communicates with the
service via a pipe.
If you're not running a real service, or if your service is installed
so that it has access to the desktop, you can initialize and run
wxPython from any particular thread that you want - that thread is the
"main" thread as far as wxPython is concerned.
···
On Dec 6, 2007 4:16 AM, Patrick Li <patrickli3@gmail.com> wrote:
Hi all,
Does anyone have any experience with creating MSN messenger style toaster
notification box via wxPython? I found ToasterBox.py written by someone a
few years ago but it doesn't seem to work for what I need it for (I need it
to run on a separate thread and not block on the main thread). Wondering if
there is any more recent code out there that will do just that.A little bit of background: I have a python daemon running on Windows and it
tracks the versions of certain applications running on your computer. When
a new version becomes available on an application that it's tracking, I want
to launch a new thread that could create a toaster notification to the user,
notifying him/her that a new version has become available.