Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | e_source_combo_box_new () |
ESourceList * | e_source_combo_box_get_source_list () |
void | e_source_combo_box_set_source_list () |
ESource * | e_source_combo_box_get_active () |
void | e_source_combo_box_set_active () |
const gchar * | e_source_combo_box_get_active_uid () |
gboolean | e_source_combo_box_set_active_uid () |
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.
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
.
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.
Since 2.22
ESource *
e_source_combo_box_get_active (ESourceComboBox *combo_box
);
Returns the ESource corresponding to the currently active item, or NULL
if there is no active item.
Since 2.22
void e_source_combo_box_set_active (ESourceComboBox *combo_box
,ESource *source
);
Sets the active item to the one corresponding to source
.
Since 2.22
const gchar *
e_source_combo_box_get_active_uid (ESourceComboBox *combo_box
);
Returns the unique ID of the ESource corresponding to the currently
active item, or NULL
if there is no active item.
Since 2.22
gboolean e_source_combo_box_set_active_uid (ESourceComboBox *combo_box
,const gchar *uid
);
Sets the active item to the one corresponding to uid
.
Since 2.22