Error codes in the GTK_SVG_ERROR domain for errors that happen
during parsing or rendering of SVG.
invalid-syntaxThe XML syntax is broken in some way
invalid-elementAn XML element is invalid (either because it is not part of SVG, or because it is in the wrong place, or because it not implemented in GTK)
invalid-attributeAn attribute is invalid (either because it is not part of SVG, or because it is not implemented in GTK, or its value is problematic)
missing-attributeA required attribute is missing
invalid-referenceA reference does not point to a suitable element
failed-updateAn animation could not be updated
failed-renderingRendering is not according to expecations
ignored-elementAn XML element is ignored, but it should not affect rendering (this error code is used for metadata and exension elements)
limits-exceededAn implementation limit has been hit, such as the number of loaded shapes.
not-implementedThe SVG uses features that are not supported by
<GtkSvg>. It may be advisable to use a different SVG
renderer.
Returns context information about what XML attribute the parsing error occurred in.
Passed: a <GError>.
an error in the <GtkSvgError> domain
Returned: a string, or #f.
the attribute name
Returns context information about what XML element the parsing error occurred in.
Passed: a <GError>.
an error in the <GtkSvgError> domain
Returned: a string, or #f.
the element name
Returned: an unsigned 32-bit integer.