Package: gdk

Function gdk-window-set-background

Lambda List

gdk-window-set-background (window color)

Arguments

window -- a gdk-window object
color -- a gdk-color structure

Details

Sets the background color of the window. However, when using GTK, set the background of a widget with the function gtk-widget-modify-bg, if you are implementing an application, or the function gtk-style-context-set-background, if you are implementing a custom widget.

See also the function gdk-window-set-background-pattern.

Warning

The function gdk-window-set-background has been deprecated since version 3.4 and should not be used in newly written code. Use the function gdk-window-set-background-rgba instead.
 

See also

2020-9-24