Gtk.CellView.new_with_markup

function new_with_markup(markup:String):Gtk.Widget {
    // Gjs wrapper for gtk_cell_view_new_with_markup()
}

Creates a new Gtk.CellView widget, adds a Gtk.CellRendererText to it, and makes it show markup. The text can be marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>.

Since 2.6

markup

the text to display in the cell view

Returns

A newly created Gtk.CellView widget.