10.2 glX Widget

If OpenGL is included all widget objects have the following methods in addition to the normal widget methods. These methods are only available after glX was imported at least once somewhere in the program.

ChooseVisual( attrib[])
Returns vi_object. This function corresponds with glXChooseVisual.

CreateContext( vi_object, shareList, direct)
Returns GLXContext. This function corresponds with glXCreateContext.

CreateMDrawingArea( name, argdict)
Returns widget. This function corresponds with GLwCreateDrawingArea.


Subsections