Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Splits a shaped item (PangoGlyphItem) into multiple items based on an attribute list. The idea is that if you have attributes that don't affect shaping, such as color or underline, to avoid affecting shaping, you filter them out (pango_attr_list_filter()), apply the shaping process and then reapply them to the result using this function.
Make a deep copy of an existing PangoGlyphItem structure.
Frees a PangoGlyphItem and resources to which it points.
Given a PangoGlyphItem and the corresponding text, determine the screen width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters.
Get the main Gtk struct
the main Gtk struct as a void*
Adds spacing between the graphemes of glyph_item to give the effect of typographic letter spacing.
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. You can think of split_index as the length of the returned item. split_index may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you can't create a zero-length item).
corresponding PangoGlyphString
corresponding PangoItem
the main Gtk struct
A PangoGlyphItem is a pair of a PangoItem and the glyphs resulting from shaping the text corresponding to an item. As an example of the usage of PangoGlyphItem, the results of shaping text with gtk.Layout is a list of PangoLayoutLine, each of which contains a list of PangoGlyphItem