gtkmm 4.17.0
Public Types | Public Member Functions | List of all members
Gtk::CssParserWarning Class Reference

#include <gtkmm/cssprovider.h>

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

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 charwhat () const noexcept override
 
bool matches (GQuark error_domain, int error_code) const
 
GErrorgobj ()
 
const GErrorgobj () const
 

Additional Inherited Members

- Protected Attributes inherited from Glib::Error
GErrorgobject_
 

Detailed Description

Since gtkmm 3.96:

Member Enumeration Documentation

◆ Code

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

◆ CssParserWarning() [1/2]

Gtk::CssParserWarning::CssParserWarning ( Code  error_code,
const Glib::ustring error_message 
)

◆ CssParserWarning() [2/2]

Gtk::CssParserWarning::CssParserWarning ( GError gobject)
explicit

Member Function Documentation

◆ code()

Code Gtk::CssParserWarning::code ( ) const