gIOStreamSetPending {RGtk2} | R Documentation

## 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

    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

[Package RGtk2 version 2.20.40 Index]