get_attributes


Description:

public unowned AttrList? get_attributes ()

Gets the label's attribute list.

This is the [struct@Pango.AttrList] that was set on the label using [method@Gtk.Label.set_attributes], if any. This function does not reflect attributes that come from the label's markup (see [method@Gtk.Label.set_markup]). If you want to get the effective attributes for the label, use `pango_layout_get_attributes (gtk_label_get_layout (self))`.

Parameters:

this

a `GtkLabel`

Returns:

the attribute list