GLib.VariantDict.prototype.insert_value

function insert_value(key: String, value: GLib.Variant): void {
    // Gjs wrapper for g_variant_dict_insert_value()
}
  

Inserts (or replaces) a key in a GLib.VariantDict.

value is consumed if it is floating.

Since 2.40

key

the key to insert a value for

value

the value to insert