Exemplo n.º 1
0
def main():
    import time
    t = SystrayIconThread()
    t.start()
    time.sleep(2)
    t.post_message(WM_APP, 1, 2)
    time.sleep(1)
    print 'Sending quit'
    t.quit()
Exemplo n.º 2
0
 def __init__(self):
     from pyzen.ui.win32.wrappers import SystrayIconThread
     self.thread = SystrayIconThread()
     self.thread.start()