A parse context is used to parse a stream of bytes that you expect to contain marked-up text.
See g_markup_parse_context_new(), GMarkupParser, and so on for more details.
Sets our main struct and passes it to the parent class.
Creates a new parse context. A parse context is used to parse marked-up documents. You can feed any number of documents into a context, as long as no errors occur; once an error occurs, the parse context can't continue to parse text (you have to free it and create a new parse context).
A destructor is present on this object, but not explicitly documented in the source.
Signals to the GMarkupParseContext that all data has been fed into the parse context with g_markup_parse_context_parse().
Frees a GMarkupParseContext
Retrieves the name of the currently open element.
Retrieves the element stack from the internal state of the parser.
Retrieves the current line number and the number of the character on that line. Intended for use in error messages; there are no strict semantics for what constitutes the "current" line number other than "the best number we could come up with for error messages."
Get the main Gtk struct
the main Gtk struct as a void*
Returns the user_data associated with context.
Feed some data to the GMarkupParseContext
Completes the process of a temporary sub-parser redirection.
Temporarily redirects markup data to a sub-parser.
Increases the reference count of context.
Decreases the reference count of context. When its reference count drops to 0, it is freed.
Escapes text so that the markup parser will parse it verbatim. Less than, greater than, ampersand, etc. are replaced with the corresponding entities. This function would typically be used when writing out a file to be parsed with the markup parser.
Formats the data in args according to format, escaping all string and character arguments in the fashion of g_markup_escape_text(). See g_markup_printf_escaped().
the main Gtk struct