| libempathy-gtk Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
#include <libempathy-gtk/empathy-contact-selector.h>
EmpathyContactSelector;
GtkWidget * empathy_contact_selector_new (EmpathyContactList *contact_list);
EmpathyContact * empathy_contact_selector_dup_selected
(EmpathyContactSelector *selector);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----EmpathyContactSelector
EmpathyContactSelector implements GtkBuildable, AtkImplementorIface, GtkCellLayout and GtkCellEditable.
EmpathyContactSelector is a widget which extends GtkComboBox to provide a chooser of available contacts.
typedef struct _EmpathyContactSelector EmpathyContactSelector;
Widget which extends GtkComboBox to provide a chooser of available contacts.
GtkWidget * empathy_contact_selector_new (EmpathyContactList *contact_list);
Creates a new EmpathyContactSelector.
|
an EmpathyContactList containing the contacts to list in the contact selector |
Returns : |
A new EmpathyContactSelector |
EmpathyContact * empathy_contact_selector_dup_selected (EmpathyContactSelector *selector);
Returns a new reference to the contact which is currently selected in
selector, or NULL if there is no contact selected. The returned contact
should be unrefed with g_object_unref() when finished with.
|
An EmpathyContactSelector |
Returns : |
A new reference to the contact currently selected, or NULL
|
"contact-list" property"contact-list" EmpathyContactList* : Read / Write / Construct Only
An EmpathyContactList containing the contacts for the EmpathyContactSelector.