Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── GESTrackObject ╰── GESTrackSource ╰── GESTrackTitleSource
GESTrackTitleSource *
ges_track_title_source_new (void
);
Creates a new GESTrackTitleSource.
void ges_track_title_source_set_text (GESTrackTitleSource *self
,const gchar *text
);
Sets the text this track object will render.
self |
the GESTrackTitleSource* to set text on |
|
text |
the text to render. an internal copy of this text will be made. |
void ges_track_title_source_set_font_desc (GESTrackTitleSource *self
,const gchar *font_desc
);
Set the pango font description this source will use to render the text.
void ges_track_title_source_set_halignment (GESTrackTitleSource *self
,GESTextHAlign halign
);
Sets the vertical aligment of the text.
void ges_track_title_source_set_valignment (GESTrackTitleSource *self
,GESTextVAlign valign
);
Sets the vertical aligment of the text.
const gchar *
ges_track_title_source_get_font_desc (GESTrackTitleSource *source
);
Get the pango font description used by source
.
GESTextHAlign
ges_track_title_source_get_halignment (GESTrackTitleSource *source
);
Get the horizontal aligment used by this source.
const gchar *
ges_track_title_source_get_text (GESTrackTitleSource *source
);
Get the text currently set on the source
.
GESTextVAlign
ges_track_title_source_get_valignment (GESTrackTitleSource *source
);
Get the vertical aligment used by this source.