GLArea.setError

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

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

class GLArea
void
setError

Parameters

error glib.error.ErrorG

a new glib.error.ErrorG, or null to unset the error