set_variant


Description:

[ Version ( since = "0.19.10" ) ]
public void set_variant (uint part, string key, Variant value)

Set key in part part of this to have value as its value.

If value is a floating reference (see g_variant_ref_sink), then this function will take ownership of it.

Parameters:

this

a message

part

a part number, which must be strictly less than the number returned by count_parts

key

a key in the mapping representing the part

value

a value