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

Emiliano Gabriel Canedo ecanedo at postresbalcarce.com.ar
Wed May 14 14:36:24 UTC 2014


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
-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20140514/a2f865f7/attachment.html>


More information about the Gtk-sharp-list mailing list