| libempathy-gtk Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#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);
EmpathyProfileChooser is a widget which extends GtkComboBox to provides a chooser of available profiles.
GtkWidget * empathy_profile_chooser_new (void);
Creates a new EmpathyProfileChooser widget.
Returns : |
a new EmpathyProfileChooser widget |
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.
|
an EmpathyProfileChooser |
Returns : |
a new reference to the selected McProfile |
gint empathy_profile_chooser_n_profiles (EmpathyProfileChooser *profile_chooser);
Returns the number of profiles in profile_chooser.
|
an EmpathyProfileChooser |
Returns : |
the number of profiles in profile_chooser
|