set_background


Description:

[ 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.

Note:

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.

Parameters:

this

a Window

color

a Color




2022 vala-language.org