|
gtkmm 4.21.3
|
Extra SvgError functions. More...
#include <gtkmm/svg.h>

Public Member Functions | |
| SvgErrorExtra (GError * gobject) | |
| Glib::ustring | get_element () const |
| Returns context information about what XML element the parsing error occurred in. | |
| Glib::ustring | get_attribute () const |
| Returns context information about what XML attribute the parsing error occurred in. | |
| const GtkSvgLocation * | get_start () const |
| Returns context information about the start position in the document where the parsing error occurred. | |
| const GtkSvgLocation * | get_end () const |
| Returns context information about the end position in the document where the parsing error occurred. | |
| Public Member Functions inherited from Gtk::SvgError | |
| SvgError (Code error_code, const Glib::ustring & error_message) | |
| SvgError (GError * gobject) | |
| Code | code () const |
| Public Member Functions inherited from Glib::Error | |
| Error () | |
| Error (GQuark error_domain, int error_code, const Glib::ustring &message) | |
| Error (GError *gobject, bool take_copy=false) | |
| Error (const Error &other) | |
| Error & | operator= (const Error &other) |
| ~Error () noexcept override | |
| operator bool () const | |
| GQuark | domain () const |
| int | code () const |
| const char * | what () const noexcept override |
| bool | matches (GQuark error_domain, int error_code) const |
| GError * | gobj () |
| const GError * | gobj () const |
Additional Inherited Members | |
| Public Types inherited from Gtk::SvgError | |
| enum | Code { INVALID_SYNTAX , INVALID_ELEMENT , INVALID_ATTRIBUTE , MISSING_ATTRIBUTE , INVALID_REFERENCE , FAILED_UPDATE , FAILED_RENDERING } |
| Error codes in the GTK_SVG_ERROR domain for errors that happen during parsing or rendering of SVG. More... | |
| Protected Attributes inherited from Glib::Error | |
| GError * | gobject_ |
Extra SvgError functions.
Gtk::SvgErrorExtra provides information not easily reachable directly from Gtk::SvgError.
|
explicit |
| Glib::ustring Gtk::SvgErrorExtra::get_attribute | ( | ) | const |
Returns context information about what XML attribute the parsing error occurred in.
| Glib::ustring Gtk::SvgErrorExtra::get_element | ( | ) | const |
Returns context information about what XML element the parsing error occurred in.
| const GtkSvgLocation * Gtk::SvgErrorExtra::get_end | ( | ) | const |
Returns context information about the end position in the document where the parsing error occurred.
| const GtkSvgLocation * Gtk::SvgErrorExtra::get_start | ( | ) | const |
Returns context information about the start position in the document where the parsing error occurred.