Window.setBackground

Sets the background color of @window. (However, when using GTK+, set the background of a widget with gtk_widget_modify_bg() - if you’re an application - or gtk_style_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