Gtk.Label.prototype.set_attributes

function set_attributes(attrs:Pango.AttrList):void {
    // Gjs wrapper for gtk_label_set_attributes()
}

Sets a Pango.AttrList; the attributes in the list are applied to the label text.

<note><para>The attributes set with this function will be applied and merged with any other attributes previously effected by way of the Gtk.use-underline or Gtk.use-markup properties. While it is not recommended to mix markup strings with manually set attributes, if you must; know that the attributes will be applied to the label after the markup string is parsed.</para></note>

attrs

a Pango.AttrList