gFileEnumeratorNextFile: gFileEnumeratorNextFile

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Returns information for the next file in the enumerated object. Will block until the information is available. The GFileInfo returned from this function will contain attributes that match the attribute string that was passed when the GFileEnumerator was created.

Usage

1
gFileEnumeratorNextFile(object, cancellable = NULL, .errwarn = TRUE)

Arguments

object

a GFileEnumerator.

cancellable

optional GCancellable object, NULL to ignore.

.errwarn

Whether to issue a warning on error or fail silently

Details

On error, returns NULL and sets error to the error. If the enumerator is at the end, NULL will be returned and error will be unset.

Value

A list containing the following elements:

retval

[GFileInfo] A GFileInfo or NULL on error or end of enumerator.

error

location to store the error occuring, or NULL to ignore

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.