GES.VideoTransition

g GES.Extractable GES.Extractable GES.TimelineElement GES.TimelineElement GES.Extractable->GES.TimelineElement GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.TimelineElement GES.Operation GES.Operation GES.Transition GES.Transition GES.Operation->GES.Transition GES.TrackElement GES.TrackElement GES.TimelineElement->GES.TrackElement GES.TrackElement->GES.Operation GES.VideoTransition GES.VideoTransition GES.Transition->GES.VideoTransition GObject.GInterface GObject.GInterface GObject.GInterface->GES.Extractable GObject.GInterface->GES.MetaContainer GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->GES.TimelineElement GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)

Structs:

GObject.ObjectClass (5)

class

new ()

get_border ()

get_transition_type ()

is_inverted ()

set_border (value)

set_inverted (inverted)

set_transition_type (type)

Virtual Methods

Inherited:

GES.TrackElement (5), GES.TimelineElement (18), GObject.Object (7), GES.Extractable (3)

Properties

Inherited:

GES.TrackElement (5), GES.TimelineElement (9)

Name

Type

Flags

Short Description

border

int

r/w

The border width

invert

bool

r/w

Whether the transition is inverted deprecated

transition-type

GES.VideoStandardTransitionType

r/w

The type of the transition

Signals

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Fields

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Name

Type

Access

Description

parent

GES.Transition

r

Class Details

class GES.VideoTransition(**kwargs)
Bases:

GES.Transition

Abstract:

No

Structure:

GES.VideoTransitionClass

classmethod new()[source]
Return type:

GES.VideoTransition

get_border()[source]
Returns:

The border values of self or -1 if not meaningful (this will happen when not using a smpte transition).

Return type:

int

Get the border property of self, this value represents the border width of the transition.

Deprecated since version 1.20: Use GES.TimelineElement.get_child_property instead.

get_transition_type()[source]
Returns:

The transition type used by self.

Return type:

GES.VideoStandardTransitionType

Get the transition type used by self.

is_inverted()[source]
Returns:

The invert value of self

Return type:

bool

Get the invert property of self, this value represents the direction of the transition.

Deprecated since version 1.20: Use GES.TimelineElement.get_child_property instead.

set_border(value)[source]
Parameters:

value (int) – The value of the border to set on object

Set the border property of self, this value represents the border width of the transition. In case this value does not make sense for the current transition type, it is cached for later use.

Deprecated since version 1.20: Use GES.TimelineElement.set_child_property instead.

set_inverted(inverted)[source]
Parameters:

inverted (bool) – True if the transition should be inverted False otherwise

Set the invert property of self, this value represents the direction of the transition. In case this value does not make sense for the current transition type, it is cached for later use.

Deprecated since version 1.20: Use GES.TimelineElement.set_child_property instead.

set_transition_type(type)[source]
Parameters:

type (GES.VideoStandardTransitionType) – a GES.VideoStandardTransitionType

Returns:

True if the transition type was properly changed, else False.

Return type:

bool

Sets the transition being used to type.

Property Details

GES.VideoTransition.props.border
Name:

border

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

This value represents the border width of the transition.

GES.VideoTransition.props.invert
Name:

invert

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

This value represents the direction of the transition.

Deprecated since version 1.20: Use ges_timeline_element_[sg]et_child_property instead.

GES.VideoTransition.props.transition_type
Name:

transition-type

Type:

GES.VideoStandardTransitionType

Default Value:

GES.VideoStandardTransitionType.CROSSFADE

Flags:

READABLE, WRITABLE

The type of the transition