set_use_es


Description:

[ Version ( since = "3.22" ) ]
public void set_use_es (bool use_es)

Sets whether the this should create an OpenGL or an OpenGL ES context.

Note:

Use [method@Gtk.GLArea.set_allowed_apis]

You should check the capabilities of the `GdkGLContext` before drawing with either API.

Parameters:

this

a `GtkGLArea`

use_es

whether to use OpenGL or OpenGL ES