Gdk.Window.SetBackPixmap Method
Sets the background pixmap of this window. May also be used to set a background of "None" on this window, by setting a background pixmap of null. A background pixmap will be tiled, positioning the first tile at the origin of this window, or if parent_relative is true, the tiling will be done based on the origin of the parent window (useful to align tiles in a parent with tiles in a child).

Syntax

public void SetBackPixmap (Pixmap pixmap, bool parent_relative)

Parameters

pixmap
A Gdk.Pixmap
parent_relative
A bool

Remarks

A background pixmap of null means that the window will have no background. A window with no background will never have its background filled by the windowing system, instead the window will contain whatever pixels were already in the corresponding area of the display. The windowing system will normally fill a window with its background when the window is obscured then exposed, or when you call Window.Clear.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)