EvinceView.JobThumbnail

g EvinceView.Job EvinceView.Job EvinceView.JobThumbnail EvinceView.JobThumbnail EvinceView.Job->EvinceView.JobThumbnail GObject.Object GObject.Object GObject.Object->EvinceView.Job

Subclasses:

None

Methods

Inherited:

EvinceView.Job (12), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (document, page, rotation, scale)

class

new_with_target_size (document, page, rotation, target_width, target_height)

set_has_frame (has_frame)

set_output_format (format)

Virtual Methods

Inherited:

EvinceView.Job (3), GObject.Object (7)

Properties

None

Signals

Inherited:

EvinceView.Job (2), GObject.Object (1)

Fields

Inherited:

EvinceView.Job (2), GObject.Object (1)

Name

Type

Access

Description

format

EvinceView.JobThumbnailFormat

r

has_frame

bool

r

page

int

r

parent

EvinceView.Job

r

rotation

int

r

scale

float

r

target_height

int

r

target_width

int

r

thumbnail

GdkPixbuf.Pixbuf

r

thumbnail_surface

cairo.Surface

r

Class Details

class EvinceView.JobThumbnail(**kwargs)
Bases:

EvinceView.Job

Abstract:

No

Structure:

EvinceView.JobThumbnailClass

classmethod new(document, page, rotation, scale)
Parameters:
Return type:

EvinceView.Job

classmethod new_with_target_size(document, page, rotation, target_width, target_height)
Parameters:
Return type:

EvinceView.Job

set_has_frame(has_frame)
Parameters:

has_frame (bool) –

New in version 3.8.

set_output_format(format)
Parameters:

format (EvinceView.JobThumbnailFormat) – a EvinceView.JobThumbnailFormat

Set the desired output format for the generated thumbnail

New in version 3.14.