Parses marked-up text to create a plain-text string and an attribute list.
See the Pango Markup docs for details about the
supported markup.
If accel_marker is nonzero, the given character will mark the
character following it as an accelerator. For example, accel_marker
might be an ampersand or underscore. All characters marked
as an accelerator will receive a Pango.Underline.LOW attribute,
and the first character so marked will be returned in accel_char.
Two accel_marker characters following each other produce a single
literal accel_marker character.
To parse a stream of pango markup incrementally, use markup_parser_new.
If any error happens, none of the output arguments are touched except
for error.
Parses marked-up text to create a plain-text string and an attribute list.
See the Pango Markup docs for details about the supported markup.
If
accel_markeris nonzero, the given character will mark the character following it as an accelerator. For example,accel_markermight be an ampersand or underscore. All characters marked as an accelerator will receive a Pango.Underline.LOW attribute, and the first character so marked will be returned inaccel_char. Twoaccel_markercharacters following each other produce a single literalaccel_markercharacter.To parse a stream of pango markup incrementally, use markup_parser_new.
If any error happens, none of the output arguments are touched except for
error.