Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | e_proxy_preferences_new () |
void | e_proxy_preferences_submit () |
ESourceRegistry * | e_proxy_preferences_get_registry () |
gboolean | e_proxy_preferences_get_show_advanced () |
void | e_proxy_preferences_set_show_advanced () |
ESourceRegistry * | registry | Read / Write / Construct Only |
gboolean | show-advanced | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── EProxyPreferences
EProxyPreferences implements AtkImplementorIface, GtkBuildable and GtkOrientable.
EProxyPreferences is the main widget for displaying network proxy preferences. A link button toggles between a basic mode (for most users) and advanced mode. Basic mode only shows proxy details for the built-in proxy profile, which all new accounts use by default. Advanced mode reveals a sidebar of proxy profiles, allowing users to create or delete custom profiles and apply them to particular accounts.
GtkWidget *
e_proxy_preferences_new (ESourceRegistry *registry
);
Creates a new EProxyPreferences widget using ESource instances in
registry
.
void
e_proxy_preferences_submit (EProxyPreferences *preferences
);
Writes the displayed proxy profile details to the ESource being edited, and submits the changes to the registry service asynchronously.
Normally changes are submitted to the registry service automatically after a brief delay, but changes may sometimes need to be submitted explicitly such as when the top-level window is closing.
ESourceRegistry *
e_proxy_preferences_get_registry (EProxyPreferences *preferences
);
Returns the ESourceRegistry passed to e_proxy_preferences_new()
.
gboolean
e_proxy_preferences_get_show_advanced (EProxyPreferences *preferences
);
Returns whether preferences
is currently in advanced mode.
void e_proxy_preferences_set_show_advanced (EProxyPreferences *preferences
,gboolean show_advanced
);
Switches preferences
to advanced mode if show_advanced
is TRUE
,
or to basic mode if show_advanced
is FALSE
.