W Wrapl, The Programming Language

Libraries:Gtk:Gio:GVfs

Types

T

Inherits from:

Entry point for using GIO functionality.



Constants

Nil : T

Functions

GetDefault() : Gtk.Gio.GVfs.T

Gets the default T for the system.

Returns a T. [transfer none]


GetLocal() : Gtk.Gio.GVfs.T

Gets the local T for the system.

Returns a T. [transfer none]


GetType() : Gtk.GObject.Type.T



Methods

:GetFileForPath(self @ T, path @ Std.String.T) : Gtk.Gio.GFile.T

Gets a Gtk.Gio.GFile.T for path.

vfs a T.
path a string containing a VFS path.
Returns a Gtk.Gio.GFile.T. Free the returned object with g_object_unref(). [transfer full]


:GetFileForUri(self @ T, uri @ Std.String.T) : Gtk.Gio.GFile.T

Gets a Gtk.Gio.GFile.T for uri.

This operation never fails, but the returned object might not support any I/O operation if the URI is malformed or if the URI scheme is not supported.

vfs aT.
uri a string containing a URI
Returns a Gtk.Gio.GFile.T. Free the returned object with g_object_unref(). [transfer full]


:GetSupportedUriSchemes(self @ T) : Agg.List.T

Gets a list of URI schemes supported by vfs.

vfs a T.
Returns a NULL-terminated array of strings. The returned array belongs to GIO and must not be freed or modified. [transfer none]


:IsActive(self @ T) : Std.Symbol.T

Checks if the VFS is active.

vfs a T.
Returns TRUE if construction of the vfs was successful and it is now active.


:ParseName(self @ T, parse_name @ Std.String.T) : Gtk.Gio.GFile.T

This operation never fails, but the returned object might not support any I/O operations if the parse_name cannot be parsed by the T module.

vfs a T.
parse_name a string to be parsed by the VFS module.
Returns a Gtk.Gio.GFile.T for the given parse_name. Free the returned object with g_object_unref(). [transfer full]