Enums

Details

class GCab.Compression(value)

Bases: GObject.GEnum

Compression used by the GCab.Folder.

NONE = 0

No compression.

MSZIP = 1

MSZIP compression.

MASK = 15

compression value mask.

QUANTUM = 2

QUANTUM compression (unsupported).

LZX = 3

LZX compression (only decompression supported).

class GCab.Error(value)

Bases: GLib.Enum

The various errors triggered by the GCab functions.

FORMAT = 0

The given file is not of Cabinet format.

FAILED = 1

General function failure.

NOT_SUPPORTED = 2

Action or format is not supported

INVALID_DATA = 3

Data stream was invalid

class GCab.FileAttribute(value)

Bases: GObject.GEnum

Attributes associated with the GCab.File.

RDONLY = 1

file is read-only

NAME_IS_UTF = 128

name contains UTF

HIDDEN = 2

file is hidden

ARCH = 32

file modified since last backup

SYSTEM = 4

file is a system file

EXEC = 64

run after extraction