Label.getAttributes

Gets the attribute list that was set on the label using gtk.label.Label.setAttributes, if any. This function does not reflect attributes that come from the labels markup (see gtk.label.Label.setMarkup). If you want to get the effective attributes for the label, use pango_layout_get_attribute (gtk_label_get_layout (label)).

class Label
getAttributes
()

Return Value

Type: pango.attr_list.AttrList

the attribute list, or null if none was set.