markup_parser_finish


Description:


[ Version ( since = "1.31.0" ) ]
public bool markup_parser_finish (MarkupParseContext context, out AttrList attr_list, out string text, out unichar accel_char) throws Error

Finishes parsing markup.

After feeding a Pango markup parser some data with [method@GLib.MarkupParseContext.parse], use this function to get the list of attributes and text out of the markup. This function will not free context, use [method@GLib.MarkupParseContext.free] to do so.

Parameters:

context

A valid parse context that was returned from [func@markup_parser_new]

attr_list

address of return location for a `PangoAttrList`

text

address of return location for text with tags stripped

accel_char

address of return location for accelerator char

Returns:

false if throws is set, otherwise true


Namespace: Pango
Package: pango