Re: signal for entering a widget



Mitko Haralanov wrote:
        Hi, I have been trying to find the appropriate signal to connect to
when the mouse enters a widget but I have been unsuccessful. I tried
"enter-notify-event" and "motion-notify-event" but none of them are the
right one.

    Not every widget is interrested in "enter-notify-event",
you'll have to make sure GDK_ENTER_NOTIFY_MASK is in your
widget's event mask.

http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#gtk-widget-add-events

Cheers,
                               -Tristan




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