PapersView.History

g GObject.Object GObject.Object PapersView.History PapersView.History GObject.Object->PapersView.History

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (model)

add_link (link)

add_page (page)

can_go_back ()

can_go_forward ()

freeze ()

get_back_list ()

get_forward_list ()

go_back ()

go_forward ()

go_to_link (link)

is_frozen ()

thaw ()

Virtual Methods

Inherited:

GObject.Object (7)

do_activate_link (link)

do_changed ()

Properties

Name

Type

Flags

Short Description

document-model

PapersView.DocumentModel

w/co

The document model

Signals

Inherited:

GObject.Object (1)

Name

Short Description

activate-link

changed

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class PapersView.History(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

PapersView.HistoryClass

classmethod new(model)
Parameters:

model (PapersView.DocumentModel) –

Return type:

PapersView.History

Parameters:

link (PapersDocument.Link) –

add_page(page)
Parameters:

page (int) –

can_go_back()
Return type:

bool

can_go_forward()
Return type:

bool

freeze()
get_back_list()
Returns:

the back history

Return type:

[PapersDocument.Link]

get_forward_list()
Returns:

the forward history

Return type:

[PapersDocument.Link]

go_back()
go_forward()
Parameters:

link (PapersDocument.Link) –

Return type:

bool

is_frozen()
Return type:

bool

thaw()
Parameters:

link (PapersDocument.Link) –

do_changed() virtual

Signal Details

Signal Name:

activate-link

Flags:

RUN_LAST, ACTION

Parameters:
PapersView.History.signals.changed(history)
Signal Name:

changed

Flags:

RUN_LAST, ACTION

Parameters:

history (PapersView.History) – The object which received the signal

Property Details

PapersView.History.props.document_model
Name:

document-model

Type:

PapersView.DocumentModel

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The document model