Structure.idTakeValue

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.

class Structure
void
idTakeValue

Parameters

field glib.types.Quark

a #GQuark representing a field

value gobject.value.Value

the new value of the field