Clutter.DesaturateEffect¶
- Subclasses:
None
Methods¶
- Inherited:
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 desaturation factor |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Clutter.DesaturateEffect(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Clutter.DesaturateEffect
is an opaque structure whose members cannot be directly accessedNew in version 1.4.
- classmethod new(factor)¶
- Parameters:
factor (
float
) – the desaturation factor, between 0.0 and 1.0- Returns:
the newly created
Clutter.DesaturateEffect
orNone
- Return type:
Creates a new
Clutter.DesaturateEffect
to be used withClutter.Actor.add_effect
()New in version 1.4.
- get_factor()¶
- Returns:
the desaturation factor
- Return type:
Retrieves the desaturation factor of self
New in version 1.4.