GLArea.setError

void setError(glib.error.ErrorWrap error = null)

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

This is useful in the gtk.glarea.GLArea.createContext signal if GL context creation fails.

Parameters

errora new glib.error.ErrorWrap, or null to unset the error