[ Version ( deprecated = true , deprecated_since = "3.4" ) ]
public void set_background (Color color)
Warning: set_background is deprecated since 3.4.
Sets the background color of this.
Don't use this function
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.
this |
a Window |
color |
a Color |