Method

WebKitWebViewset_background_color

since: 2.8

Declaration [src]

void
webkit_web_view_set_background_color (
  WebKitWebView* web_view,
  const GdkRGBA* rgba
)

Description [src]

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 based on the system appearance.

Since 2.56, NULL can be passed to reset the background color to the default system appearance color.

Available since: 2.8

Parameters

rgba

Type: GdkRGBA

A GdkRGBA, or NULL to reset to the default system appearance color.

The argument can be NULL.
The data is owned by the caller of the method.