ValueArray.insert

gobject.value_array.ValueArray insert(uint index, gobject.value.Value value = null)

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

Parameters

indexinsertion position, must be <= value_array->;n_values
value#GValue to copy into #GValueArray, or null

Returns

the #GValueArray passed in as value_array

Deprecated

Use #GArray and g_array_insert_val() instead.