package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Proxy/index.html
Module Wrappers.Proxy
type t = [ `proxy ] Gobject.objval from_gobject : 'a Gobject.obj -> tval supports_hostname : t -> boolSome proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves. Others, like SOCKS4, do not allow this. This function will return %FALSE if @proxy is implementing such a protocol. When %FALSE is returned, the caller should resolve the destination hostname first, and then pass a #GProxyAddress containing the stringified IP address to g_proxy_connect() or g_proxy_connect_async().
val connect_finish :
t ->
[ `async_result ] Gobject.obj ->
([ `io_stream | `object_ ] Gobject.obj, GError.t) resultSee g_proxy_connect().
val connect :
t ->
[ `io_stream | `object_ ] Gobject.obj ->
[ `proxy_address | `inet_socket_address | `socket_address | `object_ ]
Gobject.obj ->
[ `cancellable | `object_ ] Gobject.obj option ->
([ `io_stream | `object_ ] Gobject.obj, GError.t) resultGiven @connection to communicate with a proxy (eg, a #GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to @proxy_address, and if required, wraps the #GIOStream to handle proxy payload.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>