GES.TitleClip¶
- Subclasses:
None
Methods¶
- Inherited:
GES.SourceClip (1), GES.Clip (23), GES.Container (6), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The background of the text |
||
r/w/c |
The color of the text |
||
r/w/c |
Pango font description of font to be used for rendering. See documentation of pango_font_description_from_string for syntax. |
||
r/w/c |
Horizontal alignment of the text |
||
r/w/c |
The text to display |
||
r/w/c |
Vertical alignment of the text |
||
r/w/c |
The horizontal position |
||
r/w/c |
The vertical position |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.TitleClip(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Renders the given text in the specified font, at specified position, and with the specified background pattern.
- classmethod new()[source]¶
- Returns:
The newly created
GES.TitleClip
, orNone
if there was an error.- Return type:
Creates a new
GES.TitleClip
- get_background_color()[source]¶
- Returns:
The color used by self.
- Return type:
Get the background used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_font_desc()[source]¶
-
Get the pango font description used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_halignment()[source]¶
- Returns:
The horizontal aligment used by self.
- Return type:
Get the horizontal aligment used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_text()[source]¶
-
Get the text currently set on self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_text_color()[source]¶
- Returns:
The color used by self.
- Return type:
Get the color used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_valignment()[source]¶
- Returns:
The vertical aligment used by self.
- Return type:
Get the vertical aligment used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_xpos()[source]¶
- Returns:
The horizontal position used by self.
- Return type:
Get the horizontal position used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- get_ypos()[source]¶
- Returns:
The vertical position used by self.
- Return type:
Get the vertical position used by self.
Deprecated since version 1.6: use #ges_timeline_element_get_children_property instead
- set_background(background)[source]¶
- Parameters:
background (
int
) – The color self is being set to
Sets the background of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_color(color)[source]¶
- Parameters:
color (
int
) – The color self is being set to
Sets the color of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_font_desc(font_desc)[source]¶
-
Sets the pango font description of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_halignment(halign)[source]¶
- Parameters:
halign (
GES.TextHAlign
) –GES.TextHAlign
Sets the horizontal aligment of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_text(text)[source]¶
-
Sets the text this clip will render.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_valignment(valign)[source]¶
- Parameters:
valign (
GES.TextVAlign
) –GES.TextVAlign
Sets the vertical aligment of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_xpos(position)[source]¶
- Parameters:
position (
float
) – The horizontal position self is being set to
Sets the horizontal position of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- set_ypos(position)[source]¶
- Parameters:
position (
float
) – The vertical position self is being set to
Sets the vertical position of the text.
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties instead. See
GES.TitleSource
for more information about exposed properties
Property Details¶
- GES.TitleClip.props.background¶
-
The background of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.color¶
-
The color of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.font_desc¶
-
Pango font description string
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.halignment¶
- Name:
halignment
- Type:
- Default Value:
- Flags:
Horizontal alignment of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.text¶
-
The text to diplay
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.valignment¶
- Name:
valignment
- Type:
- Default Value:
- Flags:
Vertical alignent of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.xpos¶
-
The horizontal position of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties
- GES.TitleClip.props.ypos¶
-
The vertical position of the text
Deprecated since version 1.6: use #ges_timeline_element_set_children_properties or #ges_timeline_element_get_children_properties instead. See
GES.TitleSource
for more information about exposed properties