OGMRip Gtk+ Reference Manual | ||||
---|---|---|---|---|
#include <ogmrip-chapter-list.h> OGMRipChapterList; GtkWidget* ogmrip_chapter_list_new (void); void ogmrip_chapter_list_select_all (OGMRipChapterList *list); void ogmrip_chapter_list_deselect_all (OGMRipChapterList *list); gboolean ogmrip_chapter_list_get_selected (OGMRipChapterList *list, guint *start_chapter, gint *end_chapter);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView +----OGMDvdChapterList +----OGMRipChapterList
GtkWidget* ogmrip_chapter_list_new (void);
Creates a new OGMRipChapterList.
Returns : |
The new OGMRipChapterList |
void ogmrip_chapter_list_select_all (OGMRipChapterList *list);
Select all the chapters of the list.
|
An OGMRipChapterList |
void ogmrip_chapter_list_deselect_all (OGMRipChapterList *list);
Deselects all the chapters of the list.
|
An OGMRipChapterList |
gboolean ogmrip_chapter_list_get_selected (OGMRipChapterList *list, guint *start_chapter, gint *end_chapter);
Gets the range of the selected chapters.
|
An OGMRipChapterList |
|
The first selected chapter |
|
The last selected chapter |
Returns : |
TRUE , if start_chapter and end_chapter were set
|
"selection-changed"
signalvoid user_function (OGMRipChapterList *list, gpointer user_data) : Run Last / No Recursion / No Hooks
Emitted each time the selection of chapters changes
|
the widget that received the signal |
|
user data set when the signal handler was connected. |