Valadoc | Vala | Tutorial | API-References | Markup

FileEnumerator


Object Hierarchy:

Object hierarchy for FileEnumerator

Description:

public class FileEnumerator : Object

FileEnumerator allows you to operate on a set of Files, returning a FileInfo structure for each file enumerated (e.g. enumerate_children will return a FileEnumerator for each of the children within a directory).

To get the next file's information from a FileEnumerator, use next_file or its asynchronous version, next_files_async. Note that the asynchronous version will return a list of FileInfos, whereas the synchronous will only return the next file in the enumerator.

To close a FileEnumerator, use close, or its asynchronous version, close_async. Once a FileEnumerator is closed, no further actions may be performed on it, and it should be freed with unref.


Namespace: GLib
Package: gio-2.0

Content:

Properties:

Creation methods:

Methods: