Mouse motion events
- From: Douwe Vos <dmvos2000 yahoo com>
- To: gtk-list gnome org
- Subject: Mouse motion events
- Date: Fri, 1 Aug 2008 04:37:51 -0700 (PDT)
Hi, I'm trying to get mouse motion-events from an implementation of the GtkContainer but whatever I try, I do not get events. The documentation more or less makes notice that these events are thrown on GtkWindow types only. So I tried to change my container implementation to extend from GtkWindow instead of GtkContainer. This didn't work either. So then I tried to remove the line GTK_WIDGET_SET_FLAGS (my_container, GTK_NO_WINDOW); but then I get
** Gtk:ERROR:(/build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:7967):gtk_widget_real_realize: assertion failed: (GTK_WIDGET_NO_WINDOW (widget))
Aborted
I just need some mouse events :(
Douwe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]