Window.setBackground

Warning gdk_window_set_background has been deprecated since version 3.4 and should not be used in newly-written code. Use gdk_window_set_background_rgba() instead. 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().

class Window
void
setBackground

Parameters

color Color

a GdkColor

Meta