a structure holding information that affects the itemization process.
the text to itemize. Must be valid UTF-8
first byte in text to process
the number of bytes (not characters) to process after start_index. This must be >= 0.
the set of attributes that apply to text.
Optionalcached_iter: AttrIteratorCached attribute iterator
a GLib.List of Pango.Item structures. The items should be freed using Pango.Item.free in combination with GLib.List.free_full.
Breaks a piece of text into segments with consistent directional level and font.
Each byte of
textwill be contained in exactly one of the items in the returned list; the generated list of items will be in logical order (the start offsets of the items are ascending).cached_itershould be an iterator overattrscurrently positioned at a range before or containingstart_index;cached_iterwill be advanced to the range covering the position just afterstart_index+length. (i.e. if itemizing in a loop, just keep passing in the samecached_iter).