Package: gtk

Function gtk-style-context-set-background

Lambda List

gtk-style-context-set-background (context window)

Arguments

context -- a gtk-style-context object
window -- a gdk-window object

Details

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

Warning

The gtk-style-context-set-background function has been deprecated since version 3.18 and should not be used in newly written code. Use the gtk-render-background function instead. Note that clients still using this function are now responsible for calling this function again whenever the style context is invalidated.
 

See also

2021-11-26