Enumeration

GtkSvgError

unstable since: 4.22

Declaration

error-domain Gtk.SvgError

Description [src]

Error codes in the GTK_SVG_ERROR domain for errors that happen during parsing or rendering of SVG.

Available since: 4.22

Members

GTK_SVG_ERROR_INVALID_ELEMENT

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

  • Value: 0
  • Available since: 4.22
GTK_SVG_ERROR_INVALID_ATTRIBUTE

An XML attribute is invalid (either because it is not part of SVG, or because it is not implemented in GTK, or its value is problematic).

  • Value: 1
  • Available since: 4.22
GTK_SVG_ERROR_MISSING_ATTRIBUTE

A required attribute is missing.

  • Value: 2
  • Available since: 4.22
GTK_SVG_ERROR_INVALID_REFERENCE

A reference does not point to a suitable element.

  • Value: 3
  • Available since: 4.22
GTK_SVG_ERROR_FAILED_UPDATE

An animation could not be updated.

  • Value: 4
  • Available since: 4.22

Type functions

gtk_svg_error_get_attribute

Returns context information about what XML attribute the parsing error occurred in.

unstable since: 4.22

gtk_svg_error_get_element

Returns context information about what XML element the parsing error occurred in.

unstable since: 4.22

gtk_svg_error_get_end

Returns context information about the end position in the document where the parsing error occurred.

unstable since: 4.22

gtk_svg_error_get_start

Returns context information about the start position in the document where the parsing error occurred.

unstable since: 4.22

gtk_svg_error_quark
No description available.