GES.TimelineElementClass

Fields

Name

Type

Access

Description

deep_copy

object

r

Prepare copy for pasting as a copy of self. At least by copying the children properties of self into copy.

get_layer_priority

object

r

get_natural_framerate

object

r

get_track_types

object

r

Return a the track types for the element.

list_children_properties

object

r

List the children properties that have been registered for the element. The default implementation is able to fetch all of these, so should be sufficient. If you overwrite this, you should still call the default implementation to get the full list, and then edit its content.

lookup_child

object

r

Find child, and its registered child property pspec, corresponding to the child property specified by prop_name. The default implementation will search for the first child that matches. If you overwrite this, you will likely still want to call the default vmethod, which has access to the registered parameter specifications.

parent_class

GObject.InitiallyUnownedClass

r

paste

object

r

Paste self, which is the copy prepared by deep_copy, into the timeline at the given paste_position, with ref_element as a reference, which is the self that was passed to deep_copy.

ripple

object

r

Set this method to overwrite a redirect to GES.TimelineElement.edit() in GES.TimelineElement.ripple().

ripple_end

object

r

Set this method to overwrite a redirect to GES.TimelineElement.edit() in GES.TimelineElement.ripple_end().

roll_end

object

r

Set this method to overwrite a redirect to GES.TimelineElement.edit() in GES.TimelineElement.roll_end().

roll_start

object

r

set_child_property

object

r

set_child_property_full

object

r

set_duration

object

r

set_inpoint

object

r

Method called just before the GES.TimelineElement :in-point is set to a new value. This method should not set the GES.TimelineElement :in-point itself, but should check whether it can be changed to the new value and to otherwise prepare the element in response to what the new value will be. A return of False means that the property should not be set.

set_max_duration

object

r

Method called just before the GES.TimelineElement :max-duration is set. This method should not set the GES.TimelineElement :max-duration itself, but should check whether it can be changed to the new value and to otherwise prepare the element in response to what the new value will be. A return of False means that the property should not be set.

set_parent

object

r

Method called just before the GES.TimelineElement :parent is set.

set_priority

object

r

Method called just before the GES.TimelineElement :priority is set.

set_start

object

r

Method called just before the GES.TimelineElement :start is set. This method should check whether the GES.TimelineElement :start can be changed to the new value and to otherwise prepare the element in response to what the new value will be. A return of False means that the property should not be set. A return of True means that the property should be set to the value given to the setter and a notify emitted. A return of -1 means that the property should not be set but the setter should still return True (normally because the method already handled setting the value, potentially to a snapped value, and emitted the notify signal). GES.TimelineElement :duration is set. This method should check whether the GES.TimelineElement :duration can be changed to the new value and to otherwise prepare the element in response to what the new value will be. A return of False means that the property should not be set. A return of True means that the property should be set to the value given to the setter and a notify emitted. A return of -1 means that the property should not be set but the setter should still return True (normally because the method already handled setting the value, potentially to a snapped value, and emitted the notify signal).

trim

object

r

Set this method to overwrite a redirect to GES.TimelineElement.edit() in GES.TimelineElement.trim().

Methods

None

Details

class GES.TimelineElementClass

The GES.TimelineElement base class. Subclasses should override at least set_start set_inpoint set_duration ripple ripple_end roll_start roll_end and trim.

Vmethods in subclasses should apply all the operation they need to but the real method implementation is in charge of setting the proper field, and emitting the notify signal.