GLArea.setRequiredVersion

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.

class GLArea
void
setRequiredVersion
(
int major
,
int minor
)

Parameters

major int

the major version

minor int

the minor version

Meta