Item
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "pango_item_get_type ()" ) ]
[ Compact ]
public class Item
The `PangoItem` structure stores information about a segment of text.
You typically obtain `PangoItems` by itemizing a piece of text with [func@itemize].
Content:
Creation methods:
Methods:
- public void apply_attrs (AttrIterator iter)
Add attributes to a `PangoItem`.
- public Item? copy ()
Copy an existing `PangoItem` structure.
- public void free ()
Free a `PangoItem` and all associated memory.
- public Item split (int split_index, int split_offset)
Modifies this 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
this.
Fields: