set_node_filter
Description:
Sets the function to use as a node filter.
This is the most complex function to use for replaying nodes. It can either:
* keep the node and just return it unchanged
* create a replacement node and return that
* discard the node by returning `NULL`
* call [method@Gsk.RenderReplay.default] to have the default handler run for this node, which calls your function on its children
Parameters:
| filter |
the function to call to replay nodes |
| user_data |
user data to pass to |
| user_destroy |
destroy notify that will be called to release the user data parameter |