StyleContext.setBackground

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

More...
class StyleContext
void
setBackground

Parameters

window gdk.window.Window

a #GdkWindow

Detailed Description

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.