On Sun, Apr 15, 2007 at 06:12:15AM -0300, Gabriel Falcão wrote: > self.desktop = gtk.gdk.get_default_root_window() > self.deskEvent = gtk.gdk.Event(gtk.gdk.BUTTON_PRESS) > gtk.binding_entry_add_signal(self.deskEvent, gtk.keysyms.F12, > gtk.keysyms.Control_L, 'button-press-event')
I've only gotten it to work by subclassing a gtk widget as in the FAQ example. Can you subclass egg.TrayIcon? Dave Cook _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/