## GESTrackTitleSource

GESTrackTitleSource — render stand-alone text titles

## Synopsis

    #include <ges/ges.h>

                        GESTrackTitleSource;
    GESTrackTitleSource *  ges_track_title_source_new       (void);
    void                ges_track_title_source_set_text     (GESTrackTitleSource *self,
                                                             const gchar *text);
    void                ges_track_title_source_set_font_desc
                                                            (GESTrackTitleSource *self,
                                                             const gchar *font_desc);
    void                ges_track_title_source_set_halignment
                                                            (GESTrackTitleSource *self,
                                                             GESTextHAlign halign);
    void                ges_track_title_source_set_valignment
                                                            (GESTrackTitleSource *self,
                                                             GESTextVAlign valign);
    const gchar *       ges_track_title_source_get_font_desc
                                                            (GESTrackTitleSource *source);
    GESTextHAlign       ges_track_title_source_get_halignment
                                                            (GESTrackTitleSource *source);
    const gchar *       ges_track_title_source_get_text     (GESTrackTitleSource *source);
    GESTextVAlign       ges_track_title_source_get_valignment
                                                            (GESTrackTitleSource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GESTrackObject
                   +----GESTrackSource
                         +----GESTrackTitleSource

## Description

## Details

### GESTrackTitleSource

    typedef struct _GESTrackTitleSource GESTrackTitleSource;

### ges_track_title_source_new ()

    GESTrackTitleSource *  ges_track_title_source_new       (void);

Creates a new GESTrackTitleSource.

Returns : | The newly created GESTrackTitleSource, or `NULL` if there was an error.

### ges_track_title_source_set_text ()

    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.

### ges_track_title_source_set_font_desc ()

    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.

`self` : | the GESTrackTitleSource
`font_desc` : | the pango font description

### ges_track_title_source_set_halignment ()

    void                ges_track_title_source_set_halignment
                                                            (GESTrackTitleSource *self,
                                                             GESTextHAlign halign);

Sets the vertical aligment of the text.

`self` : | the GESTrackTitleSource* to set text on
`halign` : | GESTextHAlign

### ges_track_title_source_set_valignment ()

    void                ges_track_title_source_set_valignment
                                                            (GESTrackTitleSource *self,
                                                             GESTextVAlign valign);

Sets the vertical aligment of the text.

`self` : | the GESTrackTitleSource* to set text on
`valign` : | GESTextVAlign

### ges_track_title_source_get_font_desc ()

    const gchar *       ges_track_title_source_get_font_desc
                                                            (GESTrackTitleSource *source);

Get the pango font description used by `source`.

`source` : | a GESTrackTitleSource
Returns : | The pango font description used by this `source`. [transfer none]

### ges_track_title_source_get_halignment ()

    GESTextHAlign       ges_track_title_source_get_halignment
                                                            (GESTrackTitleSource *source);

Get the horizontal aligment used by this source.

`source` : | a GESTrackTitleSource
Returns : | The horizontal aligment used by this source.

### ges_track_title_source_get_text ()

    const gchar *       ges_track_title_source_get_text     (GESTrackTitleSource *source);

Get the text currently set on the `source`.

`source` : | a GESTrackTitleSource
Returns : | The text currently set on the `source`. [transfer none]

### ges_track_title_source_get_valignment ()

    GESTextVAlign       ges_track_title_source_get_valignment
                                                            (GESTrackTitleSource *source);

Get the vertical aligment used by this source.

`source` : | a GESTrackTitleSource
Returns : | The vertical aligment used by this source.