470,594 Members | 1,106 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

Desktop notifications on Windows

I'm looking for a way to implement desktop notifications (much like an
instant messaging program or a mail notifier) within my Python
application, on Windows only (no Gtk/Galago, please). I need no more
than a simple text-based notification, which should be clickable and
have a timeout, nothing else. I do not want to use Windows's "balloon
tips", either. Any suggestions?
Jun 27 '08 #1
4 5335
On Sat, Apr 26, 2008 at 4:41 AM, <wi********@gmail.comwrote:
I'm looking for a way to implement desktop notifications (much like an
instant messaging program or a mail notifier) within my Python
application, on Windows only (no Gtk/Galago, please). I need no more
than a simple text-based notification, which should be clickable and
have a timeout, nothing else. I do not want to use Windows's "balloon
tips", either. Any suggestions?
--
You could use Tkinter, which comes with Python.
Jun 27 '08 #2
On Apr 26, 4:52 am, David <wizza...@gmail.comwrote:
On Sat, Apr 26, 2008 at 4:41 AM, <windypo...@gmail.comwrote:
I'm looking for a way to implement desktop notifications (much like an
instant messaging program or a mail notifier) within my Python
application, on Windows only (no Gtk/Galago, please). I need no more
than a simple text-based notification, which should be clickable and
have a timeout, nothing else. I do not want to use Windows's "balloon
tips", either. Any suggestions?
--

You could use Tkinter, which comes with Python.
The problem is that Tkinter cannot (I haven't looked at it in details,
so correct me if I'm wrong) create notifications the way I want them;
it can only create standard dialogs or top-level dialogs, both of
which steal the focus of other applications, while I want these
notifications not to interfere with anything (and possibly not be
displayed if an application is already running in fullscreen).
Jun 27 '08 #3
On Apr 26, 4:08*pm, WindPower <windypo...@gmail.comwrote:
On Apr 26, 4:52 am, David <wizza...@gmail.comwrote:
On Sat, Apr 26, 2008 at 4:41 AM, *<windypo...@gmail.comwrote:
I'm looking for a way to implement desktop notifications (much like an
*instant messaging program or a mail notifier) within my Python
*application, on Windows only (no Gtk/Galago, please). I need no more
*than a simple text-based notification, which should be clickable and
*have a timeout, nothing else. I do not want to use Windows's "balloon
*tips", either. Any suggestions?
*--
You could use Tkinter, which comes with Python.

The problem is that Tkinter cannot (I haven't looked at it in details,
so correct me if I'm wrong) create notifications the way I want them;
it can only create standard dialogs or top-level dialogs, both of
which steal the focus of other applications, while I want these
notifications not to interfere with anything (and possibly not be
displayed if an application is already running in fullscreen).
wxPython can do this. They have a wx.PopupWindow that does this and
comes with wxPython or you can use the more advanced custom Toasterbox
widget that I found here:

http://xoomer.alice.it/infinity77/ma...tml#toasterbox

I've used both, but the latter gives more control of the "look &
feel".

Hope that helps!

Mike
Jun 27 '08 #4
On Apr 26, 11:42 pm, Mike Driscoll <kyoso...@gmail.comwrote:
On Apr 26, 4:08 pm, WindPower <windypo...@gmail.comwrote:
On Apr 26, 4:52 am, David <wizza...@gmail.comwrote:
On Sat, Apr 26, 2008 at 4:41 AM, <windypo...@gmail.comwrote:
I'm looking for a way to implement desktop notifications (much like an
instant messaging program or a mail notifier) within my Python
application, on Windows only (no Gtk/Galago, please). I need no more
than a simple text-based notification, which should be clickable and
have a timeout, nothing else. I do not want to use Windows's "balloon
tips", either. Any suggestions?
--
You could use Tkinter, which comes with Python.
The problem is that Tkinter cannot (I haven't looked at it in details,
so correct me if I'm wrong) create notifications the way I want them;
it can only create standard dialogs or top-level dialogs, both of
which steal the focus of other applications, while I want these
notifications not to interfere with anything (and possibly not be
displayed if an application is already running in fullscreen).

wxPython can do this. They have a wx.PopupWindow that does this and
comes with wxPython or you can use the more advanced custom Toasterbox
widget that I found here:

http://xoomer.alice.it/infinity77/ma...tml#toasterbox

I've used both, but the latter gives more control of the "look &
feel".

Hope that helps!

Mike
Thanks, this is exactly what I was looking for!
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Blaz | last post: by
1 post views Thread by =?Utf-8?B?TWVpa2E=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.