gtkmm 4.16.0
Public Types | Public Member Functions | List of all members
Gdk::GLError Class Reference

#include <gdkmm/glcontext.h>

Inheritance diagram for Gdk::GLError:
Inheritance graph
[legend]

Public Types

enum  Code {
  NOT_AVAILABLE ,
  UNSUPPORTED_FORMAT ,
  UNSUPPORTED_PROFILE ,
  COMPILATION_FAILED ,
  LINK_FAILED
}
 Error enumeration for Gdk::GLContext. More...
 

Public Member Functions

 GLError (Code error_code, const Glib::ustring &error_message)
 
 GLError (GError *gobject)
 
Code code () const
 

Detailed Description

Since gtkmm 3.18:

Member Enumeration Documentation

◆ Code

Error enumeration for Gdk::GLContext.

Since gtkmm 3.18:
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.

COMPILATION_FAILED 

The shader compilation failed.

LINK_FAILED 

The shader linking failed.

Constructor & Destructor Documentation

◆ GLError() [1/2]

Gdk::GLError::GLError ( Code  error_code,
const Glib::ustring &  error_message 
)

◆ GLError() [2/2]

Gdk::GLError::GLError ( GError gobject)
explicit

Member Function Documentation

◆ code()

Code Gdk::GLError::code ( ) const