set_markup


Description:

public void set_markup (string markup, int length)

Sets the layout text and attribute list from marked-up text.

See [Pango Markup](pango_markup.html)).

Replaces the current text and attribute list.

This is the same as [method@Pango.Layout.set_markup_with_accel], but the markup text isn't scanned for accelerators.

Parameters:

this

a `PangoLayout`

markup

marked-up text

length

length of marked-up text in bytes, or -1 if markup is `NUL`-terminated