CellView.with_context


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public CellView.with_context (CellArea area, CellAreaContext context)

Creates a new `GtkCellView` widget with a specific `GtkCellArea` to layout cells and a specific `GtkCellAreaContext`.

Specifying the same context for a handful of cells lets the underlying area synchronize the geometry for those cells, in this way alignments with cellviews for other rows are possible.

Parameters:

area

the `GtkCellArea` to layout cells

context

the `GtkCellAreaContext` in which to calculate cell geometry

Returns:

A newly created `GtkCellView` widget.