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

gCancellableDisconnect

gCancellableDisconnect


Description

Disconnects a handler from an cancellable instance similar to gSignalHandlerDisconnect but ensures that once this function returns the handler will not run anymore in any thread.

Usage

gCancellableDisconnect(object, handler.id)

Arguments

object

A GCancellable or NULL.

handler.id

Handler id of the handler to be disconnected, or 0.

Details

This avoids a race condition where a thread cancels at the same time as the cancellable operation is finished and the signal handler is removed. See "cancelled" for details on how to use this.

If cancellable is NULL or handler.id is 0 this function does nothing. Since 2.22

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.