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 [method@Gdk.Display.is_composited] 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.

Meta