Tepl.Metadata¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Tepl.Metadata(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new, empty
Tepl.Metadata
object.- Return type:
New in version 5.0.
- get(key)¶
- Parameters:
key (
str
) – a key.- Returns:
the associated value (a UTF-8 string), or
None
. Free withGLib.free
() when no longer needed.- Return type:
Gets the value of a metadata stored in the self object memory.
key must follow ‘the requirements explained in the class description [tepl-metadata-keys-requirements]’.
New in version 5.0.
- set(key, value)¶
- Parameters:
Sets or unsets key. This function just stores the new metadata value in the self object memory.
key must follow ‘the requirements explained in the class description [tepl-metadata-keys-requirements]’.
New in version 5.0.