Gtk.CellView.new_with_text

function new_with_text(text:String):Gtk.Widget {
    // Gjs wrapper for gtk_cell_view_new_with_text()
}

Creates a new Gtk.CellView widget, adds a Gtk.CellRendererText to it, and makes it show text.

Since 2.6

text

the text to display in the cell view

Returns

A newly created Gtk.CellView widget.