replace

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

Inserts a new key and value into a #GTree as g_tree_replace_node() does, only this function does not return the inserted or set node.

Parameters

key

the key to insert

value

the value corresponding to the key