[Gtk-sharp-list] Double-Click in NodeView

Jacek Rużyczka stacheldraht at interia.pl
Wed May 14 17:46:12 UTC 2014


Hola,

you need to register the Activated event.

Regards
Jacek

Am Mittwoch, den 14.05.2014, 11:36 -0300 schrieb Emiliano Gabriel
Canedo:
> Hello!
> 
> I need capture the event "double-click" over a nodeview's selected
> row; don't find the event to realize that. I tryed to the nodeview's
> "ButtonPressEvent", but don't work. Any suggestions?
> 
> This code don't work:
> 
> mynodeview.ButtonPressEvent += delegate(object o,
> Gtk.ButtonPressEventArgs args) {
>         if (args.Event.Type == EventType.TwoButtonPress)
>             Console.WriteLine("double-click");
> };
> 
> Without a nodeview, with all other widgets, works perfectly.
> 
> thanks,
> Emiliano Canedo
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
> 



More information about the Gtk-sharp-list mailing list