[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:       Havoc Pennington <rhp () zirx ! pair ! com>
Date:       1999-07-13 13:25:39
[Download RAW message or body]


On Mon, 12 Jul 1999, Clemens Kirchgatterer wrote:
> i have tryed:
>    gtk_signal_emit   (GTK_OBJECT(current_object),
>                       GDK_MOTION_NOTIFY);

Type error, type error. A real language would have caught that. :-)

You're confusing events and signals. You might want to read my two sample
chapters, at http://pobox.com/~hp/gnome-app-devel.html

You should certainly know most of the info in those chapters before trying
to do this.

That said, I don't think you want to do this, and I can think of
several possibly hard-to-solve problems that it will bring up. Most
likely it will be pretty hard to make work, and it will still be flaky
once you do. You are better off invoking your callback manually or
arranging the code some other way. You certainly won't make it work
without a good understanding of Gtk and canvas internals.

Havoc



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