[Gtk-sharp-list] Class derived from Gtk.Bin does not get Mouse Events

Mike Kestner mkestner at gmail.com
Thu Jan 5 13:20:09 EST 2012

If you want events, you probably want to subclass EventBox instead of Bin
as it has a window to receive events.  Bin is windowless.

On Thu, Jan 5, 2012 at 10:11 AM, egrath <Egon.Rath at gmail.com> wrote:

> Hello,
> i have derived new container class from Gtk.Bin and currently have the
> probem that this container class does not receive Mouse Events.
> This is the Handler which does not get called. In the constructor of the
> class i have set up the Event mask to include all events:
> Can someone please tell me what else i have to take care of to get the
> events?
> Thanks,
> egrath
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Class-derived-from-Gtk-Bin-does-not-get-Mouse-Events-tp4266455p4266455.html
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list


Mike Kestner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20120105/41dbac8b/attachment.html 

More information about the Gtk-sharp-list mailing list