Libraries:Gtk:Gio:GSocketConnectable
Types
T
ParentT
Constants
InterfaceInfo : Std.Object.T
Nil : T
Functions
GetType() : Gtk.GObject.Type.T
Methods
:Enumerate(self @ T) : Gtk.Gio.GSocketAddressEnumerator.T
Creates a Gtk.Gio.GSocketAddressEnumerator.T for connectable.
connectable | a T |
Returns | a new Gtk.Gio.GSocketAddressEnumerator.T. [transfer full] |
:Enumerate(_ @ ParentT)
:ProxyEnumerate(self @ T) : Gtk.Gio.GSocketAddressEnumerator.T
Creates a Gtk.Gio.GSocketAddressEnumerator.T for connectable that will return Gtk.Gio.GProxyAddress.Tes for addresses that you must connect to via a proxy.
If connectable does not implement ProxyEnumerate, this will fall back to calling Enumerate.
connectable | a T |
Returns | a new Gtk.Gio.GSocketAddressEnumerator.T. [transfer full] |
Objects that describe one or more potential socket endpoints implement T. Callers can then use Enumerate to get a Gtk.Gio.GSocketAddressEnumerator.T to try out each socket address in turn until one succeeds, as shown in the sample code below.