Method

GdkGLContextget_api

since: 4.6

Declaration [src]

GdkGLAPI
gdk_gl_context_get_api (
  GdkGLContext* self
)

Description [src]

Gets the API currently in use.

If the renderer has not been realized yet, 0 is returned.

Available since: 4.6

Gets propertyGdk.GLContext:api

Return value

Type: GdkGLAPI

The currently used API.