Gtk.Entry.prototype.set_attributes

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

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

Since 3.6

attrs

a Pango.AttrList