[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: how to emit a GDK_MOTION_NOTIFY event?
From: Clemens Kirchgatterer <clemens () root ! at>
Date: 1999-07-12 21:38:30
[Download RAW message or body]
hi!
i've got the following problem.
i have connected a signal handler to an gnome_canvas_item like this:
gtk_signal_connect(GTK_OBJECT(item),
"event",
(GtkSignalFunc)item_event,
NULL);
the function prototype of item_event is the following:
gint item_event(GnomeCanvasItem *item, GdkEvent *event, gpointer
data);
now i want my programm to emit the GDK_MOTION_NOTIFY event, so the code
in my
event handler gets called.
i have tryed:
gtk_signal_emit (GTK_OBJECT(current_object),
GDK_MOTION_NOTIFY);
but all i got was:
Gtk-CRITICAL **: file gtksignal.c: line 541 (gtk_signal_emit):
assertion `gtk_type_is_a
(GTK_OBJECT_TYPE (object), signal->object_type)' failed.
any suggestions?
i hope it isn't a to dumb mistake. ;-)
warm regards ...
clemens
--
KiCK (Kirchgatterer Computer & Kommunikation)
++43 7675 4095
++43 0699 1012 9109
--
To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
"unsubscribe" as the Subject.
Mailing list concerns should be mailed to <listmaster@redhat.com>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic