Creates a new gdk.glcontext.GLContext for the gdk.surface.Surface.
The context is disconnected from any particular surface or surface. If the creation of the gdk.glcontext.GLContext failed, error will be set. Before using the returned gdk.glcontext.GLContext, you will need to call gdk.glcontext.GLContext.makeCurrent or gdk.glcontext.GLContext.realize.
the newly created gdk.glcontext.GLContext
Creates a new gdk.glcontext.GLContext for the gdk.surface.Surface.
The context is disconnected from any particular surface or surface. If the creation of the gdk.glcontext.GLContext failed, error will be set. Before using the returned gdk.glcontext.GLContext, you will need to call gdk.glcontext.GLContext.makeCurrent or gdk.glcontext.GLContext.realize.