GObject.Object
Clutter.Behaviour
Clutter.BehaviourDepth
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBehaviourDepth |
Class : | BehaviourDepth |
Implements: | Clutter.Scriptable |
Extends: | Clutter.Behaviour |
Properties | Defined By | |
---|---|---|
alpha : Clutter.Alpha
The ClutterAlpha object used to drive this behaviour.
The ClutterAlpha object used to drive this behaviour. A ClutterAlpha
object binds a ClutterTimeline and a function which computes a value (the "alpha") depending on the time. Each time the alpha value changes the alpha-notify virtual function is called. |
Clutter.Behaviour | |
depth_end : gint32
End depth level to apply to the actors.
End depth level to apply to the actors.
|
Clutter.BehaviourDepth | |
depth_start : gint32
Start depth level to apply to the actors.
Start depth level to apply to the actors.
|
Clutter.BehaviourDepth | |
parent : GObject.Object
read only
|
Clutter.Behaviour | |
parent_instance : Clutter.Behaviour
read only
|
Clutter.BehaviourDepth | |
priv : Clutter.BehaviourDepthPrivate
read only
|
Clutter.BehaviourDepth |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.BehaviourDepth
(Object properties)
Create a new Clutter.BehaviourDepth
Create a new Clutter.BehaviourDepth
|
||
new Clutter.BehaviourDepth.c_new
(Alpha alpha, gint32 depth_start, gint32 depth_end)
:
Clutter.Behaviour
Create a new Clutter.BehaviourDepth
Create a new Clutter.BehaviourDepth
|
||
Calls func for every actor driven by behave.
|
Clutter.Behaviour | |
apply
(Actor actor)
:
none
Applies behave to actor.
Applies behave to actor. This function adds a reference on
the actor.
|
Clutter.Behaviour | |
get_actors
()
:
Array
Retrieves all the actors to which behave applies.
Retrieves all the actors to which behave applies. It is not recommended
for derived classes to use this in there alpha notify method but use clutter_behaviour_actors_foreach as it avoids alot of needless allocations. actors. You should free the returned list with g_slist_free() when finished using it.
|
Clutter.Behaviour | |
get_alpha
()
:
Clutter.Alpha
Retrieves the ClutterAlpha object bound to behave.
Retrieves the ClutterAlpha object bound to behave.
object has been bound to this behaviour.
|
Clutter.Behaviour | |
get_bounds
()
:
Object
|
Clutter.BehaviourDepth | |
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().
the scriptable object and should never be modified of freed
|
Clutter.Scriptable | |
get_n_actors
()
:
gint32
Gets the number of actors this behaviour is applied too.
Gets the number of actors this behaviour is applied too.
|
Clutter.Behaviour | |
get_nth_actor
(gint32 index_)
:
Clutter.Actor
Gets an actor the behaviour was applied to referenced by index num.
Gets an actor the behaviour was applied to referenced by index num.
|
Clutter.Behaviour | |
Check if behave applied to actor.
Check if behave applied to actor.
|
Clutter.Behaviour | |
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 | |
remove
(Actor actor)
:
none
Removes actor from the list of ClutterActors to which
Removes actor from the list of ClutterActors to which
|
Clutter.Behaviour | |
remove_all
()
:
none
Removes every actor from the list that behave holds.
Removes every actor from the list that behave holds.
|
Clutter.Behaviour | |
set_alpha
(Alpha alpha)
:
none
Binds alpha to a ClutterBehaviour.
Binds alpha to a ClutterBehaviour. The ClutterAlpha object
used by ClutterAlpha a new value of the alpha parameter is computed by the alpha function; the value should be used by the ClutterBehaviour to update one or more properties of the actors to which the behaviour applies. If alpha is not NULL, the ClutterBehaviour will take ownership of the ClutterAlpha instance.
|
Clutter.Behaviour | |
Clutter.BehaviourDepth | ||
Overrides the common properties setting.
Overrides the common properties setting. The underlying virtual
function should be used when implementing custom properties.
|
Clutter.Scriptable | |
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 |
Event | Defined By | |
---|---|---|
The ::apply signal is emitted each time the behaviour is applied
to an actor.
The ::apply signal is emitted each time the behaviour is applied
to an actor.
|
Clutter.Behaviour | |
The ::removed signal is emitted each time a behaviour is not applied
to an actor anymore.
The ::removed signal is emitted each time a behaviour is not applied
to an actor anymore.
|
Clutter.Behaviour |