EmpathyProfileChooser

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

Synopsis


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

GtkWidget *         empathy_profile_chooser_new         (void);
McProfile *         empathy_profile_chooser_dup_selected
                                                        (EmpathyProfileChooser *profile_chooser);
gint                empathy_profile_chooser_n_profiles  (EmpathyProfileChooser *profile_chooser);

Description

EmpathyProfileChooser is a widget which extends GtkComboBox to 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
                                                        (EmpathyProfileChooser *profile_chooser);

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

profile_chooser :

an EmpathyProfileChooser

Returns :

a new reference to the selected McProfile

empathy_profile_chooser_n_profiles ()

gint                empathy_profile_chooser_n_profiles  (EmpathyProfileChooser *profile_chooser);

Returns the number of profiles in profile_chooser.

profile_chooser :

an EmpathyProfileChooser

Returns :

the number of profiles in profile_chooser