Gtk.CellView.new_with_pixbuf

function new_with_pixbuf(pixbuf:GdkPixbuf.Pixbuf):Gtk.Widget {
    // Gjs wrapper for gtk_cell_view_new_with_pixbuf()
}

Creates a new Gtk.CellView widget, adds a Gtk.CellRendererPixbuf to it, and makes it show pixbuf.

Since 2.6

pixbuf

the image to display in the cell view

Returns

A newly created Gtk.CellView widget.