Method

GdkWindowset_background_pattern

deprecated: 3.22 

Declaration [src]

void
gdk_window_set_background_pattern (
  GdkWindow* window,
  cairo_pattern_t* pattern
)

Description [src]

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.

Deprecated since: 3.22

Don’t use this function.

Parameters

pattern

Type: cairo_pattern_t

A pattern to use, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.