Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gFileEnumeratorCloseFinish

gFileEnumeratorCloseFinish


Description

Finishes closing a file enumerator, started from gFileEnumeratorCloseAsync.

Usage

gFileEnumeratorCloseFinish(object, result, .errwarn = TRUE)

Arguments

object

a GFileEnumerator.

result

a GAsyncResult.

.errwarn

Whether to issue a warning on error or fail silently

Details

If the file enumerator was already closed when gFileEnumeratorCloseAsync was called, then this function will report G_IO_ERROR_CLOSED in error, and return FALSE. If the file enumerator had pending operation when the close operation was started, then this function will report G_IO_ERROR_PENDING, and return FALSE. If cancellable was not NULL, then the operation may have been cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be set, and FALSE will be returned.

Value

A list containing the following elements:

retval

[logical] TRUE if the close operation has finished successfully.

error

a GError location to store the error occuring, or NULL to ignore.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.