set_background_pattern


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public void set_background_pattern (Pattern? pattern)

Warning: set_background_pattern is deprecated since 3.22.

Sets the background of this.

Note:

Don't use this function

A background of null means that the window won't have any background. On the X11 backend it's also possible to inherit the background from the parent window using gdk_x11_get_parent_relative_pattern.

The windowing system will normally fill a window with its background when the window is obscured then exposed.

Parameters:

this

a Window

pattern

a pattern to use, or null