replace

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

Sets the thread local variable @key to have the value @value in the current thread.

This function differs from g_private_set() in the following way: if the previous value was non-null then the #GDestroyNotify handler for

Since

2.32

Parameters

value

the new value