EvinceDocument.LinkDest

g EvinceDocument.LinkDest EvinceDocument.LinkDest GObject.Object GObject.Object GObject.Object->EvinceDocument.LinkDest

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new_fit (page)

class

new_fith (page, top, change_top)

class

new_fitr (page, left, bottom, right, top)

class

new_fitv (page, left, change_left)

class

new_named (named_dest)

class

new_page (page)

class

new_page_label (page_label)

class

new_xyz (page, left, top, zoom, change_left, change_top, change_zoom)

equal (b)

get_bottom ()

get_dest_type ()

get_left (change_left)

get_named_dest ()

get_page ()

get_page_label ()

get_right ()

get_top (change_top)

get_zoom (change_zoom)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

bottom

float

r/w/co

The bottom coordinate

change

int

r/w/co

Wether top, left, and zoom should be changed

left

float

r/w/co

The left coordinate

named

str

r/w/co

The named destination

page

int

r/w/co

The destination page

page-label

str

r/w/co

The label of the destination page

right

float

r/w/co

The right coordinate

top

float

r/w/co

The top coordinate

type

EvinceDocument.LinkDestType

r/w/co

The destination type

zoom

float

r/w/co

Zoom

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class EvinceDocument.LinkDest(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

EvinceDocument.LinkDestClass

classmethod new_fit(page)
Parameters:

page (int) –

Return type:

EvinceDocument.LinkDest

classmethod new_fith(page, top, change_top)
Parameters:
Return type:

EvinceDocument.LinkDest

classmethod new_fitr(page, left, bottom, right, top)
Parameters:
Return type:

EvinceDocument.LinkDest

classmethod new_fitv(page, left, change_left)
Parameters:
Return type:

EvinceDocument.LinkDest

classmethod new_named(named_dest)
Parameters:

named_dest (str) –

Return type:

EvinceDocument.LinkDest

classmethod new_page(page)
Parameters:

page (int) –

Return type:

EvinceDocument.LinkDest

classmethod new_page_label(page_label)
Parameters:

page_label (str) –

Return type:

EvinceDocument.LinkDest

classmethod new_xyz(page, left, top, zoom, change_left, change_top, change_zoom)
Parameters:
Return type:

EvinceDocument.LinkDest

equal(b)
Parameters:

b (EvinceDocument.LinkDest) – a EvinceDocument.LinkDest

Returns:

True iff self and b are equal

Return type:

bool

Checks whether self and b are equal.

New in version 3.8.

get_bottom()
Return type:

float

get_dest_type()
Return type:

EvinceDocument.LinkDestType

get_left(change_left)
Parameters:

change_left (bool) –

Return type:

float

get_named_dest()
Return type:

str

get_page()
Return type:

int

get_page_label()
Return type:

str

get_right()
Return type:

float

get_top(change_top)
Parameters:

change_top (bool) –

Return type:

float

get_zoom(change_zoom)
Parameters:

change_zoom (bool) –

Return type:

float

Property Details

EvinceDocument.LinkDest.props.bottom
Name:

bottom

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The bottom coordinate

EvinceDocument.LinkDest.props.change
Name:

change

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Wether top, left, and zoom should be changed

EvinceDocument.LinkDest.props.left
Name:

left

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The left coordinate

EvinceDocument.LinkDest.props.named
Name:

named

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The named destination

EvinceDocument.LinkDest.props.page
Name:

page

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The destination page

EvinceDocument.LinkDest.props.page_label
Name:

page-label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The label of the destination page

EvinceDocument.LinkDest.props.right
Name:

right

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The right coordinate

EvinceDocument.LinkDest.props.top
Name:

top

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The top coordinate

EvinceDocument.LinkDest.props.type
Name:

type

Type:

EvinceDocument.LinkDestType

Default Value:

EvinceDocument.LinkDestType.UNKNOWN

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The destination type

EvinceDocument.LinkDest.props.zoom
Name:

zoom

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Zoom