Hi all,
I’d like to implement like below 2 feature in my Windows application using wxPython:
-
Display a tray icon that is changed its icon depend on it’s states
-
Display a Notification message using wx.NotificationMessage.
Before trying 2, displaying tray icon and change its icon was working well. However, problem begin with using NotificationMessage.
ShowMessage method which is in attached Notification.py work well at first execution, but, this have below problem.
-
NotificationMessage creates another tray-icon
-
NotificationMessage never display when user click or mouser over created tray-icon
-
First created tray-icon works well
Would you please let me know how can I display NotificationMessage on tray-icon?
Best Regards,
Inseok
Notification.py (663 Bytes)
Hi,
Hi all,
I'd like to implement like below 2 feature in my Windows application using wxPython:
1. Display a tray icon that is changed its icon depend on it's states
2. Display a Notification message using wx.NotificationMessage.
Before trying 2, displaying tray icon and change its icon was working well. However, problem begin with using NotificationMessage.
ShowMessage method which is in attached Notification.py work well at first execution, but, this have below problem.
1. NotificationMessage creates another tray-icon
2. NotificationMessage never display when user click or mouser over created tray-icon
3. First created tray-icon works well
Would you please let me know how can I display NotificationMessage on tray-icon?
Check out the wxPython demo, it uses a tray icon, see the DemoTaskBarIcon class and maybe your problem is caused by a size issue of the icon, see MakeIcon in the demo.
If it still doesn't work you might want to create a sample app MakingSampleApps - wxPyWiki and mention what version and platform you are using.
Werner
···
On 6/16/2014 7:19, Inseok Lee wrote: