On 05/15/11 07:56, Petr Kubánek wrote: > Hi, > > I solved some time ago the problem by hooking to on_activate. That > worked for GenericCellRender, not sure if that will work for Pixmap. The > code is on: > > https://rts-2.svn.sourceforge.net/svnroot/rts-2/trunk/pyrts2/windowscheduler.py > > look for on_activate event. There is also description in the code how to > render things in GenericCellRenderer. > > Hope this helps.
Thanks. I tried your approach and it works with GenericCellRenderer, but not with CellRendererPixbuf. It appears CellRendererPixbuf doesn't have any on-activate event. But I can subclass GenericCellRenderer for the same effect. John _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/