Structure.idTakeValue

void idTakeValue(glib.types.Quark field, gobject.value.Value value)

Sets the field with the given GQuark field to value. If the field does not exist, it is created. If the field exists, the previous value is replaced and freed.

Parameters

fielda #GQuark representing a field
valuethe new value of the field