PgAttribute.markupParserFinish

After feeding a pango markup parser some data with g_markup_parse_context_parse(), use this function to get the list of pango attributes and text out of the markup. This function will not free @context, use g_markup_parse_context_free() to do so.

class PgAttribute
static
bool
markupParserFinish

Parameters

context SimpleXML

A valid parse context that was returned from pango_markup_parser_new()

attrList PgAttributeList

address of return location for a #PangoAttrList, or %NULL

text string

address of return location for text with tags stripped, or %NULL

accelChar dchar

address of return location for accelerator char, or %NULL

Return: %FALSE if @error is set, otherwise %TRUE

Throws

GException on failure.

Meta

Since

1.31.0