Champlain.Viewport

g Atk.ImplementorIface Atk.ImplementorIface Clutter.Actor Clutter.Actor Atk.ImplementorIface->Clutter.Actor Champlain.Viewport Champlain.Viewport Clutter.Actor->Champlain.Viewport Clutter.Animatable Clutter.Animatable Clutter.Animatable->Clutter.Actor Clutter.Container Clutter.Container Clutter.Container->Clutter.Actor Clutter.Scriptable Clutter.Scriptable Clutter.Scriptable->Clutter.Actor GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface GObject.GInterface->Clutter.Animatable GObject.GInterface->Clutter.Container GObject.GInterface->Clutter.Scriptable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.Actor GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)

Structs:

GObject.ObjectClass (5)

class

new ()

get_adjustments (hadjustment, vadjustment)

get_anchor (x, y)

get_origin (x, y)

set_actor_position (actor, x, y)

set_adjustments (hadjustment, vadjustment)

set_child (child)

set_origin (x, y)

stop ()

Virtual Methods

Inherited:

Clutter.Actor (35), GObject.Object (7), Clutter.Animatable (5), Clutter.Container (13), Clutter.Scriptable (4)

Properties

Inherited:

Clutter.Actor (82)

Name

Type

Flags

Short Description

hadjustment

Champlain.Adjustment

r/w

Horizontal adjustment

vadjustment

Champlain.Adjustment

r/w

Vertical adjustment

x-origin

int

r/w

Origin’s X coordinate in pixels

y-origin

int

r/w

Origin’s Y coordinate in pixels

Signals

Inherited:

Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)

Name

Short Description

relocated

Fields

Inherited:

Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)

Name

Type

Access

Description

parent

Clutter.Actor

r

Class Details

class Champlain.Viewport(**kwargs)
Bases:

Clutter.Actor

Abstract:

No

Structure:

Champlain.ViewportClass

classmethod new()
Return type:

Clutter.Actor

get_adjustments(hadjustment, vadjustment)
Parameters:
get_anchor(x, y)
Parameters:
get_origin(x, y)
Parameters:
set_actor_position(actor, x, y)
Parameters:
set_adjustments(hadjustment, vadjustment)
Parameters:
set_child(child)
Parameters:

child (Clutter.Actor) –

set_origin(x, y)
Parameters:
stop()

Signal Details

Champlain.Viewport.signals.relocated(viewport)
Signal Name:

relocated

Flags:

RUN_LAST

Parameters:

viewport (Champlain.Viewport) – The object which received the signal

Property Details

Champlain.Viewport.props.hadjustment
Name:

hadjustment

Type:

Champlain.Adjustment

Default Value:

None

Flags:

READABLE, WRITABLE

Horizontal adjustment

Champlain.Viewport.props.vadjustment
Name:

vadjustment

Type:

Champlain.Adjustment

Default Value:

None

Flags:

READABLE, WRITABLE

Vertical adjustment

Champlain.Viewport.props.x_origin
Name:

x-origin

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Origin’s X coordinate in pixels

Champlain.Viewport.props.y_origin
Name:

y-origin

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Origin’s Y coordinate in pixels