Function

GskRenderReplayNodeForeach

unstable since: 4.22

Declaration

gboolean
(* GskRenderReplayNodeForeach) (
  GskRenderReplay* replay,
  GskRenderNode* node,
  gpointer user_data
)

Description [src]

A function called for every node.

If this function returns TRUE, the replay will continue and call the filter function.

If it returns FALSE, the filter function will not be called and any child nodes will be skipped.

Available since: 4.22

Parameters

replay

Type: GskRenderReplay

The replay object used to replay the node.

The data is owned by the caller of the function.
node

Type: GskRenderNode

The node to replay.

The data is owned by the caller of the function.
user_data

Type: gpointer

The user data.

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

Return value

Type: gboolean

TRUE to descend into this node’s child nodes (if any) or FALSE to skip them.