EvinceView.ViewPresentation

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget EvinceView.ViewPresentation EvinceView.ViewPresentation GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Widget->EvinceView.ViewPresentation

Subclasses:

None

Methods

Inherited:

Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.WidgetClass (12), 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 (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Widget (39)

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

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Name

Short Description

change-page

external-link

finished

Fields

Inherited:

Gtk.Widget (69), 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:

Gtk.Widget

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