GES.TitleSource¶
- Subclasses:
None
Methods¶
- Inherited:
GES.VideoSource (1), GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.TitleSource(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GES.TitleSource
is aGES.TimelineElement
that implements the notion of titles in GES.- get_background_color()[source]¶
- Returns:
The background used by self.
- Return type:
Get the background used by self.
- get_font_desc()[source]¶
-
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:
Get the horizontal aligment used by self.
- get_text()[source]¶
-
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_valignment()[source]¶
- Returns:
The vertical aligment used by self.
- Return type:
Get the vertical aligment used by self.
- get_xpos()[source]¶
- Returns:
The horizontal position used by self.
- Return type:
Get the horizontal position used by self.
- get_ypos()[source]¶
- Returns:
The vertical position used by self.
- Return type:
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]¶
-
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]¶
-
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.