Method

Gtk.GLArea.set_error

Declaration [src]

void
gtk_gl_area_set_error (
  GtkGLArea* area,
  const GError* error
)

Description [src]

Sets an error on the area which will be shown instead of the GL rendering.

This is useful in the GtkGLArea::create-context signal if GL context creation fails.

Parameters

error const GError*
 

a new GError, or NULL to unset the error

 Can be NULL
 Ownership is not transferred to the callee