GLArea.setHasAlpha

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.

class GLArea
void
setHasAlpha
()

Parameters

hasAlpha bool

TRUE to add an alpha component

Meta

Since

3.16