GObject.Object
GObject.InitiallyUnowned
Clutter.Alpha
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterAlpha |
Class : | Alpha |
Implements: | Clutter.Scriptable |
Extends: | GObject.InitiallyUnowned |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
alpha : Number
read only
The alpha value as computed by the alpha function.
The alpha value as computed by the alpha function. The linear interval is 0.0 to 1.0, but the Alpha allows overshooting by one unit in each direction, so the valid interval is -1.0 to 2.0.
|
Clutter.Alpha | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
mode : Number
The progress function logical id - either a value from the ClutterAnimationMode enumeration or a value returned by clutter_alpha_register_func().
The progress function logical id - either a value from the ClutterAnimationMode enumeration or a value returned by clutter_alpha_register_func(). If CLUTTER_CUSTOM_MODE is used then the function set using clutter_alpha_set_closure() or clutter_alpha_set_func() will be used.
|
Clutter.Alpha | |
parent : GObject.InitiallyUnowned
read only
|
Clutter.Alpha | |
priv : Clutter.AlphaPrivate
read only
|
Clutter.Alpha | |
qdata : GLib.Data
|
GObject.InitiallyUnowned | |
ref_count : Number
|
GObject.InitiallyUnowned | |
timeline : Clutter.Timeline
A ClutterTimeline instance used to drive the alpha function.
A ClutterTimeline instance used to drive the alpha function.
|
Clutter.Alpha |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Alpha
(Object properties)
Create a new Clutter.Alpha
Create a new Clutter.Alpha
|
||
Create a new Clutter.Alpha
Create a new Clutter.Alpha
|
||
new Clutter.Alpha.with_func
(Timeline timeline, Function func, void* data, Function destroy)
:
Clutter.Alpha
Create a new Clutter.Alpha
Create a new Clutter.Alpha
|
||
GClosure variant of clutter_alpha_register_func().
GClosure variant of clutter_alpha_register_func(). Registers a global alpha function and returns its logical id to be used by clutter_alpha_set_mode() or by ClutterAnimation. The logical id is always greater than CLUTTER_ANIMATION_LAST.
|
Clutter.Alpha | |
Registers a global alpha function and returns its logical id to be used by clutter_alpha_set_mode() or by ClutterAnimation.
Registers a global alpha function and returns its logical id to be used by clutter_alpha_set_mode() or by ClutterAnimation. The logical id is always greater than CLUTTER_ANIMATION_LAST.
|
Clutter.Alpha | |
get_alpha
()
:
Number
Query the current alpha value.
Query the current alpha value.
|
Clutter.Alpha | |
get_id
()
:
String
Retrieves the id of scriptable set using clutter_scriptable_set_id().
Retrieves the id of scriptable set using clutter_scriptable_set_id().
|
Clutter.Scriptable | |
get_mode
()
:
Number
Retrieves the ClutterAnimationMode used by alpha.
Retrieves the ClutterAnimationMode used by alpha.
|
Clutter.Alpha | |
get_timeline
()
:
Clutter.Timeline
Gets the ClutterTimeline bound to alpha.
Gets the ClutterTimeline bound to alpha.
|
Clutter.Alpha | |
Parses the passed JSON node.
Parses the passed JSON node. The implementation must set the type of the passed GValue pointer using g_value_init().
|
Clutter.Scriptable | |
set_closure
(Closure closure)
:
none
Sets the GClosure used to compute the alpha value at each frame of the ClutterTimeline bound to alpha.
Sets the GClosure used to compute the alpha value at each frame of the ClutterTimeline bound to alpha.
|
Clutter.Alpha | |
Overrides the common properties setting.
Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.
|
Clutter.Scriptable | |
Sets the ClutterAlphaFunc function used to compute the alpha value at each frame of the ClutterTimeline bound to alpha.
Sets the ClutterAlphaFunc function used to compute the alpha value at each frame of the ClutterTimeline bound to alpha. This function will not register func as a global alpha function.
|
Clutter.Alpha | |
set_id
(String id)
:
none
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface.
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface. This name can be used by user interface designer applications to define a unique name for an object constructable using the UI definition language parsed by ClutterScript.
|
Clutter.Scriptable | |
set_mode
(Number mode)
:
none
Sets the progress function of alpha using the symbolic value of mode, as taken by the ClutterAnimationMode enumeration or using the value returned by clutter_alpha_register_func().
Sets the progress function of alpha using the symbolic value of mode, as taken by the ClutterAnimationMode enumeration or using the value returned by clutter_alpha_register_func().
|
Clutter.Alpha | |
set_timeline
(Timeline timeline)
:
none
Binds alpha to timeline.
Binds alpha to timeline.
|
Clutter.Alpha |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Actor
Method |
animate_with_alphav
(Alpha alpha, Number n_properties, Array properties, Array values)
:
Clutter.Animation
Animates the given list of properties of actor between the current value for each property and a new final value.
|
Clutter.Animation
Property |
alpha : Clutter.Alpha
The ClutterAlpha used by the animation.
|
Clutter.Animation
Method |
set_alpha
(Alpha alpha)
:
none
Sets alpha as the ClutterAlpha used by animation.
|
Clutter.Animation
Method |
get_alpha
()
:
Clutter.Alpha
Retrieves the ClutterAlpha used by animation.
|
Clutter.Behaviour
Property |
alpha : Clutter.Alpha
The ClutterAlpha object used to drive this behaviour.
|
Clutter.Behaviour
Method |
get_alpha
()
:
Clutter.Alpha
Retrieves the ClutterAlpha object bound to behave.
|
Clutter.Behaviour
Method |
set_alpha
(Alpha alpha)
:
none
Binds alpha to a ClutterBehaviour.
|
Clutter.BehaviourDepth
Method |
new Clutter.BehaviourDepth.c_new
(Alpha alpha, Number depth_start, Number depth_end)
:
Clutter.BehaviourDepth
Create a new Clutter.BehaviourDepth
|
Clutter.BehaviourEllipse
Method |
new Clutter.BehaviourEllipse.c_new
(Alpha alpha, Number x, Number y, Number width, Number height, RotateDirection direction, Number start, Number end)
:
Clutter.BehaviourEllipse
Create a new Clutter.BehaviourEllipse
|
Clutter.BehaviourOpacity
Method |
new Clutter.BehaviourOpacity.c_new
(Alpha alpha, Number opacity_start, Number opacity_end)
:
Clutter.BehaviourOpacity
Create a new Clutter.BehaviourOpacity
|
Clutter.BehaviourPath
Method |
Create a new Clutter.BehaviourPath
|
Clutter.BehaviourPath
Method |
Create a new Clutter.BehaviourPath
|
Clutter.BehaviourPath
Method |
new Clutter.BehaviourPath.with_knots
(Alpha alpha, Knot knots, Number n_knots)
:
Clutter.BehaviourPath
Create a new Clutter.BehaviourPath
|
Clutter.BehaviourRotate
Method |
new Clutter.BehaviourRotate.c_new
(Alpha alpha, RotateAxis axis, RotateDirection direction, Number angle_start, Number angle_end)
:
Clutter.BehaviourRotate
Create a new Clutter.BehaviourRotate
|
Clutter.BehaviourScale
Method |
new Clutter.BehaviourScale.c_new
(Alpha alpha, Number x_scale_start, Number y_scale_start, Number x_scale_end, Number y_scale_end)
:
Clutter.BehaviourScale
Create a new Clutter.BehaviourScale
|
Clutter.LayoutManager
Method |
Begins an animation of duration milliseconds, using the provided easing mode The easing mode can be specified either as a ClutterAnimationMode or as a logical id returned by clutter_alpha_register_func() The result of this function depends on the manager implementation
|