Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | e_accounts_window_new () |
ESourceRegistry * | e_accounts_window_get_registry () |
void | e_accounts_window_show_with_parent () |
ESource * | e_accounts_window_ref_selected_source () |
void | e_accounts_window_select_source () |
void | e_accounts_window_insert_to_add_popup () |
GtkButtonBox * | e_accounts_window_get_button_box () |
gint | e_accounts_window_add_page () |
void | e_accounts_window_activate_page () |
EAccountsWindow shows all configured accounts in evolution-data-server and allows also create new, modify or remove existing accounts as well. It's extensible through EExtension, thus it can be taught how to work with particular account types as well.
GtkWidget *
e_accounts_window_new (ESourceRegistry *registry
);
e_accounts_window_new
is deprecated and should not be used in newly-written code.
Creates a new EAccountsWindow instance.
Since: 3.26
ESourceRegistry *
e_accounts_window_get_registry (EAccountsWindow *accounts_window
);
e_accounts_window_get_registry
is deprecated and should not be used in newly-written code.
Returns the ESourceRegistry passed to e_accounts_window_new()
.
Since: 3.26
void e_accounts_window_show_with_parent (EAccountsWindow *accounts_window
,GtkWindow *parent
);
e_accounts_window_show_with_parent
is deprecated and should not be used in newly-written code.
Shows the accounts_window
on top of the parent
, if not NULL
.
accounts_window |
||
parent |
a GtkWindow, parent to show the |
[nullable] |
Since: 3.26
ESource *
e_accounts_window_ref_selected_source (EAccountsWindow *accounts_window
);
e_accounts_window_ref_selected_source
is deprecated and should not be used in newly-written code.
Referenced selected ESource, which should be unreffed
with g_object_unref()
, when no longer needed, or NULL
, when there is no source selected.
[nullable][transfer full]
Since: 3.26
void e_accounts_window_select_source (EAccountsWindow *accounts_window
,const gchar *uid
);
e_accounts_window_select_source
is deprecated and should not be used in newly-written code.
Selects an ESource with the given uid
. If no such is available in time
of this call, then it is remembered and selected once it appears.
The function doesn't change selection, when uid
is NULL
, but it
unsets remembered UID from any previous call.
Since: 3.28
void e_accounts_window_insert_to_add_popup (EAccountsWindow *accounts_window
,GtkMenuShell *popup_menu
,const gchar *kind
,const gchar *label
,const gchar *icon_name
);
e_accounts_window_insert_to_add_popup
is deprecated and should not be used in newly-written code.
Adds a new item into the popup_menu
, which will be labeled with label
.
Items added this way are executed with EAccountsWindow::add-source signal.
Special case "-" can be used for the label
to add a separator. In that
case the kind
and the icon_name
parameters are ignored.
accounts_window |
||
popup_menu |
a GtkMenuShell |
|
kind |
item kind, or |
[nullable] |
label |
item label, possibly with a mnemonic |
|
icon_name |
optional icon name to use for the menu item, or |
[nullable] |
Since: 3.26
GtkButtonBox *
e_accounts_window_get_button_box (EAccountsWindow *accounts_window
);
e_accounts_window_get_button_box
is deprecated and should not be used in newly-written code.
the button box of the main page, where action buttons are stored. It can be used to add other actions to it.
[transfer none]
Since: 3.26
gint e_accounts_window_add_page (EAccountsWindow *accounts_window
,GtkWidget *content
);
e_accounts_window_add_page
is deprecated and should not be used in newly-written code.
Adds a new hidden page to the account window with content content
.
The returned integer is the index of the added page, which can be used
with e_accounts_window_activate_page()
to make that page active.
Since: 3.26
void e_accounts_window_activate_page (EAccountsWindow *accounts_window
,gint page_index
);
e_accounts_window_activate_page
is deprecated and should not be used in newly-written code.
Activates certain page in the accounts_window
. The page_index
should
be the one returned by e_accounts_window_add_page()
. Using value out of
bounds selects the main page, which shows listing of configured accounts.
Since: 3.26
ESourceEditingFlags
is deprecated and should not be used in newly-written code.
struct EAccountsWindow { GtkWindow parent; EAccountsWindowPrivate *priv; };
EAccountsWindow
is deprecated and should not be used in newly-written code.
Contains only private data that should be read and manipulated using the functions below.
Since: 3.26