Enums

Details

class Tepl.CompressionType(value)

Bases: GObject.GEnum

New in version 1.0.

NONE = 0

plain text.

GZIP = 1

gzip compression.

class Tepl.FileLoaderError(value)

Bases: GObject.GEnum

An error code used with the %TEPL_FILE_LOADER_ERROR domain.

New in version 1.0.

classmethod quark()
Return type:int
TOO_BIG = 0

The file is too big.

ENCODING_AUTO_DETECTION_FAILED = 1

It is not possible to detect the encoding automatically.

class Tepl.FileSaverError(value)

Bases: GObject.GEnum

An error code used with the %TEPL_FILE_SAVER_ERROR domain.

New in version 1.0.

classmethod quark()
Return type:int
INVALID_CHARS = 0

The buffer contains invalid characters.

EXTERNALLY_MODIFIED = 1

The file is externally modified.

class Tepl.NewlineType(value)

Bases: GObject.GEnum

New in version 1.0.

LF = 0

line feed, used on UNIX.

CR = 1

carriage return, used on Mac.

CR_LF = 2

carriage return followed by a line feed, used on Windows.

class Tepl.SelectionType(value)

Bases: GObject.GEnum

New in version 1.0.

NO_SELECTION = 0

No selection.

ON_SAME_LINE = 1

The start and end selection bounds are on the same line.

MULTIPLE_LINES = 2

The selection spans multiple lines.