Interface CellArea.OnCellAllocCallback

Enclosing class:
CellArea
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CellArea.OnCellAllocCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onCellAllocCallback(CallbackHandler __self, CellRenderer renderer, Rectangle cell_area, Rectangle cell_background, Pointer data)
    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().
  • Method Details

    • onCellAllocCallback

      boolean onCellAllocCallback(CallbackHandler __self, @Nonnull CellRenderer renderer, @Nonnull Rectangle cell_area, @Nonnull Rectangle cell_background, @Nullable Pointer data)
      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().
      Parameters:
      renderer - the cell renderer to operate on
      cell_area - the area allocated to @renderer inside the rectangle provided to gtk_cell_area_foreach_alloc().
      cell_background - the background area for @renderer inside the background area provided to gtk_cell_area_foreach_alloc().
      data - user-supplied data
      Returns:
      %TRUE to stop iterating over cells.