Behaviour
Object Hierarchy:
Description:
[
CCode ( type_id =
"clutter_behaviour_get_type ()" ) ]
[
Version ( deprecated =
true , deprecated_since =
"1.6" , since =
"0.2" ) ]
public abstract class Behaviour :
Object,
Scriptable
Warning: Behaviour is deprecated since 1.6.
Behaviour-struct contains only private data and should be accessed with the functions below.
Content:
Properties:
- public Alpha alpha { get; set; }
The Alpha object used
to drive this behaviour.
Creation methods:
Methods:
- public void actors_foreach (BehaviourForeachFunc func)
Calls func
for every actor driven by
this.
- public virtual void alpha_notify (double alpha_value)
- public void apply (Actor actor)
Applies this to actor
.
- public SList<unowned Actor> get_actors ()
Retrieves all the actors to which this
applies.
- public unowned Alpha get_alpha ()
Retrieves the Alpha
object bound to this.
- public int get_n_actors ()
Gets the number of actors this behaviour is applied too.
- public unowned Actor get_nth_actor (int index_)
Gets an actor the behaviour was applied to referenced by index num.
- public bool is_applied (Actor actor)
Check if this applied to actor
.
- public void remove (Actor actor)
Removes actor
from the list of
Actors to which this applies.
- public void remove_all ()
Removes every actor from the list that this
holds.
- public void set_alpha (Alpha alpha)
Binds alpha
to a Behaviour
.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface Clutter.Scriptable