is_core


Description:

[ Version ( since = "1.18" ) ]
public bool is_core ()

Get whether the given track element is a core track element.

That is, it was created by the create_track_elements Clip method for some Clip.

Note that such a track element can only be added to a clip that shares the same Asset as the clip that created it. For example, you are allowed to move core children between clips that resulted from ungroup, but you could not move the core child from a UriClip to a TitleClip or another UriClip with a different uri.

Moreover, if a core track element is added to a clip, it will always be added as a core child. Therefore, if this returns true, then element will be a core child of its parent clip.

Parameters:

this

A TrackElement

Returns:

true if element is a core track element.




2022 vala-language.org