MetaContainer


Object Hierarchy:

GES.MetaContainer GES.MetaContainer GES.MetaContainer GLib.Object GLib.Object GLib.Object->GES.MetaContainer

Description:

[ CCode ( type_cname = "GESMetaContainerInterface" , type_id = "ges_meta_container_get_type ()" ) ]
public interface MetaContainer : Object

A Object that implements MetaContainer can have metadata set on it, that is data that is unimportant to its function within GES, but may hold some useful information.

In particular, set_meta can be used to store any Value under any generic field (specified by a string key). The same method can also be used to remove the field by passing null. A number of convenience methods are also provided to make it easier to set common value types. The metadata can then be read with get_meta and similar convenience methods.

Registered Fields

By default, any Value can be set for a metadata field. However, you can register some fields as static, that is they only allow values of a specific type to be set under them, using register_meta or register_static_meta. The set MetaFlag will determine whether the value can be changed, but even if it can be changed, it must be changed to a value of the same type.

Internally, some GES objects will be initialized with static metadata fields. These will correspond to some standard keys, such as META_VOLUME.


Namespace: GES

Content:

Methods:

Signals:

Inherited Members: