Libraries:Gtk:Gio:GVfs
Types
T
Inherits from:Gtk.GObject.Object.T
Constants
Nil : T
Functions
GetDefault() : Gtk.Gio.GVfs.T
GetLocal() : Gtk.Gio.GVfs.T
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.
: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] |