Window.setBackgroundPattern
void setBackgroundPattern(cairo.pattern.Pattern pattern = null)Sets the background of window.
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
pattern | a pattern to use, or null |
Deprecated
Don't use this function