gIOStreamSetPending

Description

Sets stream to have actions pending. If the pending flag is already set or stream is closed, it will return FALSE and set error.

Usage

1
gIOStreamSetPending(object, .errwarn = TRUE)

Arguments

object

a GIOStream

.errwarn

Whether to issue a warning on error or fail silently

Details

Since 2.22

Value

A list containing the following elements:

retval

[logical] TRUE if pending was previously unset and is now set.

error

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

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.