get_child


Description:

public void get_child (size_t index, string format_string, ...)

Reads a child item out of a container Variant instance and deconstructs it according to format_string.

This call is essentially a combination of get_child_value and @get.

format_string determines the C types that are used for unpacking the values and also determines if the values are copied or borrowed, see the section on [`GVariant` format strings](gvariant-format-strings.html#pointers).

Parameters:

this

a container Variant

format_string

a Variant format string

...

arguments, as per format_string

index_

the index of the child to deconstruct