Re: A question about GdkEventMask
- From: Owen Taylor <otaylor redhat com>
- To: "Wang, Yong Y" <yong y wang intel com>
- Cc: gtk-devel-list gnome org
- Subject: Re: A question about GdkEventMask
- Date: Thu, 29 Sep 2005 08:41:13 -0400
On Thu, 2005-09-29 at 17:18 +0800, Wang, Yong Y wrote:
> Hi,
> 
> I have some questions about GdkEventMask. To be more specific,
> GDK_PROXIMITY_IN_MASK and GDK_PROXIMITY_OUT_MASK.
> 
> After I set the event mask of a window using the following function 
> gdk_window_set_events (window, GDK_PROXIMITY_IN_MASK |
> GDK_PROXIMITY_OUT_MASK); 
> I cannot get the same event masks back using gdk_window_get_events
> (window).
> 
> From the gdk souce code, I saw that the corresponding entries for
> these two masks in _gdk_event_mask_table[] (in gdkwindow-x11.c) are
> both 0.
> 
> It seems that both GDK_PROXIMITY_IN_MASK and GDK_PROXIMITY_OUT_MASK
> are ignored. 
> If so, shall the documentation add some notes about this issue?
On current platforms, you only receive these events when you enable
XInput events for a window. See gdk_input_set_extension_events().
Regards,
					Owen
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]