Gets the attribute list that was set on the text widget.
See [method@Gtk.Text.set_attributes].
a text widget
the attribute list