Method

GtkSnapshotto_node

Declaration [src]

GskRenderNode*
gtk_snapshot_to_node (
  GtkSnapshot* snapshot
)

Description [src]

Returns the render node that was constructed by snapshot.

After calling this function, it is no longer possible to add more nodes to snapshot. The only function that should be called after this is g_object_unref().

Return value

Returns: GskRenderNode*
 

The constructed GskRenderNode.

 The caller of the function takes ownership of the data, and is responsible for freeing it.