Gtk.GLArea.set_use_es

### Method

# Gtk GLAreaset_use_es

#### Declaration [src]

    void
    gtk_gl_area_set_use_es (
      GtkGLArea* area,
      gboolean use_es
    )

#### Description [src]

Sets whether the `area` should create an OpenGL or an OpenGL ES context.

You should check the capabilities of the `GdkGLContext` before drawing with either API.

Sets property | `Gtk.GLArea:use-es`

#### Parameters

`use_es`

  Type: `gboolean`

  Whether to use OpenGL or OpenGL ES.