Package: gtk

Accessor gtk:gl-area-allowed-apis

Lambda List

gtk:gl-area-allowed-apis (object)

Syntax

(gtk:gl-area-allowed-apis object) => apis
(setf (gtk:gl-area-allowed-apis object) apis)

Arguments

object -- a gtk:gl-area widget
apis -- a gdk:gl-api value

Details

Accessor of the allowed-apis slot of the gtk:gl-area class. The gtk:gl-area-allowed-apis function gets the allowed APIs. The (setf gtk:gl-area-allowed-apis) function sets the allowed APIs to create a context with. You should check the api property before drawing with either API. By default, all APIs are allowed.

Since 4.12
 

See also

2024-10-26