Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.FileEnumerator

Class Gio.FileEnumerator

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GFileEnumerator
Class : FileEnumerator
Extends: GObject.Object
GFileEnumerator allows you to operate on a set of GFiles,
returning a GFileInfo structure for each file enumerated (e.g.
g_file_enumerate_children() will return a GFileEnumerator for each
of the children within a directory).
To get the next file's information from a GFileEnumerator, use
g_file_enumerator_next_file() or its asynchronous version,
g_file_enumerator_next_files_async(). Note that the asynchronous
version will return a list of GFileInfos, whereas the
synchronous will only return the next file in the enumerator.
To close a GFileEnumerator, use g_file_enumerator_close(), or
its asynchronous version, g_file_enumerator_close_async(). Once
a GFileEnumerator is closed, no further actions may be performed
on it, and it should be freed with g_object_unref().
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.File
Method
enumerate_children (String attributes, FileQueryInfoFlags flags, Cancellable cancellable) : Gio.FileEnumerator
Gets the requested information about the files in a directory.
Gio.File
Method
enumerate_children_finish (AsyncResult res) : Gio.FileEnumerator
Finishes an async enumerate children operation.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:11 GMT+0800 (HKT)