![]() |
![]() |
![]() |
OGMDvd Gtk+ Reference Manual | |
---|---|---|---|---|
#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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView +----OGMDvdChapterList
GtkWidget* ogmdvd_chapter_list_new (void);
Creates a new empty OGMDvdChapterList.
Returns : | The new OGMDvdChapterList |
void ogmdvd_chapter_list_clear (OGMDvdChapterList *list);
Removes all entries of the OGMDvdChapterList.
list : |
An OGMDvdChapterList |
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 |
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 |
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 |
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 |