GObject.Object
GObject.InitiallyUnowned
Clutter.ActorMeta
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 |
Properties | Defined By | |
---|---|---|
actor : Clutter.Actor
read only
The ClutterActor attached to the ClutterActorMeta instance
The ClutterActor attached to the ClutterActorMeta instance
|
Clutter.ActorMeta | |
enabled : gboolean
Whether or not the ClutterActorMeta is enabled
Whether or not the ClutterActorMeta is enabled
|
Clutter.ActorMeta | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
name : String
The unique name to access the ClutterActorMeta
The unique name to access the ClutterActorMeta
|
Clutter.ActorMeta | |
parent_instance : Clutter.ActorMeta
read only
|
Clutter.Constraint | |
priv : Clutter.ActorMetaPrivate
read only
|
Clutter.ActorMeta | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Constraint
(Object properties)
Create a new Clutter.Constraint
Create a new Clutter.Constraint
|
||
get_actor
()
:
Clutter.Actor
Retrieves a pointer to the ClutterActor that owns meta
Retrieves a pointer to the ClutterActor that owns meta
|
Clutter.ActorMeta | |
get_enabled
()
:
gboolean
Retrieves whether meta is enabled
Retrieves whether meta is enabled
|
Clutter.ActorMeta | |
get_name
()
:
String
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set.
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set. The returned string is owned by the ClutterActorMeta instance and it should not be modified or freed
|
Clutter.ActorMeta | |
set_enabled
(gboolean is_enabled)
:
none
Sets whether meta should be enabled or not
Sets whether meta should be enabled or not
|
Clutter.ActorMeta | |
set_name
(String name)
:
none
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
|
Clutter.ActorMeta |
None |
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 |