Gtk.CellRenderer.get_preferred_width_for_height
Description: Reference for Gtk.CellRenderer.get_preferred_width_for_height

### Virtual Method

# Gtk CellRendererget_preferred_width_for_height

#### Declaration [src]

    void
    get_preferred_width_for_height (
      GtkCellRenderer* cell,
      GtkWidget* widget,
      int height,
      int* minimum_width,
      int* natural_width
    )

#### Description [src]

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

#### Parameters

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