convenience API for creation of PangoAttrList
Submitted by Sven Neumann
Link to original bug (#417777)
Description
libgimpwidgets includes an API for conveniently applying a PangoAttrList to a GtkLabel and I would like to propose it for inclusion in GTK+. It would make sense though to have most of this code in Pango, so I am filing this bug report asking for an API addition to Pango.
The implementation of gimp_label_set_attributes can be reviewed in http://svn.gnome.org/viewcvs/gimp/trunk/libgimpwidgets/gimpwidgets.c?view=markup
I propose adding pango_attr_list_new_full(...). Perhaps also add pango_attr_new(type, ...).