Gtk.Snapshot.to_node

### Method

# Gtk Snapshotto_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 method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.