Hello all,

        Based on this example
http://www.saltycrane.com/blog/2008/01/how-to-capture-tab-key-press-event-with/i've
created a class as below

class SystemTrayIcon(QtGui.QSystemTrayIcon):

    def __init__(self,parent,objectName):

        QtGui.QSystemTrayIcon.__init__(self,parent)

        self.setObjectName(objectName)

        print("Tray icon created")

    def activated(self,reason):

        if reason==QtGui.QSystemTrayIcon.DoubleClick:

            print("Tray icon Double clicked")

After creating an object for this class when i double click the tray icon
nothing happens. Any idea of what am i missing here?? Thanks..
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to