Top | ![]() |
![]() |
![]() |
![]() |
gchar * | font-desc | Read / Write / Construct |
GESTextHAlign | halignment | Read / Write / Construct |
gboolean | mute | Read / Write / Construct |
gchar * | text | Read / Write / Construct |
GESTextVAlign | valignment | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GESTimelineObject ╰── GESTimelineSource ╰── GESTimelineTitleSource
Renders the given text in the specified font, at specified position, and with the specified background pattern.
Note: creates a silent GESTrackAudioTestSource to fill audio tracks
GESTimelineTitleSource *
ges_timeline_title_source_new (void
);
Creates a new GESTimelineTitleSource
void ges_timeline_title_source_set_mute (GESTimelineTitleSource *self
,gboolean mute
);
Sets whether the audio track of this timeline object is muted or not
self |
the GESTimelineTitleSource on which to mute or unmute the audio track |
|
mute |
|
void ges_timeline_title_source_set_text (GESTimelineTitleSource *self
,const gchar *text
);
Sets the text this timeline object will render.
self |
the GESTimelineTitleSource* to set text on |
|
text |
the text to render. an internal copy of this text will be made. |
void ges_timeline_title_source_set_font_desc (GESTimelineTitleSource *self
,const gchar *font_desc
);
Sets the pango font description of the text.
void ges_timeline_title_source_set_valignment (GESTimelineTitleSource *self
,GESTextVAlign valign
);
Sets the vertical aligment of the text.
void ges_timeline_title_source_set_halignment (GESTimelineTitleSource *self
,GESTextHAlign halign
);
Sets the horizontal aligment of the text.
gboolean
ges_timeline_title_source_is_muted (GESTimelineTitleSource *self
);
Let you know if the audio track of self
is muted or not.
const gchar *
ges_timeline_title_source_get_text (GESTimelineTitleSource *self
);
Get the text currently set on self
.
const gchar *
ges_timeline_title_source_get_font_desc
(GESTimelineTitleSource *self
);
Get the pango font description used by self
.
GESTextVAlign
ges_timeline_title_source_get_valignment
(GESTimelineTitleSource *self
);
Get the vertical aligment used by self
.
GESTextHAlign
ges_timeline_title_source_get_halignment
(GESTimelineTitleSource *self
);
Get the horizontal aligment used by self
.
“font-desc”
property “font-desc” gchar *
Pango font description string
Flags: Read / Write / Construct
Default value: "Serif 36"
“halignment”
property“halignment” GESTextHAlign
Horizontal alignment of the text
Flags: Read / Write / Construct
Default value: center
“mute”
property “mute” gboolean
Whether the sound will be played or not.
Flags: Read / Write / Construct
Default value: FALSE
“text”
property “text” gchar *
The text to diplay
Flags: Read / Write / Construct
Default value: ""
“valignment”
property“valignment” GESTextVAlign
Vertical alignent of the text
Flags: Read / Write / Construct
Default value: baseline