Hi!
I have an issue with my Gtk list. I have derivied a list from TreeView.
Mi problem is that I can't capture rigth button event to show my popup
menu. I do this:

.
.
.
this.ButtonPressEvent += new ButtonPressEventHandler(test);
.
.
.
public void test (object o, ButtonPressEventArgs args)
{
        Gdk.EventButton eb = args.Event;
        Console.WriteLine("Clicking");
        if (eb.Button == 3) { // Right click
          Console.WriteLine ("Right click");
        }
}

Nothing appears in the console. I hope you can help me.

Kind regards

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to