Class

GioCharsetConverter

Description [src]

final class Gio.CharsetConverter : GObject.Object {
  /* No available fields */
}

GCharsetConverter is an implementation of GConverter based on GIConv.

Hierarchy

hierarchy this GCharsetConverter implements_0 GConverter this--implements_0 implements_1 GInitable this--implements_1 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

g_charset_converter_new

Creates a new GCharsetConverter.

Available since: 2.24

Instance methods

g_charset_converter_get_num_fallbacks

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

Available since: 2.24

g_charset_converter_get_use_fallback

Gets the GCharsetConverter:use-fallback property.

Available since: 2.24

g_charset_converter_set_use_fallback

Sets the GCharsetConverter:use-fallback property.

Available since: 2.24

Methods inherited from GObject (43)
Methods inherited from GConverter (2)
g_converter_convert

This is the main operation used when converting data. It is to be called multiple times in a loop, and each time it will do some work, i.e. producing some output (in outbuf) or consuming some input (from inbuf) or both. If its not possible to do any work an error is returned.

Available since: 2.24

g_converter_reset

Resets all internal state in the converter, making it behave as if it was just created. If the converter has any internal state that would produce output then that output is lost.

Available since: 2.24

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

Available since: 2.22

Properties

Gio.CharsetConverter:from-charset
No description available.
Gio.CharsetConverter:to-charset
No description available.
Gio.CharsetConverter:use-fallback
No description available.

Signals

Signals inherited from GObject (1)

Class structure

struct GioCharsetConverterClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.