[pygtk] catch key_press_event on gtk.CellRendererText (or gtk.TreeViewColumn)
Iñigo Serna
inigoserna at gmail.com
Thu Mar 24 07:16:37 WST 2011
Hi,
On 23 March 2011 18:59, Giuseppe Penone <giuspen at gmail.com> wrote:
> 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
>
[...]
>
> If anybody has an example to provide or a clue please help me.
> Thanks & best regards,
> Giuseppe.
Take a look at:
https://bitbucket.org/inigoserna/bidebarrieta/src/517f2cbc48d8/ui/listview.py
* definition: method __add_tvcol(), lines 87-95
* action callbacks: methods on_text_edited_started() and
on_text_edited(), lines 336-394
Hope it helps,
Iñigo Serna
More information about the pygtk
mailing list