gtkmm 3.24.7
Public Types | Public Member Functions | List of all members
Gtk::IconThemeError Class Reference

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

#include <gtkmm/icontheme.h>

Inherits Glib::Error.

Public Types

enum  Code {
  ICON_THEME_NOT_FOUND ,
  ICON_THEME_FAILED
}
 Error codes for GtkIconTheme operations. More...
 

Public Member Functions

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

Detailed Description

Exception class for Gtk::IconTheme errors.

Member Enumeration Documentation

◆ Code

Error codes for GtkIconTheme operations.

Enumerator
ICON_THEME_NOT_FOUND 

The icon specified does not exist in the theme.

ICON_THEME_FAILED 

An unspecified error occurred.

Constructor & Destructor Documentation

◆ IconThemeError() [1/2]

Gtk::IconThemeError::IconThemeError ( Code  error_code,
const Glib::ustring &  error_message 
)

◆ IconThemeError() [2/2]

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

Member Function Documentation

◆ code()

Code Gtk::IconThemeError::code ( ) const