GLWindow.gdkWindowSetGLCapability

Set the OpenGL-capability to the window. This function creates a new GdkGLWindow held by the window. attrib_list is currently unused. This must be set to NULL or empty (first attribute of None).

class GLWindow
static
gdkWindowSetGLCapability

Parameters

window Window

the GdkWindow to be used as the rendering area.

glconfig GLConfig

a GdkGLConfig.

attribList int*

this must be set to NULL or empty (first attribute of None).

Return Value

Type: GLWindow

the GdkGLWindow used by the window if it is successful, NULL otherwise.

Meta