Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | e_proxy_editor_new () |
void | e_proxy_editor_save () |
ESourceRegistry * | e_proxy_editor_get_registry () |
ESource * | e_proxy_editor_ref_source () |
void | e_proxy_editor_set_source () |
EProxyEditor is an editing widget for proxy profiles, as described by ESource instances with an ESourceProxy extension.
The editor defaults to showing the built-in proxy profile returned by
e_source_registry_ref_builtin_proxy()
, but that can be overridden with
e_proxy_editor_set_source()
.
GtkWidget *
e_proxy_editor_new (ESourceRegistry *registry
);
e_proxy_editor_new
is deprecated and should not be used in newly-written code.
Creates a new EProxyEditor widget, initially showing details of the
built-in proxy profile returned by e_source_registry_ref_builtin_proxy()
.
void
e_proxy_editor_save (EProxyEditor *editor
);
e_proxy_editor_save
is deprecated and should not be used in newly-written code.
Writes the proxy settings displayed in the editor
to the ESource
being edited.
This function is called automatically when the editing widgets lose input focus, but it may sometimes need to be called explicitly such as when the top-level window is closing.
ESourceRegistry *
e_proxy_editor_get_registry (EProxyEditor *editor
);
e_proxy_editor_get_registry
is deprecated and should not be used in newly-written code.
Returns the ESourceRegistry passed to e_proxy_editor_get_registry()
.
ESource *
e_proxy_editor_ref_source (EProxyEditor *editor
);
e_proxy_editor_ref_source
is deprecated and should not be used in newly-written code.
Returns the network proxy profile ESource being edited.
The returned ESource is referenced for thread-safety and must be
unreferenced with g_object_unref()
when finished with it.
void e_proxy_editor_set_source (EProxyEditor *editor
,ESource *source
);
e_proxy_editor_set_source
is deprecated and should not be used in newly-written code.
Sets the network proxy profile ESource to edit.
This first writes the displayed proxy settings to the previous ESource,
then displays the proxy details for source
. If source
is already being
edited then nothing happens.