AttrIterator.getFont

Get the font and other attributes at the current iterator position.

Parameters

desc pango.font_description.FontDescription

a pango.font_description.FontDescription to fill in with the current values. The family name in this structure will be set using pango.font_description.FontDescription.setFamilyStatic using values from an attribute in the pango.attr_list.AttrList associated with the iterator, so if you plan to keep it around, you must call: pango_font_description_set_family (desc, pango_font_description_get_family (desc)).

language pango.language.Language

location to store language tag for item, or null if none is found.

extraAttrs pango.attribute.Attribute[]

location in which to store a list of non-font attributes at the the current position; only the highest priority value of each attribute will be added to this list. In order to free this value, you must call pango.attribute.Attribute.destroy on each member.