Display.isRgba

Returns whether surfaces on this display are created with an alpha channel.

Even if a true is returned, it is possible that the surface’s alpha channel won’t be honored when displaying the surface on the screen: in particular, for X an appropriate windowing manager and compositing manager must be running to provide appropriate display. Use gdk.display.Display.isComposited to check if that is the case.

On modern displays, this value is always true.

class Display
bool
isRgba
()

Return Value

Type: bool

true if surfaces are created with an alpha channel or false if the display does not support this functionality.