Functions

serialization_error_quark ()

transform_parse (string)

value_dup_render_node (value)

value_get_render_node (value)

value_set_render_node (value, node)

value_take_render_node (value, node)

Details

Gsk.serialization_error_quark()
Return type:

int

Gsk.transform_parse(string)
Parameters:

string (str) – the string to parse

Returns:

True if string described a valid transform.

out_transform:

The location to put the transform in

Return type:

(bool, out_transform: Gsk.Transform)

Parses the given string into a transform and puts it in out_transform.

Strings printed via [method`Gsk`.Transform.to_string] can be read in again successfully using this function.

If string does not describe a valid transform, False is returned and None is put in out_transform.

Gsk.value_dup_render_node(value)
Parameters:

value (GObject.Value) – a [struct`GObject`.Value] initialized with type GSK_TYPE_RENDER_NODE

Returns:

a GskRenderNode

Return type:

Gsk.RenderNode or None

Retrieves the GskRenderNode stored inside the given value, and acquires a reference to it.

New in version 4.6.

Gsk.value_get_render_node(value)
Parameters:

value (GObject.Value) – a GValue initialized with type GSK_TYPE_RENDER_NODE

Returns:

a GskRenderNode

Return type:

Gsk.RenderNode or None

Retrieves the GskRenderNode stored inside the given value.

New in version 4.6.

Gsk.value_set_render_node(value, node)
Parameters:
  • value (GObject.Value) – a [struct`GObject`.Value] initialized with type GSK_TYPE_RENDER_NODE

  • node (Gsk.RenderNode) – a GskRenderNode

Stores the given GskRenderNode inside value.

The [struct`GObject`.Value] will acquire a reference to the node.

New in version 4.6.

Gsk.value_take_render_node(value, node)
Parameters:

Stores the given GskRenderNode inside value.

This function transfers the ownership of the node to the GValue.

New in version 4.6.