Gtk.Label.prototype.get_attributes
function get_attributes():Pango.AttrList { // Gjs wrapper for gtk_label_get_attributes() }
Gets the attribute list that was set on the label using Gtk.set_attributes, if any. This function does not reflect attributes that come from the labels markup (see Gtk.set_markup). If you want to get the effective attributes for the label, use pango_layout_get_attribute (gtk_label_get_layout (label)).
- Returns
the attribute list, or null if none was set.