Enums

Details

class Gfls.IconvResult(value)

Bases: GObject.GEnum

Used as the result value of gfls_iconv_feed().

New in version 0.4.

OK = 0

Everything OK.

ERROR = 1

An error occurred.

ILLEGAL_SEQUENCE = 2

Stopped at an invalid character in the inbuf; or the character could not be represented in the target character set. *inbuf is left pointing to the beginning of the invalid or unconvertible sequence.

INCOMPLETE_INPUT = 3

The input byte sequence ends with an incomplete multi-byte character. *inbuf is left pointing to the beginning of the incomplete multi-byte character.

OUTPUT_BUFFER_FULL = 4

The output buffer has no more room for the next converted character.

LOSSY_CONVERSION = 5

A number of nonreversible conversions have been performed.

class Gfls.LoaderError(value)

Bases: GObject.GEnum

An error code used with the %GFLS_LOADER_ERROR domain.

New in version 0.1.

classmethod quark()
Return type:

int

TOO_BIG = 0

The content is too big.

NOT_UTF8 = 1

The content is not a valid UTF-8 string. Used by basic loaders that don’t support charset conversion.

HAS_VERY_LONG_LINE = 2

The content contains a very long line.