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

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

#include <gtkmm/cssprovider.h>

Inherits Glib::Error.

Public Types

enum  Code {
  FAILED ,
  SYNTAX ,
  IMPORT ,
  NAME ,
  DEPRECATED ,
  UNKNOWN_VALUE
}
 Error codes for GTK_CSS_PROVIDER_ERROR. More...
 

Public Member Functions

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

Detailed Description

Exception class for Gtk::CssProvider errors.

Since gtkmm 3.16:

Member Enumeration Documentation

◆ Code

Error codes for GTK_CSS_PROVIDER_ERROR.

Enumerator
FAILED 

Failed.

SYNTAX 

Syntax error.

IMPORT 

Import error.

NAME 

Name error.

DEPRECATED 

Deprecation error.

UNKNOWN_VALUE 

Unknown value.

Constructor & Destructor Documentation

◆ CssProviderError() [1/2]

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

◆ CssProviderError() [2/2]

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

Member Function Documentation

◆ code()

Code Gtk::CssProviderError::code ( ) const