Clutter.PageTurnEffect¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.DeformEffect (5), Clutter.OffscreenEffect (6), Clutter.Effect (1), Clutter.ActorMeta (5), GObject.Object (37)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The angle of the page rotation, in degrees |
||
r/w |
The period of the page turn |
||
r/w |
The radius of the page curl |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Clutter.PageTurnEffect(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Clutter.PageTurnEffect
is an opaque structure whose members can only be accessed using the provided APINew in version 1.4.
- classmethod new(period, angle, radius)¶
- Parameters:
- Returns:
the newly created
Clutter.PageTurnEffect
- Return type:
Creates a new
Clutter.PageTurnEffect
instance with the given parametersNew in version 1.4.
- get_angle()¶
- Returns:
the angle of the page curling
- Return type:
Retrieves the value set using
Clutter.PageTurnEffect.get_angle
()New in version 1.4.
- get_period()¶
- Returns:
the period of the page curling
- Return type:
Retrieves the value set using
Clutter.PageTurnEffect.get_period
()New in version 1.4.
- get_radius()¶
- Returns:
the radius of the page curling
- Return type:
Retrieves the value set using
Clutter.PageTurnEffect.set_radius
()New in version 1.4.
- set_angle(angle)¶
- Parameters:
angle (
float
) – the angle of the page curl, in degrees
Sets the angle of the page curling, in degrees
New in version 1.4.
Property Details¶
- Clutter.PageTurnEffect.props.angle¶
-
The angle of the page rotation, in degrees, between 0.0 and 360.0
New in version 1.4.
- Clutter.PageTurnEffect.props.period¶
-
The period of the page turn, between 0.0 (no curling) and 1.0 (fully curled)
New in version 1.4.