OGMDvdChapterList

OGMDvdChapterList — A widget that lists the chapters of a DVD title

Synopsis


#include <ogmdvd-chapter-list.h>

                    OGMDvdChapterList;
GtkWidget*          ogmdvd_chapter_list_new             (void);
void                ogmdvd_chapter_list_clear           (OGMDvdChapterList *list);
void                ogmdvd_chapter_list_set_title       (OGMDvdChapterList *list,
                                                         OGMDvdTitle *title);
OGMDvdTitle*        ogmdvd_chapter_list_get_title       (OGMDvdChapterList *list);
void                ogmdvd_chapter_list_set_label       (OGMDvdChapterList *list,
                                                         guint chapter,
                                                         const gchar *label);
gchar*              ogmdvd_chapter_list_get_label       (OGMDvdChapterList *list,
                                                         guint chapter);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkTreeView
                                 +----OGMDvdChapterList

Implemented Interfaces

OGMDvdChapterList implements GtkBuildable and AtkImplementorIface.

Properties

  "title"                    gpointer              : Read / Write

Description

Details

OGMDvdChapterList

typedef struct _OGMDvdChapterList OGMDvdChapterList;


ogmdvd_chapter_list_new ()

GtkWidget*          ogmdvd_chapter_list_new             (void);

Creates a new empty OGMDvdChapterList.

Returns :

The new OGMDvdChapterList

ogmdvd_chapter_list_clear ()

void                ogmdvd_chapter_list_clear           (OGMDvdChapterList *list);

Removes all entries of the OGMDvdChapterList.

list :

An OGMDvdChapterList

ogmdvd_chapter_list_set_title ()

void                ogmdvd_chapter_list_set_title       (OGMDvdChapterList *list,
                                                         OGMDvdTitle *title);

Adds to the list the chapters of the given OGMDvdTitle.

list :

An OGMDvdChapterList

title :

An OGMDvdTitle

ogmdvd_chapter_list_get_title ()

OGMDvdTitle*        ogmdvd_chapter_list_get_title       (OGMDvdChapterList *list);

Returns the OGMDvdTitle which was passed to ogmdvd_chapter_list_set_title().

list :

An OGMDvdChapterList

Returns :

An OGMDvdTitle

ogmdvd_chapter_list_set_label ()

void                ogmdvd_chapter_list_set_label       (OGMDvdChapterList *list,
                                                         guint chapter,
                                                         const gchar *label);

Sets the label of the given chapter.

list :

An OGMDvdChapterList

chapter :

A chapter number

label :

The label of the chapter

ogmdvd_chapter_list_get_label ()

gchar*              ogmdvd_chapter_list_get_label       (OGMDvdChapterList *list,
                                                         guint chapter);

Returns the label of the given chapter.

list :

An OGMDvdChapterList

chapter :

A chapter number

Returns :

The chapter's label

Property Details

The "title" property

  "title"                    gpointer              : Read / Write

The DVD title.