On 6 Nov 2000, Owen Taylor wrote:
Hi,
>
> Jon Cook <[EMAIL PROTECTED]> writes:
>
> > Hi,
> >
> > Unlike its X equivalent, the GdkEventKey data structure does not
> > contain the position of the mouse when the key press/release event
> > occurred. Is there any way of getting this information.
>
> Not really, sorry. You can use gdk_window_add_filter() to get
> direct access to the X event.
>
> Alternatively, you can use gdk_window_get_pointer() when you receive
> the event and assume that is close enough.
Why can't we add these fields to GdkEventKey in gtk-2.0? Why these fields
were not there in the gtk-1.x?
Speaking about GdkEventKey, I proposed (in August on gtk-devel-list) addition
of 2 more fields to it to aid i18n of it, so now it can be right time to think
about extending GdkEventKey.
> Regards,
> Owen
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Best regards,
-Vlad
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list