CellView.with_context


Description:

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

Creates a new CellView widget with a specific CellArea to layout cells and a specific CellAreaContext.

Specifying the same context for a handfull 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 CellArea to layout cells

context

the CellAreaContext in which to calculate cell geometry

Returns:

A newly created CellView widget.