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