ValueArray.insert

Warning g_value_array_insert has been deprecated since version 2.32 and should not be used in newly-written code. Use GArray and g_array_insert_val() instead. 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