Class
ClutterSnapConstraint
since: 1.6
Description [src]
final class Clutter.SnapConstraint : Clutter.Constraint {
/* No available fields */
}
ClutterSnapConstraint
is an opaque structure
whose members cannot be directly accesses.
Available since: 1.6
Constructors
clutter_snap_constraint_new
Creates a new ClutterSnapConstraint
that will snap a ClutterActor
to the edge
of source
, with the given offset
.
since: 1.6
Instance methods
clutter_snap_constraint_get_offset
Retrieves the offset set using clutter_snap_constraint_set_offset()
since: 1.6
clutter_snap_constraint_get_source
Retrieves the ClutterActor
set using clutter_snap_constraint_set_source()
since: 1.6
Methods inherited from ClutterConstraint (1)
clutter_constraint_update_preferred_size
Asks the constraint
to update the size request of a ClutterActor
.
Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor
Retrieves a pointer to the ClutterActor
that owns meta
.
since: 1.4
clutter_actor_meta_get_enabled
Retrieves whether meta
is enabled.
since: 1.4
clutter_actor_meta_get_name
Retrieves the name set using clutter_actor_meta_set_name()
since: 1.4
clutter_actor_meta_set_enabled
Sets whether meta
should be enabled or not.
since: 1.4
clutter_actor_meta_set_name
Sets the name of meta
.
since: 1.4
Properties
Clutter.SnapConstraint:offset
The offset, in pixels, between ClutterSnapConstraint:from-edge
and ClutterSnapConstraint:to-edge
.
since: 1.6
Clutter.SnapConstraint:to-edge
The edge of the ClutterSnapConstraint:source
that should be snapped.
since: 1.6
Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor
The ClutterActor
attached to the ClutterActorMeta
instance.
since: 1.4
Clutter.ActorMeta:enabled
Whether or not the ClutterActorMeta
is enabled.
since: 1.4
Clutter.ActorMeta:name
The unique name to access the ClutterActorMeta
.
since: 1.4
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.