473,796 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5607
On Sat, Apr 26, 2008 at 4:41 AM, <wi********@gma il.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...@gma il.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...@gma il.comwrote:
On Apr 26, 4:52 am, David <wizza...@gmail .comwrote:
On Sat, Apr 26, 2008 at 4:41 AM, *<windypo...@gm ail.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...@gma il.comwrote:
On Apr 26, 4:52 am, David <wizza...@gmail .comwrote:
On Sat, Apr 26, 2008 at 4:41 AM, <windypo...@gma il.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
578
by: Dipak Patel | last post by:
Platform: Win2000 SP3, SQL 7.00 - 7.00.1063 I have a SQL-authenticated user with the following permissions: "Process Administrators" server role "db_owner" and "TargetServersRole" for msdb database "db_owner" for master database. The problem is that when this user opens up any job (i.e. owned by any user) in the SQL Server Agent, and goes to the Notifications tab, the first three alerts (Email, Page and Net send) are greyed out, i.e.
383
12273
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a poor man's DBMS, a broken email server and various other /application/ servers to try and crack the Internet and IS markets. In the case where they didn't spend their own money to get companies to
2
1899
by: Blaz | last post by:
I have a windows service that does some stuff. It runs a couple of batch files. After the successful execution of a batch file I need to display some sort of notification to the end user that the job did infact complete successfully.(Note: Once the jobs are completed the service simply keeps checking a folder on the network for more files to process, if it doesnt find them it just sits and does nothing. It checks every minute and works...
3
6376
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the Remote Desktop ActiveX control in my C# app and this works fine. However i have now a new requirement for my app: multiple users have to be able to view and control the same remote desktop simultaneously using my application. Big problem:...
4
21493
by: brandon | last post by:
Anybody out there know how I could go about handling, in a systray'd app, the windows message that the desktop is going to be locked? This way the application can react whenever the Win+L or Ctrl+Alt+Del+L is used to lock the computer. I realize this will probably involve some Windows API work, and am aware of the LockWorkStation inside the User32.dll which causes the locking of the computer, but don't know where to start to find out how...
0
1299
by: GovardhanReddy | last post by:
Hi Can any body help me on window service desktop alerts or notifications. My question is i am working on windows services,I need to generate desktop Notifications using my services.I did Notifications in windows application(using windows forms),it is working fine,But If i paste the same code in Services it is not working ,Can any know abt it Plz help me. Regards Vardhan
1
1254
by: =?Utf-8?B?TWVpa2E=?= | last post by:
i know this probably is the silliest question to ask, but how do i recieve email notifications when my email window isnt up? i know i used to get a little envelope in my toolbar and a bell sounded, but i find i am missing important emails with deadlines because i dont know they are there, if anyone could help me it would be appreciated i am runing windows vista home premium and using the windows mail,
3
2942
by: jergosh | last post by:
Is it possible to display notifications (like those displayed by IM clients when someone's status changes/a message arrives) using wxPython? I tried googling/browsing documentation to find if there's a way but no avail. TIA, Greg.
5
3515
by: njuneardave | last post by:
I have a full-screen C# app, but windows notifications (the little balloons on the bottom right-hand of the screen) and outlook reminders will pop on top of my app. i want to prevent them from doing so. does anyone know how? thanks so much
0
9680
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9528
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10456
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10174
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.