Method

GtkGLAreaset_has_alpha

since: 3.16

Declaration [src]

void
gtk_gl_area_set_has_alpha (
  GtkGLArea* area,
  gboolean has_alpha
)

Description [src]

If has_alpha is TRUE the buffer allocated by the widget will have an alpha channel component, and when rendering to the window the result will be composited over whatever is below the widget.

If has_alpha is FALSE there will be no alpha channel, and the buffer will fully replace anything below the widget.

Available since: 3.16

Sets propertyGtk.GLArea:has-alpha

Parameters

has_alpha

Type: gboolean

TRUE to add an alpha component.