Package: pango

GBoxed pango:attr-list

Declaration

(glib:define-gboxed-opaque attr-list "PangoAttrList"
  :type-initializer "pango_attr_list_get_type"
  :alloc (%attr-list-new))  

Details

The pango:attr-list structure represents a list of attributes that apply to a section of text. The pango:attr-list structure is opaque, and has no user visible fields. The attributes are, in general, allowed to overlap in an arbitrary fashion, however, if the attributes are manipulated only through the pango:attr-list-change function, the overlap between properties will meet stricter criteria.

Since the pango:attr-list structure is stored as a linear list, it is not suitable for storing attributes for large amounts of text. In general, you should not use a single pango:attr-list instance for more than one paragraph of text.
 

Returned by

See also

2025-1-1