get_index


Description:

public int get_index ()

Gets the current byte index.

Note that iterating forward by char moves in visual order, not logical order, so indexes may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the null run (see [[email protected]_run] ).

Parameters:

this

a `PangoLayoutIter`

Returns:

current byte index




2022 vala-language.org