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 <[email protected]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > -- Mike Kestner
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
