gtkmm  4.22.0
Public Member Functions | List of all members
Gtk::SvgErrorExtra Class Reference

Extra SvgError functions. More...

#include <gtkmm/svg.h>

Inheritance diagram for Gtk::SvgErrorExtra:
Inheritance graph
[legend]

Public Member Functions

 SvgErrorExtra (GError* gobject)
 
Glib::ustring get_element () const
 Returns context information about what XML element the parsing error occurred in. More...
 
Glib::ustring get_attribute () const
 Returns context information about what XML attribute the parsing error occurred in. More...
 
const GtkSvgLocation* get_start () const
 Returns context information about the start position in the document where the parsing error occurred. More...
 
const GtkSvgLocation* get_end () const
 Returns context information about the end position in the document where the parsing error occurred. More...
 
- Public Member Functions inherited from Gtk::SvgError
 SvgError (Code error_code, const Glib::ustring& error_message)
 
 SvgError (GError* gobject)
 
Code code () 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...
 

Detailed Description

Extra SvgError functions.

Gtk::SvgErrorExtra provides information not easily reachable directly from Gtk::SvgError.

Since gtkmm 4.22:

Constructor & Destructor Documentation

Gtk::SvgErrorExtra::SvgErrorExtra ( GError *  gobject)
explicit

Member Function Documentation

Glib::ustring Gtk::SvgErrorExtra::get_attribute ( ) const

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

Since gtkmm 4.22:
Returns
The attribute name.
Glib::ustring Gtk::SvgErrorExtra::get_element ( ) const

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

Since gtkmm 4.22:
Returns
The element name.
const GtkSvgLocation* Gtk::SvgErrorExtra::get_end ( ) const

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

Since gtkmm 4.22:
Returns
The Gtk::SvgLocation.
const GtkSvgLocation* Gtk::SvgErrorExtra::get_start ( ) const

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

Since gtkmm 4.22:
Returns
The Gtk::SvgLocation.