[pygtk] CellRenderer editable on double-click

asomers at gmail.com asomers at gmail.com
Sat Aug 15 15:58:39 WST 2009


I see.  AFAIK a treeview won't emit any signal on a double click.
Maybe you could define your own widget that inherits from both
gtk.Button and gtk.TreeView so you can get the clicked signal.  Then
you would have to use something like
gtk.TreeView.widget_to_tree_coords on the event's coordinates to get
something useful.  Just a thought.
-Alan

On Fri, Aug 14, 2009 at 12:22 PM, Tobias Weber<towb at celvina.de> wrote:
> On 14.08.2009, at 19:29, asomers at gmail.com wrote:
>
>> Try connecting to the 'edited' signal of the CellRendererText
>
> That's emitted after editing stops. I need an alternative to editing.
> Like a file manager: slow double click edits, fast double click
> launches.
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>


More information about the pygtk mailing list