Gsk.PasteNode
Description: Reference for Gsk.PasteNode

### Class

# GskPasteNode

since: 4.22

#### Description [src]

    final class Gsk.PasteNode : GObject.TypeInstance
    {
      /* No available fields */
    }

A render node for a paste.

Available since: 4.22

#### Hierarchy

#### Ancestors

- GskRenderNode

#### Constructors

###### gsk_paste_node_new

Creates a `GskRenderNode` that will paste copied contents.

since: 4.22

#### Instance methods

###### gsk_paste_node_get_depth

Retrieves the index of the copy that should be pasted.

since: 4.22

###### gsk_paste_node_get_snap

Retrieves the snap value for this node.

unstable since: 4.24

##### Methods inherited from GskRenderNode (9)

###### gsk_render_node_draw

Draws the contents of a render node on a cairo context.

###### gsk_render_node_get_bounds

Retrieves the boundaries of the `node`.

###### gsk_render_node_get_children

Gets a list of all children nodes of the rendernode.

since: 4.22

###### gsk_render_node_get_node_type

Returns the type of the render node.

###### gsk_render_node_get_opaque_rect

Gets an opaque rectangle inside the node that GTK can determine to be fully opaque.

since: 4.16

###### gsk_render_node_ref

Acquires a reference on the given `GskRenderNode`.

###### gsk_render_node_serialize

Serializes the `node` for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to `gsk_render_node_serialize()` and `gsk_render_node_deserialize()` will correctly reject files it cannot open that were created with previous versions of GTK.

###### gsk_render_node_unref

Releases a reference on the given `GskRenderNode`.

###### gsk_render_node_write_to_file

This function is equivalent to calling `gsk_render_node_serialize()` followed by `g_file_set_contents()`.