append_layout


Description:

public void append_layout (Layout layout, RGBA color)

Creates render nodes for rendering layout in the given foregound color and appends them to the current node of this without changing the current node.

The current theme's foreground color for a widget can be obtained with [method@Gtk.Widget.get_color].

Note that if the layout does not produce any visible output, then nodes may not be added to the this.

Parameters:

this

a `GtkSnapshot`

layout

the `PangoLayout` to render

color

the foreground color to render the layout in