Champlain.Viewport¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.Actor (238), GObject.Object (37), Clutter.Animatable (5), Clutter.Container (17), Clutter.Scriptable (4)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Horizontal adjustment |
||
r/w |
Vertical adjustment |
||
r/w |
Origin’s X coordinate in pixels |
||
r/w |
Origin’s Y coordinate in pixels |
Signals¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Clutter.Actor (26), GObject.Object (1), Clutter.Container (3)
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Champlain.Viewport(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- get_adjustments(hadjustment, vadjustment)¶
- Parameters:
hadjustment (
Champlain.Adjustment
) –vadjustment (
Champlain.Adjustment
) –
- set_actor_position(actor, x, y)¶
- Parameters:
actor (
Clutter.Actor
) –x (
float
) –y (
float
) –
- set_adjustments(hadjustment, vadjustment)¶
- Parameters:
hadjustment (
Champlain.Adjustment
) –vadjustment (
Champlain.Adjustment
) –
- set_child(child)¶
- Parameters:
child (
Clutter.Actor
) –
- stop()¶
Signal Details¶
- Champlain.Viewport.signals.relocated(viewport)¶
- Signal Name:
relocated
- Flags:
- Parameters:
viewport (
Champlain.Viewport
) – The object which received the signal
Property Details¶
- Champlain.Viewport.props.hadjustment¶
- Name:
hadjustment
- Type:
- Default Value:
- Flags:
Horizontal adjustment
- Champlain.Viewport.props.vadjustment¶
- Name:
vadjustment
- Type:
- Default Value:
- Flags:
Vertical adjustment
- Champlain.Viewport.props.x_origin¶
-
Origin’s X coordinate in pixels