Pango.Renderer.get_layout

### Method

# Pango.Renderer.get_layout

#### Declaration [src]

    PangoLayout*
    pango_renderer_get_layout (
      PangoRenderer* renderer
    )

#### Description [src]

Gets the layout currently being rendered using `renderer`.

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.

#### Return value

Returns: `PangoLayout`
the layout, or `NULL` if no layout is being rendered using `renderer` at this time.
Ownership is not transferred to the caller
Can be `NULL`