EmpathyProfileChooser

EmpathyProfileChooser — A widget used to choose from a list of profiles

Synopsis


#include <libempathy-gtk/empathy-account-chooser.h>

GtkWidget *         empathy_profile_chooser_new         (void);
McProfile *         empathy_profile_chooser_dup_selected
                                                        (GtkWidget *widget);
gint                empathy_profile_chooser_n_profiles  (GtkWidget *widget);

Description

EmpathyProfileChooser is a widget which provides a chooser of available profiles.

Details

empathy_profile_chooser_new ()

GtkWidget *         empathy_profile_chooser_new         (void);

Creates a new EmpathyProfileChooser widget.

Returns :

a new EmpathyProfileChooser widget

empathy_profile_chooser_dup_selected ()

McProfile *         empathy_profile_chooser_dup_selected
                                                        (GtkWidget *widget);

Returns a new reference to the selected McProfile in widget. The returned McProfile should be unrefed with g_object_unref() when finished with.

widget :

an EmpathyProfileChooser

Returns :

a new reference to the selected McProfile

empathy_profile_chooser_n_profiles ()

gint                empathy_profile_chooser_n_profiles  (GtkWidget *widget);

Returns the number of profiles in widget.

widget :

an EmpathyProfileChooser

Returns :

the number of profiles in widget