Window.setBackground

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_set_background() — if you're implementing a custom widget.

See also gdk_window_set_background_pattern().

More...
class Window
void
setBackground

Parameters

color Color

a #GdkColor

Detailed Description

Deprecated: Use gdk_window_set_background_rgba() instead.

Meta