PgLayout.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 [method@Pango.Layout.set_markup_with_accel], but the markup text isn't scanned for accelerators.

class PgLayout
void
setMarkup
(
string markup
,
int length
)

Parameters

markup string

marked-up text

length int

length of marked-up text in bytes, or -1 if @markup is null-terminated

Meta