Package: gtk

Accessor gtk:gl-area-use-es

Lambda List

gtk:gl-area-use-es (object)

Syntax

(gtk:gl-area-use-es object) => setting
(setf (gtk:gl-area-use-es object) setting)

Arguments

object -- a gtk:gl-area widget
setting -- a boolean whether the widget should create an OpenGL ES context

Details

Accessor of the use-es slot of the gtk:gl-area class. The gtk:gl-area-use-es function retrieves the property. The (setf gtk:gl-area-use-es) function sets whether the area should create an OpenGL or an OpenGL ES context. You should check the capabilities of the gdk:gl-context instance before drawing with either API.

Warning

This function is deprecated since 4.12. Use the gtk:gl-area-api function.
 

See also

2024-10-26