Virtual Method
ClutterLayoutManagerget_preferred_width
Declaration [src]
void
get_preferred_width (
ClutterLayoutManager* manager,
ClutterActor* 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()
.
Parameters
container
-
Type:
ClutterActor
The
ClutterActor
usingmanager
.The data is owned by the caller of the method. for_height
-
Type:
gfloat
The height for which the width should be computed, or -1.
min_width_p
-
Type:
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
-
Type:
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
.