WebView.setBackgroundColor

Sets the color that will be used to draw the web_view background.

Sets the color that will be used to draw the web_view background before the actual contents are rendered. Note that if the web page loaded in web_view specifies a background color, it will take precedence over the rgba color. By default the web_view background color is opaque white.

class WebView
void
setBackgroundColor

Parameters

rgba gdk.rgba.RGBA

a #GdkRGBA