Package: pango
GBoxed pango:item
Declaration(glib:define-gboxed-opaque item "PangoItem" :export t :type-initializer "pango_item_get_type" :alloc (%item-new)) Details The pango:item structure stores information about a segment of text. The pango:itemize function breaks up a piece of text into pango:item instances, each of which represents a segment of text. The pango:item instance stores the byte offset of the start of the item in text, the length of the item in bytes, the number of characters in the item and the pango:analysis instance for the analysis results of the item. The values can be accessed with the corresponding functions: pango:item-offset, pango:item-length, pango:item-num-chars and pango:item-analysis. | Returned bySee also |
2026-03-11