Widget.isComposited

bool isComposited()

Whether widget can rely on having its alpha channel drawn correctly. On X11 this function returns whether a compositing manager is running for widget’s screen.

Please note that the semantics of this call will change in the future if used on a widget that has a composited window in its hierarchy (as set by gdk.window.Window.setComposited).

Returns

true if the widget can rely on its alpha

channel being drawn correctly.

Deprecated