Next: ClutterColorizeEffect, Previous: ClutterClickAction, Up: Top
An actor that displays a clone of a source actor
<clutter-clone> is a <clutter-actor> which draws with the
paint function of another actor, scaled to fit its own allocation.
<clutter-clone> can be used to efficiently clone any other actor.
This is different from clutter-texture-new-from-actor which
requires support for FBOs in the underlying GL implementation.
<clutter-clone> is available since Clutter 1.0
<clutter-actor>) ⇒ (ret <clutter-actor>)Creates a new
<clutter-actor>which clones source/
- source
- a
<clutter-actor>, or ‘#f’- ret
- the newly created
<clutter-clone>Since 1.0
<clutter-clone>) (source <clutter-actor>)Sets source as the source actor to be cloned by self.
- self
- a
<clutter-clone>- source
- a
<clutter-actor>, or ‘#f’.Since 1.0
<clutter-clone>) ⇒ (ret <clutter-actor>)Retrieves the source
<clutter-actor>being cloned by self.
- self
- a
<clutter-clone>- ret
- the actor source for the clone.
Since 1.0