getGlContext

Returns the gdk.GLContext with the appropriate GdkGLDrawable for this widget. Unlike the GL context returned by Widget.createGlContext, this context is owned by the widget.

gdk.GLContext is needed for the function gdk_gl_drawable_begin, or for sharing display lists (see Widget.setGlCapability).

getGlContext

Parameters

widget Widget