GLContext.setAllowedApis
void setAllowedApis(gdk.types.GLAPI apis)Sets the allowed APIs. When gdk.glcontext.GLContext.realize is called, only the allowed APIs will be tried. If you set this to 0, realizing will always fail.
If you set it on a realized context, the property will not have any effect. It is only relevant during gdk.glcontext.GLContext.realize.
By default, all APIs are allowed.
Parameters
apis | the allowed APIs |