Clutter.LayoutManager.get_preferred_height
Description: Reference for Clutter.LayoutManager.get_preferred_height

### Virtual Method

# Clutter LayoutManagerget_preferred_height

#### Declaration [src]

    void
    get_preferred_height (
      ClutterLayoutManager* manager,
      ClutterContainer* container,
      gfloat for_width,
      gfloat* min_height_p,
      gfloat* nat_height_p
    )

#### Description [src]

Computes the minimum and natural heights of the `container` according to `manager`.

See also `clutter_actor_get_preferred_height()`

Available since: | 1.2

#### Parameters

`container` | `ClutterContainer`
| The `ClutterContainer` using `manager`.
| The data is owned by the caller of the function.
`for_width` | `gfloat`
| The width for which the height should be computed, or -1
`min_height_p` | `gfloat*`
| Return location for the minimum height of the layout, or `NULL`.
| The argument will be set by the function.
| The argument can be `NULL`.
`nat_height_p` | `gfloat*`
| Return location for the natural height of the layout, or `NULL`.
| The argument will be set by the function.
| The argument can be `NULL`.