How to trap MappingNotify event in gtk/gdk?
- From: DIWAKAR SAMBHARE <diwakarsam yahoo co uk>
- To: gtk-devel-list gnome org
- Subject: How to trap MappingNotify event in gtk/gdk?
- Date: Fri, 28 Feb 2003 08:53:47 +0000 (GMT)
Hi,
My gtk application needs to trap MappingNotify event
which is generated and sent to all client applications
when keyboard map in memory is changed as a result of
XChangeKeyboardMapping().
I tried to capture this event using
gdk_window_add_filter() before events are sent to gdk
internal event handling functions. But the
MappingNotify event does not seem to reach to the
filter function; even though other events are captured
in this filter function. Is it because of the fact
that there is no window associated with MappingNotify
event or is it something else?
I also looked into gdk event handling code
(gdkevents.c) and fouind out that on MappingNotify
event, gdk call XRefreshKeyboard() function and then
blocks it from further processing.
Is there any way in which I can still trap
MappingNotify event using gdk?
Thanks in advance.
- Diwakar
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]