gtkmm: Gtk::CssParserWarning Class Reference

#include <gtkmm/cssprovider.h>

Inheritance diagram for Gtk::CssParserWarning:

Public Types

enum  Code {

  DEPRECATED,

  SYNTAX,

  UNIMPLEMENTED

}
 Warnings that can occur while parsing CSS. More...

 

Public Member Functions

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

Member Enumeration Documentation

Warnings that can occur while parsing CSS.

Unlike Gtk::CssParserErrors, warnings do not cause the parser to skip any input, but they indicate issues that should be fixed.

Since gtkmm 3.96:
Enumerator
DEPRECATED 

The given construct is deprecated and will be removed in a future version.

SYNTAX 

A syntax construct was used that should be avoided.

UNIMPLEMENTED 

A feature is not implemented.

Constructor & Destructor Documentation

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

Member Function Documentation

Code Gtk::CssParserWarning::code ( ) const