Functions¶
|
|
|
|
|
|
|
|
|
Details¶
- 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 andNone
is put in out_transform.
- Gsk.value_dup_render_node(value)¶
- Parameters:
value (
GObject.Value
) – a [struct`GObject`.Value] initialized with typeGSK_TYPE_RENDER_NODE
- Returns:
a
GskRenderNode
- Return type:
Retrieves the
GskRenderNode
stored inside the givenvalue
, and acquires a reference to it.New in version 4.6.
- Gsk.value_get_render_node(value)¶
- Parameters:
value (
GObject.Value
) – aGValue
initialized with typeGSK_TYPE_RENDER_NODE
- Returns:
a
GskRenderNode
- Return type:
Retrieves the
GskRenderNode
stored inside the givenvalue
.New in version 4.6.
- Gsk.value_set_render_node(value, node)¶
- Parameters:
value (
GObject.Value
) – a [struct`GObject`.Value] initialized with typeGSK_TYPE_RENDER_NODE
node (
Gsk.RenderNode
) – aGskRenderNode
Stores the given
GskRenderNode
insidevalue
.The [struct`GObject`.Value] will acquire a reference to the
node
.New in version 4.6.
- Gsk.value_take_render_node(value, node)¶
- Parameters:
value (
GObject.Value
) – a [struct`GObject`.Value] initialized with typeGSK_TYPE_RENDER_NODE
node (
Gsk.RenderNode
orNone
) – aGskRenderNode
Stores the given
GskRenderNode
insidevalue
.This function transfers the ownership of the
node
to theGValue
.New in version 4.6.