set_for_id
Description:
Sets the first value associated with key_name
in this.
This key_name
is used to create a new ParamSpec instance, which is
further used to create and register a key using
register_metadata_key. If key_name
already has a first value
, old value is replaced by the new one.
A property key_name consists of segments consisting of ASCII letters and digits, separated by either the '-' or '_' character. The first character of a property key_name must be a letter. Key_names which violate these rules lead to undefined behaviour.
Parameters:
this |
data to change |
key_name |
name of the key to change or add |
value |
the new value |
Returns:
TRUE if |