CellView.newWithContext

Creates a new gtk.cell_view.CellView widget with a specific gtk.cell_area.CellArea to layout cells and a specific gtk.cell_area_context.CellAreaContext.

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 gtk.cell_area.CellArea

the gtk.cell_area.CellArea to layout cells

context gtk.cell_area_context.CellAreaContext

the gtk.cell_area_context.CellAreaContext in which to calculate cell geometry

Return Value

Type: gtk.cell_view.CellView

A newly created gtk.cell_view.CellView widget.