Re: motion-notify-event problems



David Necas (Yeti) wrote:
On Mon, Apr 04, 2005 at 05:58:17PM -0300, Gustavo Rahal wrote:

I have a window with a label and an entry, when I connect
motion-notify-event to the window the signal is only emmited when the
mouse passes over the entry... wasn't it supposed to be emitted anywhere
inside the window?

What widget did you attach it to?

to the window (gtk.Window)


Did you call gtk_widget_add_events(window, GDK_POINTER_MOTION_MASK)?

Yeti


Thanks, that solved the problem!
Why do I have to put this extra line?

Gustavo






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]