Variant.getChildValue

Reads a child item out of a container GVariant instance. This includes variants, maybes, arrays, tuples and dictionary entries. It is an error to call this function on any other type of GVariant. It is an error if index_ is greater than the number of child items in the container. See g_variant_n_children(). This function is O(1). Since 2.24

class Variant
getChildValue

Parameters

index gsize

the index of the child to fetch

Return Value

Type: Variant

the child at the specified index

Meta