ZlibCompressor

Zlib decompression

Constructors

this
this(GZlibCompressor* gZlibCompressor, bool ownedRef = false)

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

this
this(GZlibCompressorFormat format, int level)

Creates a new GZlibCompressor

Members

Functions

getFileInfo
FileInfo getFileInfo()

Returns the file-info property.

getStruct
void* getStruct()

the main Gtk struct as a void*

getZlibCompressorStruct
GZlibCompressor* getZlibCompressorStruct(bool transferOwnership = false)

Get the main Gtk struct

setFileInfo
void setFileInfo(FileInfo fileInfo)

Sets file_info in compressor. If non-NULL, and compressor's format property is G_ZLIB_COMPRESSOR_FORMAT_GZIP, it will be used to set the file name and modification time in the GZIP header of the compressed data.

Static functions

getType
GType getType()

Variables

gZlibCompressor
GZlibCompressor* gZlibCompressor;

the main Gtk struct