StyleContext.setBackground

void setBackground(gdk.window.Window window)

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

Parameters

windowa #GdkWindow

Deprecated

Use [gtk.global.renderBackground] instead.

Note that clients still using this function are now responsible for calling this function again whenever context is invalidated.