set_use_es


Description:

[ Version ( deprecated = true , deprecated_since = "4.12" ) ]
public void set_use_es (bool use_es)

Warning: set_use_es is deprecated since 4.12.

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