Re: GDK_ENTER_NOTIFY problem
- From: Chris Vine <chris cvine freeserve co uk>
- To: Roei Azachi <roei zon-networks com>
- Cc: gtk-list gnome org
- Subject: Re: GDK_ENTER_NOTIFY problem
- Date: Mon, 16 Feb 2009 11:32:05 +0000
On Mon, 16 Feb 2009 12:19:08 +0200
Roei Azachi <roei zon-networks com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]