Function
GdkFilterFunc
Description [src]
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-
Type:
GdkXEventThe native event to filter.
The data is owned by the caller of the function. event-
Type:
GdkEventThe GDK event to which the X event will be translated.
The data is owned by the caller of the function. data-
Type:
gpointerUser data set when the filter was installed.
The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: GdkFilterReturn
A GdkFilterReturn value.