|
gtkmm
4.9.1
|
Exception class for Gdk::Builder errors. More...
#include <gtkmm/builder.h>

Public Types | |
| enum | Code { INVALID_TYPE_FUNCTION , UNHANDLED_TAG , MISSING_ATTRIBUTE , INVALID_ATTRIBUTE , INVALID_TAG , MISSING_PROPERTY_VALUE , INVALID_VALUE , VERSION_MISMATCH , DUPLICATE_ID , OBJECT_TYPE_REFUSED , TEMPLATE_MISMATCH , INVALID_PROPERTY , INVALID_SIGNAL , INVALID_ID , INVALID_FUNCTION } |
Error codes that identify various errors that can occur while using Gtk::Builder. More... | |
Public Member Functions | |
| BuilderError (Code error_code, const Glib::ustring & error_message) | |
| BuilderError (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) | |
| Error & | operator= (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_ |
Exception class for Gdk::Builder errors.
Error codes that identify various errors that can occur while using Gtk::Builder.
| Enumerator | |
|---|---|
| INVALID_TYPE_FUNCTION | A type-func attribute didn’t name a function that returns a |
| UNHANDLED_TAG | The input contained a tag that |
| MISSING_ATTRIBUTE | An attribute that is required by |
| INVALID_ATTRIBUTE |
|
| INVALID_TAG |
|
| MISSING_PROPERTY_VALUE | A required property value was missing. |
| INVALID_VALUE |
|
| VERSION_MISMATCH | The input file requires a newer version of GTK. |
| DUPLICATE_ID | An object id occurred twice. |
| OBJECT_TYPE_REFUSED | A specified object type is of the same type or derived from the type of the composite class being extended with builder XML. |
| TEMPLATE_MISMATCH | The wrong type was specified in a composite class’s template XML. |
| INVALID_PROPERTY | The specified property is unknown for the object class. |
| INVALID_SIGNAL | The specified signal is unknown for the object class. |
| INVALID_ID | An object id is unknown. |
| INVALID_FUNCTION | A function could not be found. This often happens when symbols are set to be kept private. Compiling code with -rdynamic or using the |
| Gtk::BuilderError::BuilderError | ( | Code | error_code, |
| const Glib::ustring & | error_message | ||
| ) |
|
explicit |
| Code Gtk::BuilderError::code | ( | ) | const |