Virtual Method

ClutterLayoutManagerget_preferred_width

Declaration [src]

void
get_preferred_width (
  ClutterLayoutManager* manager,
  ClutterContainer* container,
  gfloat for_height,
  gfloat* min_width_p,
  gfloat* nat_width_p
)

Description [src]

Computes the minimum and natural widths of the container according to manager.

See also clutter_actor_get_preferred_width()

Available since:1.2

Parameters

container ClutterContainer
 

The ClutterContainer using manager.

 The data is owned by the caller of the function.
for_height gfloat
 

The height for which the width should be computed, or -1

min_width_p gfloat*
 

Return location for the minimum width of the layout, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
nat_width_p gfloat*
 

Return location for the natural width of the layout, or NULL.

 The argument will be set by the function.
 The argument can be NULL.