event_add_filter
Description:
[ Version ( replacement = "Event.add_filter" , since = "1.18" ) ]
public uint event_add_filter (Stage? stage, owned EventFilterFunc func)
Adds a function which will be called for all events that Clutter processes.
The function will be called before any signals are emitted for the event and it will take precedence over any grabs.
Parameters:
stage |
The Stage to capture events for |
func |
The callback function which will be passed all events. |
notify | |
user_data |
A data pointer to pass to the function. |
Returns:
an identifier for the event filter, to be used with event_remove_filter. |
Namespace: Clutter
Package: clutter-1.0