EventFilterFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "1.18" ) ]
public delegate bool EventFilterFunc (Event event)

A function pointer type used by event filters that are added with add_filter.

Parameters:

event

the event that is going to be emitted

user_data

the data pointer passed to add_filter

Returns:

CLUTTER_EVENT_STOP to indicate that the event has been handled or CLUTTER_EVENT_PROPAGATE otherwise. Returning CLUTTER_EVENT_STOP skips any further filter functions and prevents the signal emission for the event.


Namespace: Clutter
Package: clutter-1.0