Gtk.CellAllocCallback
Description: Reference for Gtk.CellAllocCallback

### Function

# GtkCellAllocCallback

since: 4.0

#### Declaration

    gboolean
    (* GtkCellAllocCallback) (
      GtkCellRenderer* renderer,
      const GdkRectangle* cell_area,
      const GdkRectangle* cell_background,
      gpointer data
    )

#### Description [src]

The type of the callback functions used for iterating over the cell renderers and their allocated areas inside a `GtkCellArea`, see gtk_cell_area_foreach_alloc().

Available since: 4.0

#### Parameters

`renderer`

  Type: `GtkCellRenderer`

  The cell renderer to operate on.

  The data is owned by the caller of the function.

`cell_area`

  Type: `GdkRectangle`

  The area allocated to `renderer` inside the rectangle provided to gtk_cell_area_foreach_alloc().

  The data is owned by the caller of the function.

`cell_background`

  Type: `GdkRectangle`

  The background area for `renderer` inside the background area provided to gtk_cell_area_foreach_alloc().

  The data is owned by the caller of the function.

`data`

  Type: `gpointer`

  User-supplied data.

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

#### Return value

Type: `gboolean`

`TRUE` to stop iterating over cells.