Function
Pango.markup_parser_finish
Declaration [src]
gboolean
pango_markup_parser_finish (
GMarkupParseContext* context,
PangoAttrList** attr_list,
char** text,
gunichar* accel_char,
GError** error
)
Description [src]
Finishes parsing markup.
After feeding a Pango markup parser some data with g_markup_parse_context_parse()
,
use this function to get the list of attributes and text out of the
markup. This function will not free context
, use g_markup_parse_context_free()
to do so.
Parameters
context |
GMarkupParseContext* |
A valid parse context that was returned from |
|
The data is owned by the caller of the function | |
attr_list |
PangoAttrList |
address of return location for a |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it | |
text |
char** |
address of return location for text with tags stripped, or |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it | |
The string is a NUL terminated UTF-8 string | |
accel_char |
gunichar* |
address of return location for accelerator char, or |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it |