![]() |
![]() |
![]() |
Evolution Utilities Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <e-util/e-util.h> struct EProxyLinkSelector; GtkWidget * e_proxy_link_selector_new (ESourceRegistry *registry
); ESource * e_proxy_link_selector_ref_target_source (EProxyLinkSelector *selector
); void e_proxy_link_selector_set_target_source (EProxyLinkSelector *selector
,ESource *target_source
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkTreeView +----ESourceSelector +----EProxyLinkSelector
EProxyLinkSelector implements AtkImplementorIface, GtkBuildable and GtkScrollable.
EProxyLinkSelector shows all network-based accounts in a tree view, with a checkbox next to each account. The checkbox allows users to choose between linking the account to a pre-determined user-defined proxy profile, or to the built-in default proxy profile.
struct EProxyLinkSelector;
Contains only private data that should be read and manipulated using the functions below.
GtkWidget * e_proxy_link_selector_new (ESourceRegistry *registry
);
Creates a new EProxyLinkSelector using ESource instances in registry
.
|
an ESourceRegistry |
Returns : |
a new EProxyLinkSelector |
ESource * e_proxy_link_selector_ref_target_source
(EProxyLinkSelector *selector
);
Returns the target network proxy profile ESource.
See e_proxy_link_selector_set_target_source()
for further details.
The returned ESource is referenced for thread-safety and must be
unreferenced with g_object_unref()
when finished with it.
|
an EProxyLinkSelector |
Returns : |
an ESource |
void e_proxy_link_selector_set_target_source (EProxyLinkSelector *selector
,ESource *target_source
);
Sets the target network proxy profile ESource.
Checking the box next to an account name in selector
will link the
account to target_source
. The account will then use target_source
as its GProxyResolver when connecting to a remote host.
As a special case, if target_source
refers to the built-in network
proxy profile, then selector
will hide its checkboxes since they would
otherwise link accounts to the same ESource when checked or unchecked.
|
an EProxyLinkSelector |
|
an ESource |