gtkmm: Gdk::GLError Class Reference
#include <gdkmm/glcontext.h>
Inheritance diagram for Gdk::GLError:

Public Types |
|
enum |
Code
{
NOT_AVAILABLE , UNSUPPORTED_FORMAT , UNSUPPORTED_PROFILE } |
Error enumeration for
Gdk::GLContext
.
More...
|
|
Public Member Functions |
|
GLError ( Code error_code, const Glib::ustring & error_message) | |
GLError (GError* gobject) | |
Code | code () const |
![]() |
|
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 () noexceptoverride | |
GQuark | domain () const |
int | code () const |
Glib::ustring | what () const override |
bool | matches (GQuark error_domain, int error_code) const |
GError * | gobj () |
const GError * | gobj () const |
![]() |
|
virtual | ~Exception () noexcept=0 |
Additional Inherited Members |
|
![]() |
|
GError * | gobject_ |
Detailed Description
Member Enumeration Documentation
enum Gdk::GLError::Code |
Error enumeration for Gdk::GLContext .
Enumerator | |
---|---|
NOT_AVAILABLE |
OpenGL support is not available. |
UNSUPPORTED_FORMAT |
The requested visual format is not supported. |
UNSUPPORTED_PROFILE |
The requested profile is not supported. |
Constructor & Destructor Documentation
Gdk::GLError::GLError | ( | Code | error_code , |
const Glib::ustring & | error_message | ||
) |
|
explicit |
Member Function Documentation
Code Gdk::GLError::code | ( | ) | const |