Top | ![]() |
![]() |
![]() |
![]() |
|
e_mail_identity_combo_box_new () |
|
e_mail_identity_combo_box_refresh () |
|
e_mail_identity_combo_box_get_registry () |
|
e_mail_identity_combo_box_get_allow_none () |
|
e_mail_identity_combo_box_set_allow_none () |
|
e_mail_identity_combo_box_get_allow_aliases () |
|
e_mail_identity_combo_box_set_allow_aliases () |
|
e_mail_identity_combo_box_get_active_uid () |
|
e_mail_identity_combo_box_set_active_uid () |
|
e_mail_identity_combo_box_get_refreshing () |
GtkWidget * e_mail_identity_combo_box_new ();
ESourceRegistry *registry
Creates a new EMailIdentityComboBox widget using registry
.
void e_mail_identity_combo_box_refresh (EMailIdentityComboBox *combo_box
);
Rebuilds the combo box model with an updated list of
This function is called automatically in response to combo_box
.
ESourceRegistry * e_mail_identity_combo_box_get_registry (EMailIdentityComboBox *combo_box
);
Returns the e_mail_identity_combo_box_new()
.
gboolean e_mail_identity_combo_box_get_allow_none (EMailIdentityComboBox *combo_box
);
Returns whether to append the mail identity list with a "None" item for use cases where the user may wish to opt out of choosing a mail identity.
void e_mail_identity_combo_box_set_allow_none (EMailIdentityComboBox *combo_box
,);
gboolean allow_none
Sets whether to append the mail identity list with a "None" item for use cases where the user may wish to opt out of choosing a mail identity.
Changing this property will automatically rebuild the combo box model.
gboolean e_mail_identity_combo_box_get_allow_aliases (EMailIdentityComboBox *combo_box
);
Returns whether to show also aliases of the mail identities.
Since: 3.24
void e_mail_identity_combo_box_set_allow_aliases (EMailIdentityComboBox *combo_box
,);
gboolean allow_aliases
Sets whether to show also aliases of the mail identities.
Changing this property will automatically rebuild the combo box model.
Since: 3.24
gboolean e_mail_identity_combo_box_get_active_uid (EMailIdentityComboBox *combo_box
,,
gchar **identity_uid,
gchar **alias_name);
gchar **alias_address
Sets identity UID, used name and used address for the currently
active item in the combo_box
. Both alias_name
and alias_address
are optional.
combo_box |
||
identity_uid |
identity UID of the currently active item. |
[out][transfer full] |
alias_name |
alias name of the currently active item. |
[out][nullable][transfer full] |
alias_address |
alias address of the currently active item. |
[out][nullable][transfer full] |
Whether any item was selected. If FALSE
g_free()
Since: 3.24
gboolean e_mail_identity_combo_box_set_active_uid (EMailIdentityComboBox *combo_box
,const
,gchar *identity_uidconst
,gchar *alias_nameconst
);gchar *alias_address
Selects an item which corresponds to identity_uid
. If the alias_address
is specified, then it will try to select an alias entry with this address
for this identity UID. If no such can be found, then picks the main
identity_uid
item instead.
combo_box |
||
identity_uid |
identity UID to select |
|
alias_name |
alias name to select. |
[nullable] |
alias_address |
alias address to select. |
[nullable] |
Since: 3.24
gboolean e_mail_identity_combo_box_get_refreshing (EMailIdentityComboBox *combo_box
);
Since: 3.16