Gtk.Tooltip.prototype.set_markup

function set_markup(markup:String):void {
    // Gjs wrapper for gtk_tooltip_set_markup()
}

Sets the text of the tooltip to be markup, which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>. If markup is null, the label will be hidden.

Since 2.12

markup

a markup string (see <link linkend="PangoMarkupFormat">Pango markup format</link>) or null