EvinceDocument.Attachment

g EvinceDocument.Attachment EvinceDocument.Attachment GObject.Object GObject.Object GObject.Object->EvinceDocument.Attachment

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

error_quark ()

class

new (name, description, mtime, ctime, size, data)

get_creation_date ()

get_description ()

get_mime_type ()

get_modification_date ()

get_name ()

open (screen, timestamp)

save (file)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

ctime

int

w/co

The attachment creation date

data

int

w/co

The attachment data

description

str

w/co

The attachment description

mtime

int

w/co

The attachment modification date

name

str

w/co

The attachment name

size

int

w/co

The attachment size

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base_instance

GObject.Object

r

Class Details

class EvinceDocument.Attachment(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

EvinceDocument.AttachmentClass

classmethod error_quark()
Return type:

int

classmethod new(name, description, mtime, ctime, size, data)
Parameters:
Return type:

EvinceDocument.Attachment

get_creation_date()
Return type:

int

get_description()
Return type:

str

get_mime_type()
Return type:

str

get_modification_date()
Return type:

int

get_name()
Return type:

str

open(screen, timestamp)
Parameters:
Raises:

GLib.Error

Return type:

bool

save(file)
Parameters:

file (Gio.File) –

Raises:

GLib.Error

Return type:

bool

Property Details

EvinceDocument.Attachment.props.ctime
Name:

ctime

Type:

int

Default Value:

0

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment creation date

EvinceDocument.Attachment.props.data
Name:

data

Type:

int

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment data

EvinceDocument.Attachment.props.description
Name:

description

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment description

EvinceDocument.Attachment.props.mtime
Name:

mtime

Type:

int

Default Value:

0

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment modification date

EvinceDocument.Attachment.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment name

EvinceDocument.Attachment.props.size
Name:

size

Type:

int

Default Value:

0

Flags:

WRITABLE, CONSTRUCT_ONLY

The attachment size