Method

GtkWidgetis_composited

deprecated: 3.22 since: 2.10

Declaration [src]

gboolean
gtk_widget_is_composited (
  GtkWidget* widget
)

Description [src]

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_set_composited()).

Available since: 2.10

Deprecated since: 3.22

Use gdk_screen_is_composited() instead.

Return value

Type: gboolean

TRUE if the widget can rely on its alpha channel being drawn correctly.