set

@accepts(RB.MetaDataField, GObject.Value)
@returns(gboolean)
def set(field, val)

Sets a metadata field value. The value is only stored inside the RB.MetaData object until rb_metadata_save is called.

field :

the RB.MetaDataField to set

val :

the value to set

Returns :

TRUE if the field is valid