[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: how to emit a GDK_MOTION_NOTIFY event?
From:       Clemens Kirchgatterer <clemens () root ! at>
Date:       1999-07-14 8:53:40
[Download RAW message or body]

XinKai Wang wrote:
> 
> Clemens Kirchgatterer wrote:
> > so i went back to the gtk-tutorial an tryed the following:
> >
> >     if (current_object != NULL) {
> >       gtk_signal_emit_by_name
> > (GTK_OBJECT(GNOME_CANVAS_POLYGON(current_object)),
> >                                       "motion-notify-event",
> >                                        NULL);
> >     }
> >
> > but now the runtime error turned to:
> >
> > Gtk-WARNING **: gtk_signal_emit_by_name(): could not find signal
> > "motion-notify-event"
> > in the `GnomeCanvasPolygon' class ancestry
> >
> 
> OK, I got it. It IS a GtkWidget signal but you write the worng name.
> It is "motion_notify_event", you can find it in gtkwidget.c: line 438
> (gtk+1.2.3)

thanks for that but ...

i've corrected the typo but nothing changed. :-(
everything seems to be all right.
anyone any idees?

warm regards ...
clemens


-- 
         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