GES.TrackElementAsset

g GES.Asset GES.Asset GES.TrackElementAsset GES.TrackElementAsset GES.Asset->GES.TrackElementAsset GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.Asset GObject.GInterface GObject.GInterface GObject.GInterface->GES.MetaContainer Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GObject.Object->GES.Asset Gio.AsyncInitable->GES.Asset Gio.Initable->GES.Asset

Subclasses:

GES.EffectAsset, GES.UriSourceAsset

Methods

Inherited:

GES.Asset (13), GObject.Object (37), GES.MetaContainer (40), Gio.AsyncInitable (4), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

get_natural_framerate ()

get_track_type ()

set_track_type (type)

Virtual Methods

Inherited:

GES.Asset (5), GObject.Object (7), Gio.AsyncInitable (2), Gio.Initable (1)

do_get_natural_framerate ()

Properties

Inherited:

GES.Asset (4)

Name

Type

Flags

Short Description

track-type

GES.TrackType

r/w/c

The GES.TrackType in which the object is

Signals

Inherited:

GObject.Object (1), GES.MetaContainer (1)

Fields

Inherited:

GObject.Object (1), GES.MetaContainer (1)

Name

Type

Access

Description

parent

GES.Asset

r

Class Details

class GES.TrackElementAsset(**kwargs)
Bases:

GES.Asset

Abstract:

No

Structure:

GES.TrackElementAssetClass

get_natural_framerate()[source]
Returns:

framerate_n:

The framerate numerator

framerate_d:

The framerate denominator

Return type:

(bool, framerate_n: int, framerate_d: int)

Result: True if self has a natural framerate False otherwise

New in version 1.18.

get_track_type()[source]
Returns:

a GES.TrackType

Return type:

GES.TrackType

Get the GESAssetTrackType the GES.TrackElement extracted from self should get into

set_track_type(type)[source]
Parameters:

type (GES.TrackType) – A GES.TrackType

Set the GES.TrackType the GES.TrackElement extracted from self should get into

do_get_natural_framerate() virtual
Returns:

True if self has a natural framerate False otherwise.

framerate_n:

The framerate numerator

framerate_d:

The framerate denominator

Return type:

(bool, framerate_n: int, framerate_d: int)

Result: True if self has a natural framerate False otherwise

New in version 1.18.

Property Details

GES.TrackElementAsset.props.track_type
Name:

track-type

Type:

GES.TrackType

Default Value:

GES.TrackType.UNKNOWN

Flags:

READABLE, WRITABLE, CONSTRUCT

The GES.TrackType in which the object is