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. Since 1.31.0

class PgAttribute
static
int
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. out[allow-none]

text string

address of return location for text with tags stripped, or NULL. out[allow-none]

accelChar gunichar

address of return location for accelerator char, or NULL. out[allow-none]

Return Value

Type: int

FALSE if error is set, otherwise TRUE

Throws

GException on failure.

Meta