EvinceView.ViewPresentation

g EvinceView.ViewPresentation EvinceView.ViewPresentation GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Widget->EvinceView.ViewPresentation

Subclasses:

None

Methods

Inherited:

Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (18), Gtk.Buildable (1)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (document, current_page, rotation, inverted_colors)

get_current_page ()

get_rotation ()

next_page ()

previous_page ()

set_rotation (rotation)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (7), Gtk.Buildable (9)

Properties

Inherited:

Gtk.Widget (35), Gtk.Accessible (1)

Name

Type

Flags

Short Description

current-page

int

r/w/c

The current page

document

EvinceDocument.Document

w/co

Document

inverted-colors

bool

w/co

Whether presentation is displayed with inverted colors

rotation

int

r/w/c

Current rotation angle

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Name

Short Description

change-page

external-link

finished

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Class Details

class EvinceView.ViewPresentation(**kwargs)
Bases:

Gtk.Widget

Abstract:

No

Structure:

EvinceView.ViewPresentationClass

classmethod new(document, current_page, rotation, inverted_colors)
Parameters:
Return type:

EvinceView.ViewPresentation

get_current_page()
Return type:

int

get_rotation()
Return type:

int

next_page()
previous_page()
set_rotation(rotation)
Parameters:

rotation (int) –

Signal Details

EvinceView.ViewPresentation.signals.change_page(view_presentation, object)
Signal Name:

change-page

Flags:

RUN_LAST, ACTION

Parameters:
Signal Name:

external-link

Flags:

RUN_LAST, ACTION

Parameters:
EvinceView.ViewPresentation.signals.finished(view_presentation)
Signal Name:

finished

Flags:

RUN_LAST, ACTION

Parameters:

view_presentation (EvinceView.ViewPresentation) – The object which received the signal

Property Details

EvinceView.ViewPresentation.props.current_page
Name:

current-page

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT

The current page

EvinceView.ViewPresentation.props.document
Name:

document

Type:

EvinceDocument.Document

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Document

EvinceView.ViewPresentation.props.inverted_colors
Name:

inverted-colors

Type:

bool

Default Value:

False

Flags:

WRITABLE, CONSTRUCT_ONLY

Whether presentation is displayed with inverted colors

EvinceView.ViewPresentation.props.rotation
Name:

rotation

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT

Current rotation angle