[pygtk] catch key_press_event on gtk.CellRendererText (or gtk.TreeViewColumn)
Giuseppe Penone
giuspen at gmail.com
Thu Mar 24 01:59:24 WST 2011
Hi,
I have a table with editable cells implemented with liststore+treeview in my
application http://giuspen.com/cherrytree .
I'm trying to connect a callback to any char inserted in a editable
liststore cell but I cannot find a way since
1) when the user is inserting text in an editable liststore text cell the
event is not catched from the treeview
2) neither gtk.CellRendererText nor gtk.TreeViewColumn descend from a widget
(but gtk.object instead).
3) I tried to connect signals to gtk.object how explained in
http://faq.pygtk.org/index.py?req=show&file=faq23.034.htp but no result
connecting either the gtk.CellRendererText and the gtk.TreeViewColumn
If anybody has an example to provide or a clue please help me.
Thanks & best regards,
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110323/a5db9169/attachment.html>
More information about the pygtk
mailing list