Note that clients still using this function are now responsible for calling this function again whenever context is invalidated.
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
window | a #GdkWindow |
Deprecated
Use [gtk.global.renderBackground] instead.