SvgError#
Added in version 4.22.
- class SvgError#
Error codes in the GTK_SVG_ERROR domain for errors
that happen during parsing or rendering of SVG.
Methods#
- class SvgError
- get_attribute() str | None#
Returns context information about what XML attribute the parsing error occurred in.
Added in version 4.22.
- get_element() str | None#
Returns context information about what XML element the parsing error occurred in.
Added in version 4.22.
- get_end() SvgLocation | None#
Returns context information about the end position in the document where the parsing error occurred.
Added in version 4.22.
- get_start() SvgLocation | None#
Returns context information about the start position in the document where the parsing error occurred.
Added in version 4.22.
Fields#
- class SvgError
- FAILED_RENDERING#
The type of the None singleton.
- FAILED_UPDATE#
The type of the None singleton.
- IGNORED_ELEMENT#
The type of the None singleton.
- INVALID_ATTRIBUTE#
The type of the None singleton.
- INVALID_ELEMENT#
The type of the None singleton.
- INVALID_REFERENCE#
The type of the None singleton.
- INVALID_SYNTAX#
The type of the None singleton.
- LIMITS_EXCEEDED#
The type of the None singleton.
- MISSING_ATTRIBUTE#
The type of the None singleton.
- NOT_IMPLEMENTED#
The type of the None singleton.