1

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

elwc
  • 1,197
  • 2
  • 15
  • 25

1 Answers1

1

I have not tried this myself before, but your question has been asked before, maybe this is of some help for you:

gtk treeview: place image buttons on rows

Community
  • 1
  • 1
GTK 1.2.6 fanboy
  • 839
  • 1
  • 5
  • 20