Label.getAttributes

pango.attr_list.AttrList getAttributes()

Gets the label's attribute list.

This is the pango.attr_list.AttrList that was set on the label using gtk.label.Label.setAttributes, if any. This function does not reflect attributes that come from the label's markup (see gtk.label.Label.setMarkup). If you want to get the effective attributes for the label, use pango_layout_get_attributes (gtk_label_get_layout (self)).

Returns

the attribute list