By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,916 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,916 IT Pros & Developers. It's quick & easy.

Desktop notifications on Windows

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.