SimpleXML.this

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).

  1. this(GMarkupParseContext* gMarkupParseContext)
  2. this(GMarkupParser* parser, GMarkupParseFlags flags, void* userData, GDestroyNotify userDataDnotify)

Parameters

parser GMarkupParser*

a GMarkupParser

flags GMarkupParseFlags

one or more GMarkupParseFlags

userData void*

user data to pass to GMarkupParser functions

userDataDnotify GDestroyNotify

user data destroy notifier called when the parse context is freed

Throws

ConstructionException GTK+ fails to create the object.

Meta