| Evolution-Data-Server Manual: Graphical Utilities (libedataserverui) | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct ESourceComboBox; GtkWidget * e_source_combo_box_new (ESourceList *source_list); ESourceList * e_source_combo_box_get_source_list (ESourceComboBox *combo_box); void e_source_combo_box_set_source_list (ESourceComboBox *combo_box,ESourceList *source_list); ESource * e_source_combo_box_ref_active (ESourceComboBox *combo_box); void e_source_combo_box_set_active (ESourceComboBox *combo_box,ESource *source);
GObject
+----GInitiallyUnowned
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkComboBox
+----ESourceComboBox
ESourceComboBox implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
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 |
Since 2.22
ESourceList * e_source_combo_box_get_source_list (ESourceComboBox *combo_box);
Returns the ESourceList which is acting as a data source for
combo_box.
|
an ESourceComboBox |
Returns : |
an ESourceList |
Since 2.22
void e_source_combo_box_set_source_list (ESourceComboBox *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 |
Since 2.22
ESource * e_source_combo_box_ref_active (ESourceComboBox *combo_box);
Returns the ESource corresponding to the currently active item,
or NULL if there is no active item.
The returned ESource is referenced for thread-safety and must be
unreferenced with g_object_unref() when finished with it.
|
an ESourceComboBox |
Returns : |
an ESource or NULL
|
Since 3.6
void e_source_combo_box_set_active (ESourceComboBox *combo_box,ESource *source);
Sets the active item to the one corresponding to source.
|
an ESourceComboBox |
|
an ESource |
Since 2.22
"source-list" property"source-list" ESourceList* : Read / Write
List of sources to choose from.