create_track_element


Description:

[ NoWrapper ]
public virtual unowned TrackElement? create_track_element (TrackType type)

Method to create the core TrackElement of a clip of this class.

If a clip of this class may create several track elements per track type, this should be left as null, and GESClipClass:GESClip:create_track_elementss should be used instead. Otherwise, you should implement this class method and leave GESClipClass:GESClip:create_track_elementss as the default implementation

Parameters:

this

A Clip

type

A TrackType to create a TrackElement for

Returns:

The TrackElement created by this, or null if this can not provide a track element for the given type or an error occurred.