Gtk.CellView.new_with_context
function new_with_context(area:Gtk.CellArea, context:Gtk.CellAreaContext):Gtk.Widget {
// Gjs wrapper for gtk_cell_view_new_with_context()
}Creates a new Gtk.CellView widget with a specific Gtk.CellArea to layout cells and a specific Gtk.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.
Since 2.6
- area
the Gtk.CellArea to layout cells
- context
the Gtk.CellAreaContext in which to calculate cell geometry
- Returns
A newly created Gtk.CellView widget.