gtkmm: Gtk::IconThemeError Class Reference

Exception class for Gtk::IconTheme errors. More...

#include <gtkmm/icontheme.h>

Inheritance diagram for Gtk::IconThemeError:

Public Types

enum  Code {



 Error codes for GtkIconTheme operations. More...


Public Member Functions

 IconThemeError (Code error_code, const Glib::ustring& error_message)
 IconThemeError (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)
Erroroperator= (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

- Protected Attributes inherited from Glib::Error
GError * gobject_

Detailed Description

Exception class for Gtk::IconTheme errors.

Member Enumeration Documentation

Error codes for GtkIconTheme operations.


The icon specified does not exist in the theme.


An unspecified error occurred.

Constructor & Destructor Documentation

Gtk::IconThemeError::IconThemeError ( Code  error_code,
const Glib::ustring error_message 
Gtk::IconThemeError::IconThemeError ( GError *  gobject)

Member Function Documentation

Code Gtk::IconThemeError::code ( ) const