Class (GI Struct)

Pango-1.0PangoScriptIter

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

Index

Constructors

Properties

Methods

Constructors

Properties

$gtype: GType<ScriptIter>

Methods

  • 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)

    Note that while the type of the script argument is declared as Pango.Script, as of Pango 1.18, this function simply returns GLib.UnicodeScript values. Callers must be prepared to handle unknown values.

    Returns [string, string, Pango.Script]

  • Advances a Pango.ScriptIter to the next range.

    If iter is already at the end, it is left unchanged and false is returned.

    Returns boolean

    true if iter was successfully advanced