Window.setBackgroundPattern

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.

More...
class Window
void
setBackgroundPattern

Parameters

pattern cairo.pattern.Pattern

a pattern to use, or null

Detailed Description

Deprecated: Don't use this function