radu wrote:
>  I'm trying to catch the ButtonPressEvent for a TreeView and implement a
> context popup menu, but it seams the event doesn't get fired. Do I have
> to use an EventBox or there is another way around?

You need to use the [GLib.ConnectBefore] attribute on the signal
handler, because in certain cases, TreeView's default ButtonPressEvent
handler will just eat the event and not give anyone else a chance to
handle it.

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

Reply via email to