The proxy server #GInetAddress.
The proxy server port.
The proxy protocol to support, in lower case (e.g. socks, http).
The destination hostname the proxy should tunnel to.
The destination port to tunnel to.
The username to authenticate to the proxy server (or %NULL).
The password to authenticate to the proxy server (or %NULL).
a new #GProxyAddress
ConstructionException GTK+ fails to create the object.
2.26
Creates a new #GProxyAddress for @inetaddr with @protocol that should tunnel through @dest_hostname and @dest_port.
(Note that this method doesn't set the #GProxyAddress:uri or #GProxyAddress:destination-protocol fields; use g_object_new() directly if you want to set those.)