Method

GtkStyleContextset_background

deprecated: 3.18 since: 3.0

Declaration [src]

void
gtk_style_context_set_background (
  GtkStyleContext* context,
  GdkWindow* window
)

Description [src]

Sets the background of window to the background pattern or color specified in context for its current state.

Available since: 3.0

Deprecated since: 3.18

Use gtk_render_background() instead. Note that clients still using this function are now responsible for calling this function again whenever context is invalidated.

Parameters

window

Type: GdkWindow

A GdkWindow.

The data is owned by the caller of the method.