Top | ![]() |
![]() |
![]() |
![]() |
EShell * | e_shell_get_default () |
|
e_shell_load_modules () |
|
e_shell_get_shell_backends () |
const |
e_shell_get_canonical_name () |
EShellBackend * | e_shell_get_backend_by_name () |
EShellBackend * | e_shell_get_backend_by_scheme () |
|
e_shell_get_client_cache () |
|
e_shell_get_registry () |
|
e_shell_get_credentials_prompter () |
|
e_shell_allow_auth_prompt_for () |
|
e_shell_create_shell_window () |
|
e_shell_handle_uris () |
|
e_shell_submit_alert () |
|
e_shell_get_active_window () |
|
e_shell_get_express_mode () |
const |
e_shell_get_module_directory () |
|
e_shell_get_network_available () |
|
e_shell_set_network_available () |
|
e_shell_lock_network_available () |
|
e_shell_get_online () |
|
e_shell_set_online () |
|
e_shell_get_preferences_window () |
|
e_shell_event () |
|
e_shell_quit () |
|
e_shell_cancel_quit () |
|
e_shell_requires_shutdown () |
EShell *
e_shell_get_default (void
);
Returns the EShell created by
.main()
Try to obtain the EShell from elsewhere if you can. This function is intended as a temporary workaround for when that proves difficult.
void e_shell_load_modules (EShell *shell
);
Loads all installed modules and performs some internal bookkeeping. This function should be called after creating the EShell instance but before initiating migration or starting the main loop.
GList * e_shell_get_shell_backends (EShell *shell
);
Returns a list of loaded EShellBackend instances. The list is
owned by shell
and should not be modified or freed.
constgchar * e_shell_get_canonical_name (EShell *shell
,const
);gchar *name
Returns the canonical name for the EShellBackend whose name or alias
is name
.
EShellBackend * e_shell_get_backend_by_name (EShell *shell
,const
);gchar *name
Returns the corresponding EShellBackend for the given name or alias,
or NULL
name
is not recognized.
EShellBackend * e_shell_get_backend_by_scheme (EShell *shell
,const
);gchar *scheme
Returns the EShellBackend that implements the given URI scheme,
or NULL
scheme
is not recognized.
EClientCache * e_shell_get_client_cache (EShell *shell
);
Returns the shell
.
ESourceRegistry * e_shell_get_registry (EShell *shell
);
Returns the shell's
ECredentialsPrompter * e_shell_get_credentials_prompter (EShell *shell
);
Returns the shell's
Since: 3.16
void e_shell_allow_auth_prompt_for (EShell *shell
,);
ESource *source
Allows direct credentials prompt for source
. That means,
when the source
will emit 'credentials-required' signal,
then a user will be asked accordingly. When the auth prompt
is disabled, aonly an
Since: 3.16
GtkWidget * e_shell_create_shell_window (EShell *shell
,const
);gchar *view_name
Creates a new EShellWindow. Use this function instead of
e_shell_window_new()
so that shell
can properly configure
the window.
guint e_shell_handle_uris (EShell *shell
,const
,gchar * const *uris);
gboolean do_import
Emits the
shell |
an EShell |
|
uris |
|
|
do_import |
request an import of the URIs |
void e_shell_submit_alert (EShell *shell
,);
EAlert *alert
Broadcasts alert
to all EShellWindows. This should only
be used for application-wide alerts such as a network outage. Submit
view-specific alerts to the appropriate EShellContent instance.
GtkWindow * e_shell_get_active_window (EShell *shell
);
Returns the most recently focused watched window, according to
gtk_application_get_windows()
Note the returned window is not necessarily an EShellWindow.
gboolean e_shell_get_express_mode (EShell *shell
);
Returns TRUE
constgchar * e_shell_get_module_directory (EShell *shell
);
Returns the directory from which
gboolean e_shell_get_network_available (EShell *shell
);
Returns TRUE
void e_shell_set_network_available (EShell *shell
,);
gboolean network_available
Sets whether a network is available. This is usually called in
response to a status change signal from NetworkManager. If the
network becomes unavailable while TRUE
shell
will force FALSE
void e_shell_lock_network_available (EShell *shell
);
Locks the value of TRUE
This is used for the --force-online command-line option, which is intended to override the network availability status as reported by NetworkManager or other network monitoring software.
gboolean e_shell_get_online (EShell *shell
);
Returns TRUE
FALSE
void e_shell_set_online (EShell *shell
,);
gboolean online
Asynchronously places Evolution in online or offline mode.
GtkWidget * e_shell_get_preferences_window (EShell *shell
);
Returns the Evolution Preferences window.
void e_shell_event (EShell *shell
,const
,gchar *event_name);
gpointer event_data
The event_name
is used as the signal detail, and event_data
may point to
an object or data structure associated with the event.
shell |
an EShell |
|
event_name |
the name of the event |
|
event_data |
data associated with the event |
gboolean e_shell_quit (EShell *shell
,EShellQuitReason reason
);
Requests an application shutdown. This happens in two phases: the first is synchronous, the second is asynchronous.
In the first phase, the shell
emits a FALSE
In the second phase, the shell
emits a TRUE
Consult the documentation for these two signals for details on how to handle them.
void e_shell_cancel_quit (EShell *shell
);
This function may only be called from
Note: This function has no effect during a
These values are passed in the
|
||
The last watched window has been destroyed. |
||
The program was invoked with --quit. Extensions will never see this value because they are not loaded when --quit is given. |
||
Another Evolution process requested we quit. |
||
The desktop session requested we quit. |