Thank you so much!
 
I've been wondering how in the world to get that event from TreeView.
 
BTW, how is Stetic coming along?

Dan Winship <[EMAIL PROTECTED]> wrote:
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


Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to