Window.setBackground
void setBackground(gdk.color.Color color)Sets the background color of window.
However, when using GTK+, influence the background of a widget using a style class or CSS — if you’re an application — or with [gtk.style_context.StyleContext.setBackground] — if you're implementing a custom widget.
Parameters
color | a #GdkColor |
Deprecated
Don't use this function