RGtk2 (version 2.20.31)

gDataInputStreamReadLineAsync: gDataInputStreamReadLineAsync

Description

The asynchronous version of gDataInputStreamReadLine. It is an error to have two outstanding calls to this function.

Usage

gDataInputStreamReadLineAsync(object, io.priority, cancellable = NULL, callback, user.data = NULL)

Arguments

object
io.priority
the I/O priority of the request.
cancellable
optional GCancellable object, NULL to ignore.
callback
callback to call when the request is satisfied.
user.data
the data to pass to callback function.

Details

When the operation is finished, callback will be called. You can then call gDataInputStreamReadLineFinish to get the result of the operation. Since 2.20