PgScriptIter.this

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 Script.iterFree.

  1. this(PangoScriptIter* pangoScriptIter, bool ownedRef)
  2. this(string text, int length)
    class PgScriptIter
    this
    (
    string text
    ,
    int length
    )

Parameters

text string

a UTF-8 string

length int

length of text, or -1 if text is nul-terminated.

Return Value

the new script iterator, initialized to point at the first range in the text, which should be freed with Script.iterFree. If the string is empty, it will point at an empty range.

Throws

ConstructionException GTK+ fails to create the object.

Meta