gCancellableCancel: gCancellableCancel

Description Usage Arguments Details Author(s)

View source: R/gioFuncs.R


Will set cancellable to cancelled, and will emit the "cancelled" signal. (However, see the warning about race conditions in the documentation for that signal if you are planning to connect to it.)





a GCancellable object.


This function is thread-safe. In other words, you can safely call it from a thread other than the one running the operation that was passed the cancellable.

The convention within gio is that cancelling an asynchronous operation causes it to complete asynchronously. That is, if you cancel the operation from the same thread in which it is running, then the operation's GAsyncReadyCallback will not be invoked until the application returns to the main loop.


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 30, 2017, 5:53 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code