On Wed, 2006-03-08 at 12:33 +0100, Michael Gebhart wrote: > (<unknown>:18300): Gtk-CRITICAL **: gtk_widget_real_realize: assertion > `GTK_WIDGET_NO_WINDOW (widget)' failed > > (<unknown>:18300): Gtk-CRITICAL **: gtk_widget_real_map: assertion > `GTK_WIDGET_REALIZED (widget) == TRUE' failed > > The window is shown, but my events aren't called. Any ideas, what I did > wrong?
You didn't create a Gdk.Window for your widget. The Gdk.Window is the X window that actually receives the events and proxies them to the widget specified in its UserData member. If you want to create a widget without manually specifying the underlying Gdk.Window, you can subclass Gtk.DrawingArea. -- Mike Kestner <[EMAIL PROTECTED]> _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
