set_required_version


Description:

public void set_required_version (int major, int minor)

Sets the required version of OpenGL to be used when creating the context for the widget.

This function must be called before the area has been realized.

Parameters:

this

a `GtkGLArea`

major

the major version

minor

the minor version




2022 vala-language.org