Re: GDK_ENTER_NOTIFY problem

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

 



On Mon, 16 Feb 2009 12:19:08 +0200
Roei Azachi <roei@xxxxxxxxxxxxxxxx> wrote:
> 
> Hi,
> I have a small problem.
> when my application get focused, the widget under the mouse cursor
> does not get GDK_ENTER_NOTIFY event.
> for example, if the mouse cursor is over a button, the button does
> not get highlighted.
> any idea on how can I overcome this issue?
> Thanks,
> Roei

Have you added GDK_ENTER_NOTIFY_MASK to the events the widget will
receive?  (See gtk_widget_add_events().)  Note also that if the widget
does not have its own GdkWindow (most do) you will need to put it in an
event box.

Chris

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux