As far as I know, only gtk.CellRendererToggle
and gtk.CellRendererText
can be activated. I have a gtk.CellRendererPixbuf
in a gtk.TreeView
which I want to make it emit a signal when clicked.
I read that the activate()
function can do the job but I do not know how to implement it.
def activate(event, widget, path, background_area, cell_area, flags)
What does each of these arguments mean and how do I set/obtain them? Any examples would be extremely helpful.
Thanks in advance