Struct

Pango.ScriptIter

Description [src]

struct PangoScriptIter {
  /* No available fields */
}

A PangoScriptIter is used to iterate through a string and identify ranges in different scripts.

Constructors

pango_script_iter_new

Create a new PangoScriptIter, used to break a string of Unicode text into runs by Unicode script. No copy is made of text, so the caller needs to make sure it remains valid until the iterator is freed with pango_script_iter_free().

Instance methods

pango_script_iter_free

Frees a PangoScriptIter created with pango_script_iter_new().

pango_script_iter_get_range

Gets information about the range to which iter currently points. The range is the set of locations p where start <= p < end. (That is, it doesn’t include the character stored at *end)

pango_script_iter_next

Advances a PangoScriptIter to the next range. If iter is already at the end, it is left unchanged and FALSE is returned.