ValueArray.insert

Insert a copy of value at specified position into value_array. If value is NULL, an uninitialized value is inserted.

class ValueArray
insert

Parameters

index uint

insertion position, must be <= value_array->n_values

value Value

GValue to copy into GValueArray, or NULL. [allow-none]

Return Value

the GValueArray passed in as value_array. [transfer none]

Meta