gFileEnumeratorClose: gFileEnumeratorClose

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Releases all resources used by this enumerator, making the enumerator return G_IO_ERROR_CLOSED on all calls.

Usage

1
gFileEnumeratorClose(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

This will be automatically called when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible.

Value

A list containing the following elements:

retval

[logical] TRUE on success or FALSE on error.

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.