setAllowedApis

open fun setAllowedApis(apis: <Error class: unknown class>)

Sets the allowed APIs to create a context with.

You should check property@Gtk.GLArea:api before drawing with either API.

By default, all APIs are allowed.

Since

4.12

Parameters

apis

the allowed APIs