glXCreateWindow

create an on-screen rendering area

Signature

glXCreateWindow( Display * ( dpy ) , GLXFBConfig ( config ) , Window ( win ) , const int * ( attrib_list ) )-> GLXWindow
glXCreateWindow( dpy , config , win , attrib_list ) -> <class 'ctypes.c_ulong'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
config
Specifies a GLXFBConfig structure with the desired attributes for the window.
win
Specifies the X window to be used as the rendering area.
attrib_list
Currently unused. This must be set to NULL or be an empty list (i.e., one in which the first element is None ).