Clutter.ColorizeEffect

g Clutter.ActorMeta Clutter.ActorMeta Clutter.Effect Clutter.Effect Clutter.ActorMeta->Clutter.Effect Clutter.ColorizeEffect Clutter.ColorizeEffect Clutter.OffscreenEffect Clutter.OffscreenEffect Clutter.Effect->Clutter.OffscreenEffect Clutter.OffscreenEffect->Clutter.ColorizeEffect GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.ActorMeta GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

Clutter.OffscreenEffect (6), Clutter.Effect (1), Clutter.ActorMeta (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (tint)

get_tint ()

set_tint (tint)

Virtual Methods

Inherited:

Clutter.OffscreenEffect (2), Clutter.Effect (5), Clutter.ActorMeta (1), GObject.Object (7)

Properties

Inherited:

Clutter.ActorMeta (3)

Name

Type

Flags

Short Description

tint

Clutter.Color

r/w

The tint to apply

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Clutter.ColorizeEffect(**kwargs)
Bases:

Clutter.OffscreenEffect

Abstract:

No

Structure:

Clutter.ColorizeEffectClass

Clutter.ColorizeEffect is an opaque structure whose members cannot be directly accessed

New in version 1.4.

classmethod new(tint)
Parameters:

tint (Clutter.Color) – the color to be used

Returns:

the newly created Clutter.ColorizeEffect or None

Return type:

Clutter.Effect

Creates a new Clutter.ColorizeEffect to be used with Clutter.Actor.add_effect()

New in version 1.4.

get_tint()
Returns:

return location for the color used

Return type:

tint: Clutter.Color

Retrieves the tint used by self

New in version 1.4.

set_tint(tint)
Parameters:

tint (Clutter.Color) – the color to be used

Sets the tint to be used when colorizing

New in version 1.4.

Property Details

Clutter.ColorizeEffect.props.tint
Name:

tint

Type:

Clutter.Color

Default Value:

<Color structure at 0x000000000000 (ClutterColor at 0x0000000)>

Flags:

READABLE, WRITABLE

The tint to apply to the actor

New in version 1.4.