get_layout


Description:

[ Version ( since = "1.20" ) ]
public unowned Layout? get_layout ()

Gets the layout currently being rendered using this.

Calling this function only makes sense from inside a subclass's methods, like in its draw_shape vfunc, for example.

The returned layout should not be modified while still being rendered.

Parameters:

this

a `PangoRenderer`

Returns:

the layout, or null if no layout is being rendered using this at this time.