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

gSocketConditionWait

gSocketConditionWait


Description

Waits for condition to become true on socket. When the condition is met, TRUE is returned.

Usage

gSocketConditionWait(object, condition, cancellable = NULL, .errwarn = TRUE)

Arguments

object

a GSocket

condition

a GIOCondition mask to wait for

cancellable

a GCancellable, or NULL

.errwarn

Whether to issue a warning on error or fail silently

Details

If cancellable is cancelled before the condition is met then FALSE is returned and error, if non-NULL, is set to G_IO_ERROR_CANCELLED. Since 2.22

Value

A list containing the following elements:

retval

[logical] TRUE if the condition was met, FALSE otherwise

error

a GError pointer, or NULL

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.