Function

Coglxlib_renderer_add_filter

Declaration [src]

void
cogl_xlib_renderer_add_filter (
  CoglRenderer* renderer,
  CoglXlibFilterFunc func,
  void* data
)

Description [src]

Adds a callback function that will receive all native events. The function can stop further processing of the event by return COGL_FILTER_REMOVE.

Parameters

renderer Coglenderer
 

A CoglRenderer.

 The data is owned by the caller of the function.
func CoglXlibFilterFunc
 

The callback function.

data void*
 

User data passed to func when called.

 The argument can be NULL.
 The data is owned by the caller of the function.