Gtk.TextIter.prototype.get_attributes

function get_attributes():Boolean {
    // Gjs wrapper for gtk_text_iter_get_attributes()
}

Computes the effect of any tags applied to this spot in the text. The values parameter should be initialized to the default settings you wish to use if no tags are in effect. You'd typically obtain the defaults from Gtk.get_default_attributes.

gtk_text_iter_get_attributes () will modify values, applying the effects of any tags present at iter. If any tags affected values, the function returns true.

Returns

true if values was modified