PgAttributeIterator.getFont

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

class PgAttributeIterator
void
getFont

Parameters

desc PgFontDescription

a PangoFontDescription to fill in with the current values. The family name in this structure will be set using pango_font_description_set_family_static() using values from an attribute in the PangoAttrList associated with the iterator,

language PgLanguage

if non-NULL, location to store language tag for item, or NULL if none is found. [allow-none]

extraAttrs ListSG

if non-NULL, 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_destroy() on each member. [allow-none][element-type Pango.Attribute][transfer full]

Meta