GES.VideoTransition

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

Subclasses:None

Properties

Inherited:GES.TrackElement (3), GES.TimelineElement (9)
Name Type Flags Short Description
border int r/w The border width
invert bool r/w Whether the transition is inverted
transition-type GES.VideoStandardTransitionType r/w The type of the transition

Fields

Inherited:GES.TrackElement (2), GES.TimelineElement (1), 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]
Returns:The newly created GES.VideoTransition, or None if there was an error.
Return type:GES.VideoTransition or None

Creates a new 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.

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.

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.

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.

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.

GES.VideoTransition.props.transition_type
Name:transition-type
Type:GES.VideoStandardTransitionType
Default Value:GES.VideoStandardTransitionType.CROSSFADE
Flags:READABLE, WRITABLE

The type of the transition