![]() |
![]() |
![]() |
OGMRip Gtk+ Reference Manual | ![]() |
---|---|---|---|---|
#include <ogmrip-chooser-list.h> OGMRipChooserListPriv; OGMRipChooserList; GtkWidget* ogmrip_chooser_list_new (GType type); void ogmrip_chooser_list_set_max (OGMRipChooserList *list, guint max); gint ogmrip_chooser_list_get_max (OGMRipChooserList *list); void ogmrip_chooser_list_clear (OGMRipChooserList *list); void ogmrip_chooser_list_add (OGMRipChooserList *list, GtkWidget *chooser); void ogmrip_chooser_list_remove (OGMRipChooserList *list, GtkWidget *chooser); void ogmrip_chooser_list_foreach (OGMRipChooserList *list, OGMRipSourceType type, GFunc func, gpointer data);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----OGMRipChooserList
GtkWidget* ogmrip_chooser_list_new (GType type);
Creates a new OGMRipChooserList.
type : |
the type of the children |
Returns : | The new OGMRipChooserList |
void ogmrip_chooser_list_set_max (OGMRipChooserList *list, guint max);
Creates a new OGMRipChooserList.
list : |
An OGMRipChooserList |
max : |
the maximum number of children |
gint ogmrip_chooser_list_get_max (OGMRipChooserList *list);
Returns the maximum number of children.
list : |
An OGMRipChooserList |
Returns : | the maximum number of children, or -1 |
void ogmrip_chooser_list_clear (OGMRipChooserList *list);
Removes all children of list
.
list : |
An OGMRipChooserList |
void ogmrip_chooser_list_add (OGMRipChooserList *list, GtkWidget *chooser);
Adds chooser
to list
.
list : |
An OGMRipChooserList |
chooser : |
A chooser to be placed inside list
|
void ogmrip_chooser_list_remove (OGMRipChooserList *list, GtkWidget *chooser);
Removes chooser
from list
.
list : |
An OGMRipChooserList |
chooser : |
 current child of list
|
void ogmrip_chooser_list_foreach (OGMRipChooserList *list, OGMRipSourceType type, GFunc func, gpointer data);
Invokes func
on each non-internal type
child of list
.
list : |
An OGMRipChooserList |
type : |
The type of the children |
func : |
A callback |
data : |
Callback user data |
void user_function (OGMRipChooserList *list, OGMRipSourceChooser *chooser, gpointer user_data) : Run Last / No Recursion / No Hooks
Emitted each time a 'more' button is clicked
list : |
the widget that received the signal |
chooser : |
the selected source chooser |
user_data : |
user data set when the signal handler was connected. |