SimpleIOStream

GSimpleIOStream creates a GIOStream from an arbitrary GInputStream and GOutputStream This allows any pair of input and output streams to be used with GIOStream methods.

This is useful when you obtained a GInputStream and a GOutputStream by other means, for instance creating them with platform specific methods as g_unix_input_stream_new() or g_win32_input_stream_new(), and you want to take advantage of the methods provided by GIOStream

Constructors

this
this(GSimpleIOStream* gSimpleIOStream, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(InputStream inputStream, OutputStream outputStream)

Creates a new GSimpleIOStream wrapping input_stream and output_stream. See also GIOStream

Members

Functions

getSimpleIOStreamStruct
GSimpleIOStream* getSimpleIOStreamStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

getType
GType getType()

Variables

gSimpleIOStream
GSimpleIOStream* gSimpleIOStream;

the main Gtk struct

Meta

Since

2.44