gboolean gtk_widget_is_composited ( GtkWidget* widget )
widget can rely on having its alpha channel
drawn correctly. On X11 this function returns whether a
compositing manager is running for
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()).