Functions

path_parse(string: str) Path | None
Parameters:

string

serialization_error_quark() int
stroke_equal(stroke1: None, stroke2: None) bool
Parameters:
  • stroke1

  • stroke2

transform_parse(string: str) tuple[bool, Transform]
Parameters:

string

value_dup_render_node(value: Any) RenderNode | None

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

Added in version 4.6.

Parameters:

value – a Value initialized with type GSK_TYPE_RENDER_NODE

Returns:

a GskRenderNode

value_get_render_node(value: Any) RenderNode | None

Retrieves the GskRenderNode stored inside the given value.

Added in version 4.6.

Parameters:

value – a GValue initialized with type GSK_TYPE_RENDER_NODE

Returns:

a GskRenderNode

value_set_render_node(value: Any, node: RenderNode) None

Stores the given GskRenderNode inside value.

The Value will acquire a reference to the node.

Added in version 4.6.

Parameters:
  • value – a Value initialized with type GSK_TYPE_RENDER_NODE

  • node – a GskRenderNode

value_take_render_node(value: Any, node: RenderNode | None = None) None

Stores the given GskRenderNode inside value.

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

Added in version 4.6.

Parameters:
  • value – a Value initialized with type GSK_TYPE_RENDER_NODE

  • node – a GskRenderNode