replace

fun replace(value: <Error class: unknown class>? = null)

Replaces the value currently pointed to by the iterator from its associated #GHashTable. Can only be called after g_hash_table_iter_next() returned true.

If you supplied a @value_destroy_func when creating the #GHashTable, the old value is freed using that function.

Since

2.30

Parameters

value

the value to replace with