[pygtk] TreeView/cell/signals

John Finlay finlay at moeraki.com
Fri Jan 23 17:54:37 WST 2009


Alessandro Dentella wrote:
> ... the same problem, a different point of view...
>
> If I enter a CellRendererText in editing mode I can press return and the
> mode switched and signal 'edited'is emitted.
>
> Who is responsable for that?  I guess is the editable as I can't imagine
> anything else... but how can I be sure? I mean is there a way to "listen all
> signals" and who is emitting them?
>
> Which is the signal emitted? 
>
> What can I do from within the 'edited' callback to stop switching from
> editing mode? 
>
> sandro
>
>
>   
The signals are described in the Reference Manual but sometimes can be 
hard to find. The devhelp application can help find them because it 
provides a search mode.

If I understand your question I don't think that you can prevent the 
Entry that is used as the CellEditable for the CellRendererText from 
closing when activated. You can only prevent the edits from being 
applied which is the default.

John

John


More information about the pygtk mailing list