PapersView.ViewPresentation

g 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 PapersView.ViewPresentation PapersView.ViewPresentation Gtk.Widget->PapersView.ViewPresentation

Subclasses:

None

Methods

Inherited:

Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), 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 (6), 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

PapersDocument.Document

w/c

Document

inverted-colors

bool

w/c

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)

Name

Type

Access

Description

parent_instance

Gtk.Widget

r

Class Details

class PapersView.ViewPresentation(**kwargs)
Bases:

Gtk.Widget

Abstract:

No

Structure:

PapersView.ViewPresentationClass

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

PapersView.ViewPresentation

get_current_page()
Return type:

int

get_rotation()
Return type:

int

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

rotation (int) –

Signal Details

PapersView.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:
PapersView.ViewPresentation.signals.finished(view_presentation)
Signal Name:

finished

Flags:

RUN_LAST, ACTION

Parameters:

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

Property Details

PapersView.ViewPresentation.props.current_page
Name:

current-page

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT

The current page

PapersView.ViewPresentation.props.document
Name:

document

Type:

PapersDocument.Document

Default Value:

None

Flags:

WRITABLE, CONSTRUCT

Document

PapersView.ViewPresentation.props.inverted_colors
Name:

inverted-colors

Type:

bool

Default Value:

False

Flags:

WRITABLE, CONSTRUCT

Whether presentation is displayed with inverted colors

PapersView.ViewPresentation.props.rotation
Name:

rotation

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT

Current rotation angle