prepend

fun prepend(value: Value? = null): ValueArray(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.32.

Use #GArray and g_array_prepend_val() instead.

---

Insert a copy of @value as first element of @value_array. If @value is null, an uninitialized value is prepended.

Return

the #GValueArray passed in as @value_array

Parameters

value

#GValue to copy into #GValueArray, or null