CharsetConverter

GCharsetConverter is an implementation of GConverter based on GIConv.

Constructors

this
this(GCharsetConverter* gCharsetConverter, bool ownedRef = false)

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

this
this(string toCharset, string fromCharset)

Creates a new GCharsetConverter

Members

Functions

getCharsetConverterStruct
GCharsetConverter* getCharsetConverterStruct(bool transferOwnership = false)

Get the main Gtk struct

getNumFallbacks
uint getNumFallbacks()

Gets the number of fallbacks that converter has applied so far.

getStruct
void* getStruct()

the main Gtk struct as a void*

getUseFallback
bool getUseFallback()

Gets the use-fallback property.

setUseFallback
void setUseFallback(bool useFallback)

Sets the use-fallback property.

Static functions

getType
GType getType()

Variables

gCharsetConverter
GCharsetConverter* gCharsetConverter;

the main Gtk struct