FilterFunc
Description:
[ CCode ( instance_pos = 2.9 ) ]
public delegate FilterReturn FilterFunc (XEvent xevent, Event event)
public delegate FilterReturn FilterFunc (XEvent xevent, Event event)
Specifies the type of function used to filter native events before they are converted to GDK events.
When a filter is called, event
is unpopulated, except for `event->window`. The filter may translate the native event to a GDK
event and store the result in event
, or handle it without translation. If the filter translates the event and processing should
continue, it should return gdk_filter_translate.
Parameters:
xevent |
the native event to filter. |
event |
the GDK event to which the X event will be translated. |
data |
user data set when the filter was installed. |
Returns:
a FilterReturn value. |
Namespace: Gdk
Package: gdk-3.0