Sets our main struct and passes it to the parent class.
Creates a new gio.SimpleIOStream wrapping input_stream and output_stream. See also gio.IOStream
Get the main Gtk struct
the main Gtk struct as a void*
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Finishes an asynchronous io stream splice operation.
Clears the pending flag on stream.
Closes the stream, releasing resources related to it. This will also close the individual input and output streams, if they are not already closed.
Requests an asynchronous close of the stream, releasing resources related to it. When the operation is finished callback will be called. You can then call g_io_stream_close_finish() to get the result of the operation.
Closes a stream.
Gets the input stream for this object. This is used for reading.
Gets the output stream for this object. This is used for writing.
Checks if a stream has pending actions.
Checks if a stream is closed.
Sets stream to have actions pending. If the pending flag is already set or stream is closed, it will return FALSE and set error.
Asyncronously splice the output stream of stream1 to the input stream of stream2, and splice the output stream of stream2 to the input stream of stream1.
GSimpleIOStream creates a gio.IOStream from an arbitrary gio.InputStream and gio.OutputStream This allows any pair of input and output streams to be used with gio.IOStream methods.
This is useful when you obtained a gio.InputStream and a gio.OutputStream by other means, for instance creating them with platform specific methods as UnixInputStream.new or g_win32_input_stream_new(), and you want to take advantage of the methods provided by gio.IOStream