GLPixmap.pixmapSetGLCapability

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

class GLPixmap
static
pixmapSetGLCapability

Parameters

pixmap Pixmap

the GdkPixmap 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: GLPixmap

the GdkGLPixmap used by the pixmap if it is successful, NULL otherwise.

Meta