Virtual Method

ClutterConstraintupdate_preferred_size

Declaration [src]

void
update_preferred_size (
  ClutterConstraint* constraint,
  ClutterActor* actor,
  ClutterOrientation direction,
  float for_size,
  float* minimum_size,
  float* natural_size
)

Description [src]

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

Parameters

actor ClutterActor
 

A ClutterActor.

 The data is owned by the caller of the function.
direction ClutterOrientation
 

A ClutterOrientation.

for_size float
 

The size in the opposite direction.

minimum_size float*
 

The minimum size to modify.

 The argument will be modified by the function.
natural_size float*
 

The natural size to modify.

 The argument will be modified by the function.