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.
|
An OGMDvdChapterList |
void ogmdvd_chapter_list_set_title (OGMDvdChapterList *list, OGMDvdTitle *title);
Adds to the list the chapters of the given OGMDvdTitle.
|
An OGMDvdChapterList |
|
An OGMDvdTitle |
OGMDvdTitle* ogmdvd_chapter_list_get_title (OGMDvdChapterList *list);
Returns the OGMDvdTitle which was passed to ogmdvd_chapter_list_set_title()
.
|
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.
|
An OGMDvdChapterList |
|
A chapter number |
|
The label of the chapter |
gchar* ogmdvd_chapter_list_get_label (OGMDvdChapterList *list, guint chapter);
Returns the label of the given chapter.
|
An OGMDvdChapterList |
|
A chapter number |
Returns : |
The chapter's label |