insert

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

Inserts a key/value pair into a #GTree.

Inserts a new key and value into a #GTree as g_tree_insert_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