Clutter.Constraint
Description: Reference for Clutter.Constraint

### Class

# ClutterConstraint

#### Description [src]

    abstract class Clutter.Constraint : Clutter.ActorMeta {
      /* No available fields */
    }

The `ClutterConstraint` structure contains only private data and should be accessed using the provided API.

Available since: | 1.4

#### Ancestors

- ClutterActorMeta
- GInitiallyUnowned
- GObject

#### Descendants

- ClutterAlignConstraint
- ClutterBindConstraint
- ClutterPathConstraint
- ClutterSnapConstraint

#### Instance methods

###### 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`.

Available since: 1.4

###### clutter_actor_meta_get_enabled

Retrieves whether `meta` is enabled.

Available since: 1.4

###### clutter_actor_meta_get_name

Retrieves the name set using `clutter_actor_meta_set_name()`

Available since: 1.4

###### clutter_actor_meta_set_enabled

Sets whether `meta` should be enabled or not.

Available since: 1.4

###### clutter_actor_meta_set_name

Sets the name of `meta`.

Available since: 1.4

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from ClutterActorMeta (3)

###### Clutter.ActorMeta:actor

The `ClutterActor` attached to the `ClutterActorMeta` instance.

Available since: 1.4

###### Clutter.ActorMeta:enabled

Whether or not the `ClutterActorMeta` is enabled.

Available since: 1.4

###### Clutter.ActorMeta:name

The unique name to access the `ClutterActorMeta`.

Available since: 1.4

#### Signals

##### Signals inherited from GObject (1)

###### GObject.Object::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.

#### Class structure

    struct ClutterConstraintClass {
      void (* update_allocation) (
        ClutterConstraint* constraint,
        ClutterActor* actor,
        ClutterActorBox* allocation
      );
      void (* update_preferred_size) (
        ClutterConstraint* constraint,
        ClutterActor* actor,
        ClutterOrientation direction,
        float for_size,
        float* minimum_size,
        float* natural_size
      );
      void (* _clutter_constraint1) (
    void
      );
      void (* _clutter_constraint2) (
    void
      );
      void (* _clutter_constraint3) (
    void
      );
      void (* _clutter_constraint4) (
    void
      );
      void (* _clutter_constraint5) (
    void
      );
      void (* _clutter_constraint6) (
    void
      );
      void (* _clutter_constraint7) (
    void
      );

    }

###### Class members

`update_allocation` |
    void (* update_allocation) (
        ClutterConstraint* constraint,
        ClutterActor* actor,
        ClutterActorBox* allocation
      )
| No description available.
`update_preferred_size` |
    void (* update_preferred_size) (
        ClutterConstraint* constraint,
        ClutterActor* actor,
        ClutterOrientation direction,
        float for_size,
        float* minimum_size,
        float* natural_size
      )
| No description available.
`_clutter_constraint1` |
    void (* _clutter_constraint1) (
    void
      )
| No description available.
`_clutter_constraint2` |
    void (* _clutter_constraint2) (
    void
      )
| No description available.
`_clutter_constraint3` |
    void (* _clutter_constraint3) (
    void
      )
| No description available.
`_clutter_constraint4` |
    void (* _clutter_constraint4) (
    void
      )
| No description available.
`_clutter_constraint5` |
    void (* _clutter_constraint5) (
    void
      )
| No description available.
`_clutter_constraint6` |
    void (* _clutter_constraint6) (
    void
      )
| No description available.
`_clutter_constraint7` |
    void (* _clutter_constraint7) (
    void
      )
| No description available.

#### Virtual methods

###### Clutter.ConstraintClass.update_allocation

No description available.

###### Clutter.ConstraintClass.update_preferred_size

Asks the `constraint` to update the size request of a `ClutterActor`.