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

#include <gtkmm/cssprovider.h>

Inherits Glib::Error.

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
 

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