Open GL Context.

Use PythonCallbackObject. Example code here: