get_run


Description:

public unowned LayoutRun? get_run ()

Gets the current run.

When iterating by run, at the end of each line, there's a position with a null run, so this function can return null. The null run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline.

Use the faster [method@Pango.LayoutIter.get_run_readonly] if you do not plan to modify the contents of the run (glyphs, glyph widths, etc.).

Parameters:

this

a `PangoLayoutIter`

Returns:

the current run