setError

open fun setError(error: <Error class: unknown class>? = null)

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

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

Parameters

error

a new GError, or null to unset the error