Layout.setMarkup

void setMarkup(string markup)

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

See Pango Markup).

Replaces the current text and attribute list.

This is the same as [pango.layout.Layout.setMarkupWithAccel], but the markup text isn't scanned for accelerators.

Parameters

markupmarked-up text