set_error


Description:

public void set_error (Error? error)

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

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

Parameters:

this

a `GtkGLArea`

error

a new `GError`, or null to unset the error




2022 vala-language.org