| OGMRip Gtk+ Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
#include <ogmrip-chooser-list.h>
OGMRipChooserListPriv;
struct OGMRipChooserList;
GtkWidget * ogmrip_chooser_list_new (GType type);
void ogmrip_chooser_list_add (OGMRipChooserList *list,
GtkWidget *chooser);
void ogmrip_chooser_list_remove (OGMRipChooserList *list,
GtkWidget *chooser);
void ogmrip_chooser_list_clear (OGMRipChooserList *list);
void ogmrip_chooser_list_foreach (OGMRipChooserList *list,
OGMRipSourceType type,
GFunc func,
gpointer data);
gint ogmrip_chooser_list_length (OGMRipChooserList *list);
GtkWidget * ogmrip_chooser_list_nth (OGMRipChooserList *list,
guint n);
void ogmrip_chooser_list_set_max (OGMRipChooserList *list,
guint max);
gint ogmrip_chooser_list_get_max (OGMRipChooserList *list);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----OGMRipChooserList
OGMRipChooserList implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * ogmrip_chooser_list_new (GType type);
Creates a new OGMRipChooserList.
|
the type of the children |
Returns : |
The new OGMRipChooserList |
void ogmrip_chooser_list_add (OGMRipChooserList *list,GtkWidget *chooser);
Adds chooser to list.
|
An OGMRipChooserList |
|
A chooser to be placed inside list
|
void ogmrip_chooser_list_remove (OGMRipChooserList *list,GtkWidget *chooser);
Removes chooser from list.
|
An OGMRipChooserList |
|
 current child of list
|
void ogmrip_chooser_list_clear (OGMRipChooserList *list);
Removes all children of list.
|
An OGMRipChooserList |
void ogmrip_chooser_list_foreach (OGMRipChooserList *list,OGMRipSourceType type,GFunc func,gpointer data);
Invokes func on each non-internal type child of list.
|
An OGMRipChooserList |
|
The type of the children |
|
A callback |
|
Callback user data |
gint ogmrip_chooser_list_length (OGMRipChooserList *list);
Returns the number of valid source choosers contained in list.
|
An OGMRipChooserList |
Returns : |
The number of valid choosers, or -1 |
GtkWidget * ogmrip_chooser_list_nth (OGMRipChooserList *list,guint n);
Gets the chooser at the given position.
|
An OGMRipChooserList |
|
the position of the chooser, counting from 0 |
Returns : |
the chooser, or NULL |
void ogmrip_chooser_list_set_max (OGMRipChooserList *list,guint max);
Creates a new OGMRipChooserList.
|
An OGMRipChooserList |
|
the maximum number of children |
gint ogmrip_chooser_list_get_max (OGMRipChooserList *list);
Returns the maximum number of children.
|
An OGMRipChooserList |
Returns : |
the maximum number of children, or -1 |
"more-clicked" signalvoid user_function (OGMRipChooserList *list,
OGMRipSourceChooser *chooser,
gpointer user_data) : No Hooks
Emitted each time a 'more' button is clicked
|
the widget that received the signal |
|
the selected source chooser |
|
user data set when the signal handler was connected. |