|  |  |  | Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
                    ESourceComboBox;
GtkWidget *         e_source_combo_box_new              (ESourceList *source_list);
ESourceList *       e_source_combo_box_get_source_list  (ESourceComboBox *source_combo_box);
void                e_source_combo_box_set_source_list  (ESourceComboBox *source_combo_box,
                                                         ESourceList *source_list);
ESource *           e_source_combo_box_get_active       (ESourceComboBox *source_combo_box);
void                e_source_combo_box_set_active       (ESourceComboBox *source_combo_box,
                                                         ESource *source);
const gchar *       e_source_combo_box_get_active_uid   (ESourceComboBox *source_combo_box);
void                e_source_combo_box_set_active_uid   (ESourceComboBox *source_combo_box,
                                                         const gchar *uid);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkComboBox +----ESourceComboBox
ESourceComboBox implements AtkImplementorIface, GtkBuildable, GtkCellEditable and GtkCellLayout.
GtkWidget * e_source_combo_box_new (ESourceList *source_list);
Creates a new ESourceComboBox widget that lets the user pick an ESource from the provided ESourceList.
| 
 | an ESourceList | 
| Returns : | a new ESourceComboBox | 
ESourceList * e_source_combo_box_get_source_list (ESourceComboBox *source_combo_box);
Returns the ESourceList which is acting as a data source for
source_combo_box.
| 
 | an ESourceComboBox | 
| Returns : | an ESourceList | 
void e_source_combo_box_set_source_list (ESourceComboBox *source_combo_box, ESourceList *source_list);
Sets the source list used by source_combo_box to be source_list.  This
causes the contents of source_combo_box to be regenerated.
| 
 | an ESourceComboBox | 
| 
 | an ESourceList | 
ESource * e_source_combo_box_get_active (ESourceComboBox *source_combo_box);
Returns the ESource corresponding to the currently active item, or NULL
if there is no active item.
| 
 | an ESourceComboBox | 
| Returns : | an ESource or NULL | 
void e_source_combo_box_set_active (ESourceComboBox *source_combo_box, ESource *source);
Sets the active item to the one corresponding to source.
| 
 | an ESourceComboBox | 
| 
 | an ESource | 
const gchar * e_source_combo_box_get_active_uid (ESourceComboBox *source_combo_box);
Returns the unique ID of the ESource corresponding to the currently
active item, or NULL if there is no active item.
| 
 | an ESourceComboBox | 
| Returns : | a unique ID string or NULL | 
void e_source_combo_box_set_active_uid (ESourceComboBox *source_combo_box, const gchar *uid);
Sets the active item to the one corresponding to uid.
| 
 | an ESourceComboBox | 
| 
 | a unique ID of an ESource | 
"source-list" property"source-list" ESourceList* : Read / Write
List of sources to choose from.