Struct
Pango.Item
Description [src]
struct PangoItem {
  gint offset;
  gint length;
  gint num_chars;
  PangoAnalysis analysis;
}
The PangoItem structure stores information about a segment of text.
You typically obtain PangoItems by itemizing a piece of text
with pango_itemize().
Structure members
| offset | byte offset of the start of this item in text. | 
| length | length of this item in bytes. | 
| num_chars | number of Unicode characters in the item. | 
| analysis | analysis results for the item. | 
Constructors
pango_item_new
Creates a new PangoItem structure initialized to default values.
Instance methods
pango_item_apply_attrs
Add attributes to a PangoItem.
pango_item_copy
Copy an existing PangoItem structure.
pango_item_free
Free a PangoItem and all associated memory.
pango_item_split
Modifies orig to cover only the text after split_index, and
returns a new item that covers the text before split_index that
used to be in orig.