WebKitDOMTextTrack

WebKitDOMTextTrack

Synopsis

                    WebKitDOMTextTrack;
void                webkit_dom_text_track_add_cue       (WebKitDOMTextTrack *self,
                                                         WebKitDOMTextTrackCue *cue);
void                webkit_dom_text_track_remove_cue    (WebKitDOMTextTrack *self,
                                                         WebKitDOMTextTrackCue *cue,
                                                         GError **error);
gboolean            webkit_dom_text_track_dispatch_event
                                                        (WebKitDOMTextTrack *self,
                                                         WebKitDOMEvent *evt,
                                                         GError **error);
gchar *             webkit_dom_text_track_get_id        (WebKitDOMTextTrack *self);
gchar *             webkit_dom_text_track_get_kind      (WebKitDOMTextTrack *self);
gchar *             webkit_dom_text_track_get_label     (WebKitDOMTextTrack *self);
gchar *             webkit_dom_text_track_get_language  (WebKitDOMTextTrack *self);
gchar *             webkit_dom_text_track_get_mode      (WebKitDOMTextTrack *self);
void                webkit_dom_text_track_set_mode      (WebKitDOMTextTrack *self,
                                                         const gchar *value);
WebKitDOMTextTrackCueList * webkit_dom_text_track_get_cues
                                                        (WebKitDOMTextTrack *self);
WebKitDOMTextTrackCueList * webkit_dom_text_track_get_active_cues
                                                        (WebKitDOMTextTrack *self);

Object Hierarchy

  GObject
   +----WebKitDOMObject
         +----WebKitDOMTextTrack

Implemented Interfaces

WebKitDOMTextTrack implements WebKitDOMEventTarget.

Properties

  "active-cues"              WebKitDOMTextTrackCueList*  : Read
  "cues"                     WebKitDOMTextTrackCueList*  : Read
  "id"                       gchar*                : Read
  "kind"                     gchar*                : Read
  "label"                    gchar*                : Read
  "language"                 gchar*                : Read
  "mode"                     gchar*                : Read / Write

Description

Details

WebKitDOMTextTrack

typedef struct _WebKitDOMTextTrack WebKitDOMTextTrack;


webkit_dom_text_track_add_cue ()

void                webkit_dom_text_track_add_cue       (WebKitDOMTextTrack *self,
                                                         WebKitDOMTextTrackCue *cue);

webkit_dom_text_track_remove_cue ()

void                webkit_dom_text_track_remove_cue    (WebKitDOMTextTrack *self,
                                                         WebKitDOMTextTrackCue *cue,
                                                         GError **error);

self :

A WebKitDOMTextTrack

cue :

A WebKitDOMTextTrackCue

error :

GError

webkit_dom_text_track_dispatch_event ()

gboolean            webkit_dom_text_track_dispatch_event
                                                        (WebKitDOMTextTrack *self,
                                                         WebKitDOMEvent *evt,
                                                         GError **error);

Warning

webkit_dom_text_track_dispatch_event has been deprecated since version 2.4 and should not be used in newly-written code. Use webkit_dom_event_target_dispatch_event() instead.

self :

A WebKitDOMTextTrack

evt :

A WebKitDOMEvent

error :

GError

Returns :

A gboolean

webkit_dom_text_track_get_id ()

gchar *             webkit_dom_text_track_get_id        (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A gchar

webkit_dom_text_track_get_kind ()

gchar *             webkit_dom_text_track_get_kind      (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A gchar

webkit_dom_text_track_get_label ()

gchar *             webkit_dom_text_track_get_label     (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A gchar

webkit_dom_text_track_get_language ()

gchar *             webkit_dom_text_track_get_language  (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A gchar

webkit_dom_text_track_get_mode ()

gchar *             webkit_dom_text_track_get_mode      (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A gchar

webkit_dom_text_track_set_mode ()

void                webkit_dom_text_track_set_mode      (WebKitDOMTextTrack *self,
                                                         const gchar *value);

self :

A WebKitDOMTextTrack

value :

A gchar

webkit_dom_text_track_get_cues ()

WebKitDOMTextTrackCueList * webkit_dom_text_track_get_cues
                                                        (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A WebKitDOMTextTrackCueList. [transfer none]

webkit_dom_text_track_get_active_cues ()

WebKitDOMTextTrackCueList * webkit_dom_text_track_get_active_cues
                                                        (WebKitDOMTextTrack *self);

self :

A WebKitDOMTextTrack

Returns :

A WebKitDOMTextTrackCueList. [transfer none]

Property Details

The "active-cues" property

  "active-cues"              WebKitDOMTextTrackCueList*  : Read

read-only WebKitDOMTextTrackCueList* TextTrack:active-cues.


The "cues" property

  "cues"                     WebKitDOMTextTrackCueList*  : Read

read-only WebKitDOMTextTrackCueList* TextTrack:cues.


The "id" property

  "id"                       gchar*                : Read

read-only gchar* TextTrack:id.

Default value: ""


The "kind" property

  "kind"                     gchar*                : Read

read-only gchar* TextTrack:kind.

Default value: ""


The "label" property

  "label"                    gchar*                : Read

read-only gchar* TextTrack:label.

Default value: ""


The "language" property

  "language"                 gchar*                : Read

read-only gchar* TextTrack:language.

Default value: ""


The "mode" property

  "mode"                     gchar*                : Read / Write

read-only gchar* TextTrack:mode.

Default value: ""