Method

GtkGLAreaget_api

since: 4.12

Declaration [src]

GdkGLAPI
gtk_gl_area_get_api (
  GtkGLArea* area
)

Description [src]

Gets the API that is currently in use.

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

Available since: 4.12

Gets propertyGtk.GLArea:api

Return value

Type: GdkGLAPI

The currently used API.