Back to Seed Clases

Clutter


Classes

Interfaces

Structs

Unions

Enums

Class Clutter.Constraint

Import line: Clutter = imports.gi.Clutter;
GIR File: Clutter-1.0.gir
C documentation: ClutterConstraint
Class : Constraint
Subclasses: Clutter.AlignConstraint, Clutter.BindConstraint
Extends: Clutter.ActorMeta
The ClutterConstraint structure contains only
private data and should be accessed using the provided API
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter.Actor
Property
constraints : Clutter.Constraint
Adds a ClutterConstaint to the actor
Clutter.Actor
Method
add_constraint (Constraint constraint) : none
Adds constraint to the list of ClutterConstraints applied
to self
The ClutterActor will hold a reference on the constraint until
either clutter_actor_remove_constraint() or
clutter_actor_clear_constraints() is called.
Clutter.Actor
Method
add_constraint_with_name (String name, Constraint constraint) : none
A convenience function for setting the name of a ClutterConstraint
while adding it to the list of constraints applied to self
This function is the logical equivalent of:
|[
clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name);
clutter_actor_add_constraint (self, constraint);
]|
Clutter.Actor
Method
get_constraint (String name) : Clutter.Constraint
Retrieves the ClutterConstraint with the given name in the list
of constraints applied to self
name, or NULL.
Clutter.Actor
Method
remove_constraint (Constraint constraint) : none
Removes constraint from the list of constraints applied to self
The reference held by self on the ClutterConstraint will be released
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:31 GMT+0800 (HKT)