GLWindow.setGlCapability

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

class GLWindow
static
setGlCapability

Parameters

window Window

the gdk.Window to be used as the rendering area.

glconfig GLConfig
attribList int*

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

Return: the glgdk.GLWindow used by the window if it is successful, NULL otherwise.