用wxPython实现Tray Icon
class MyTaskBarIcon(wx.TaskBarIcon):
...
##
# The task bar application
#
class TaskBarApp(wx.Frame):
##
# \brief the constructor
#
def __init__(self, parent, id, title):
wx.Frame.__init__(self, parent, -1, title, size = (1, 1),
style=wx.FRAME_NO_TASKBAR|wx.NO_FULL_REPAINT_ON_RESIZE)
self.tbicon = MyTaskBarIcon(self)
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/475155
