GLArea.setAllowedApis

void setAllowedApis(gdk.types.GLAPI apis)

Sets the allowed APIs to create a context with.

You should check [gtk.glarea.GLArea.api] before drawing with either API.

By default, all APIs are allowed.

Parameters

apisthe allowed APIs