is_closed


Description:

public bool is_closed ()

Checks if an output stream has been closed.

This only indicates whether the stream has been closed from this end by calling [method@Gio.OutputStream.close]. If the stream is a pipe or socket, for example, and the process on the other end has closed its end, this method will still return false. Methods which try to write to the output stream will return an error, however.

Parameters:

this

a OutputStream.

Returns:

true if the stream has been closed; false otherwise