Gtk.CellRenderer.get_preferred_height_for_width
Description: Reference for Gtk.CellRenderer.get_preferred_height_for_width

### Virtual Method

# Gtk CellRendererget_preferred_height_for_width

#### Declaration [src]

    void
    get_preferred_height_for_width (
      GtkCellRenderer* cell,
      GtkWidget* widget,
      int width,
      int* minimum_height,
      int* natural_height
    )

#### Description [src]

Retrieves a cell renderers’s minimum and natural height if it were rendered to `widget` with the specified `width`.

#### Parameters

`widget` | `GtkWidget`
| The `GtkWidget` this cell will be rendering to.
| The data is owned by the caller of the function.
`width` | `int`
| The size which is available for allocation.
`minimum_height` | `int*`
| Location for storing the minimum size.
| The argument will be set by the function.
| The argument can be `NULL`.
`natural_height` | `int*`
| Location for storing the preferred size.
| The argument will be set by the function.
| The argument can be `NULL`.