insert

fun insert(index: <Error class: unknown class>, value: Value? = null): ValueArray

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

Return

the #GValueArray passed in as @value_array

Parameters

index

insertion position, must be <= value_array->;n_values

value

#GValue to copy into #GValueArray, or null