Layout.setMarkup

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.

class Layout
void
setMarkup
(
string markup
)

Parameters

markup string

marked-up text