### Method

# Gtk CellArea foreach_alloc

deprecated: 4.10

#### Declaration [src]

    void
    gtk_cell_area_foreach_alloc (
      GtkCellArea* area,
      GtkCellAreaContext* context,
      GtkWidget* widget,
      const GdkRectangle* cell_area,
      const GdkRectangle* background_area,
      GtkCellAllocCallback callback,
      gpointer callback_data
    )

#### Description [src]

Calls `callback` for every `GtkCellRenderer` in `area` with the allocated rectangle inside `cell_area`.

Deprecated since: 4.10

Please do not use it in newly written code.

#### Parameters

`context`

  Type: `GtkCellAreaContext`

  The `GtkCellArea`Context for this row of data.

  The data is owned by the caller of the method.

`widget`

  Type: `GtkWidget`

  The `GtkWidget` that `area` is rendering to.

  The data is owned by the caller of the method.

`cell_area`

  Type: `GdkRectangle`

  The `widget` relative coordinates and size for `area`.

  The data is owned by the caller of the method.

`background_area`

  Type: `GdkRectangle`

  The `widget` relative coordinates of the background area.

  The data is owned by the caller of the method.

`callback`

  Type: `GtkCellAllocCallback`

  The `GtkCellAllocCallback` to call.

`callback_data`

  Type: `gpointer`

  User provided data pointer.

  The argument can be `NULL`.
  The data is owned by the caller of the method.