GES.TitleSource

g GES.Extractable GES.Extractable GES.TimelineElement GES.TimelineElement GES.Extractable->GES.TimelineElement GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.TimelineElement GES.Source GES.Source GES.VideoSource GES.VideoSource GES.Source->GES.VideoSource GES.TrackElement GES.TrackElement GES.TimelineElement->GES.TrackElement GES.TitleSource GES.TitleSource GES.TrackElement->GES.Source GES.VideoSource->GES.TitleSource 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.VideoSource (1), GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)

Structs:

GObject.ObjectClass (5)

get_background_color ()

get_font_desc ()

get_halignment ()

get_text ()

get_text_color ()

get_valignment ()

get_xpos ()

get_ypos ()

set_background_color (color)

set_font_desc (font_desc)

set_halignment (halign)

set_text (text)

set_text_color (color)

set_valignment (valign)

set_xpos (position)

set_ypos (position)

Virtual Methods

Inherited:

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

Properties

Inherited:

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

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.VideoSource

r

Class Details

class GES.TitleSource(**kwargs)
Bases:

GES.VideoSource

Abstract:

No

Structure:

GES.TitleSourceClass

GES.TitleSource is a GES.TimelineElement that implements the notion of titles in GES.

get_background_color()[source]
Returns:

The background used by self.

Return type:

int

Get the background used by self.

get_font_desc()[source]
Returns:

The pango font description used by this self.

Return type:

str or None

Get the pango font description used by self.

Deprecated since version 1.16: Use GES.TimelineElement.get_child_property instead (this actually returns a newly allocated string)

get_halignment()[source]
Returns:

The horizontal aligment used by self.

Return type:

GES.TextHAlign

Get the horizontal aligment used by self.

get_text()[source]
Returns:

The text currently set on the self.

Return type:

str or None

Get the text currently set on the self.

Deprecated since version 1.16: Use GES.TimelineElement.get_child_property instead (this actually returns a newly allocated string)

get_text_color()[source]
Returns:

The color used by self.

Return type:

int

Get the color used by self.

get_valignment()[source]
Returns:

The vertical aligment used by self.

Return type:

GES.TextVAlign

Get the vertical aligment used by self.

get_xpos()[source]
Returns:

The horizontal position used by self.

Return type:

float

Get the horizontal position used by self.

get_ypos()[source]
Returns:

The vertical position used by self.

Return type:

float

Get the vertical position used by self.

set_background_color(color)[source]
Parameters:

color (int) – the color self is being set to

Sets the color of the background

set_font_desc(font_desc)[source]
Parameters:

font_desc (str or None) – the pango font description

Set the pango font description this source will use to render the text.

set_halignment(halign)[source]
Parameters:

halign (GES.TextHAlign) – GES.TextHAlign

Sets the vertical aligment of the text.

set_text(text)[source]
Parameters:

text (str or None) – the text to render. an internal copy of this text will be made.

Sets the text this track element will render.

Deprecated since version ???: use ges_track_element_get/set_children_properties on the GES.TrackElement instead

set_text_color(color)[source]
Parameters:

color (int) – the color self is being set to

Sets the color of the text.

set_valignment(valign)[source]
Parameters:

valign (GES.TextVAlign) – GES.TextVAlign

Sets the vertical aligment of the text.

set_xpos(position)[source]
Parameters:

position (float) – the horizontal position self is being set to

Sets the horizontal position of the text.

set_ypos(position)[source]
Parameters:

position (float) – the color self is being set to

Sets the vertical position of the text.