Clutter.LayoutManager.get_preferred_width

### Method

# Clutter LayoutManagerget_preferred_width

#### Declaration [src]

    void
    clutter_layout_manager_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()`

#### Parameters

`container`

  Type: `ClutterContainer`

  The `ClutterContainer` using `manager`.

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