Static$gtypeStaticFAILED_Rendering is not according to expecations
StaticFAILED_An animation could not be updated
StaticIGNORED_An XML element is ignored, but it should not affect rendering (this error code is used for metadata and exension elements)
StaticINVALID_An attribute is invalid (either because it is not part of SVG, or because it is not implemented in GTK, or its value is problematic)
StaticINVALID_An 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)
StaticINVALID_A reference does not point to a suitable element
StaticINVALID_The XML syntax is broken in some way
StaticLIMITS_An implementation limit has been hit, such as the number of loaded shapes.
StaticMISSING_A required attribute is missing
StaticNOT_The SVG uses features that are not supported by Gtk.Svg. It may be advisable to use a different SVG renderer.
Staticget_Returns context information about what XML attribute the parsing error occurred in.
an error in the Gtk.SvgError domain
Staticget_Returns context information about what XML element the parsing error occurred in.
an error in the Gtk.SvgError domain
Staticget_Returns context information about the end position in the document where the parsing error occurred.
an error in the Gtk.SvgError domain
Staticget_Returns context information about the start position in the document where the parsing error occurred.
an error in the Gtk.SvgError domain
StaticquarkFrees a GLib.Error and associated resources.
Returns true if error matches domain and code, false
otherwise. In particular, when error is null, false will
be returned.
If domain contains a FAILED (or otherwise generic) error code,
you should generally not check for it explicitly, but should
instead treat any not-explicitly-recognized error code as being
equivalent to the FAILED code. This way, if the domain is
extended in the future to provide a more specific error code for
a certain case, your code will still work.
whether error has domain and code
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name will be duplicated. Otherwise does the same as
g_error_domain_register_static().
string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name should not be freed. error_type_private_size must
be greater than 0.
error_type_init receives an initialized GLib.Error and should then initialize
the private data.
error_type_copy is a function that receives both original and a copy
GLib.Error and should copy the fields of the private error data. The standard
GLib.Error fields are already handled.
error_type_clear receives the pointer to the error, and it should free the
fields of the private error data. It should not free the struct itself though.
Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it already takes care of passing valid information to this function.
static string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticnew_
Error codes in the
GTK_SVG_ERRORdomain for errors that happen during parsing or rendering of SVG.