[PyQt] pynotify

John Hickey jayhickey at san.rr.com
Sat May 8 00:27:22 BST 2010


Hi list

 I'm using pynotify to display a message from the notify area.
 Currently the message is display with cancel and ok buttons. I would
 like to add a skip button. I found some code
	 n.add_action("clicked", "Skip", self.default_cb)
 to add the button and I see the button but the callback to
 self.default_cb never happens. defalult_cb is defined like this:

    def default_cb(n, action):
        assert action == "default"
        print "You clicked the default action"
        n.close()

 Thanks Jay


More information about the PyQt mailing list