Method

GtkGLAreaset_required_version

since: 3.16

Declaration [src]

void
gtk_gl_area_set_required_version (
  GtkGLArea* area,
  gint major,
  gint minor
)

Description [src]

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.

Available since: 3.16

Parameters

major

Type: gint

The major version.

minor

Type: gint

The minor version.