Snapshot.renderBackground

void renderBackground(gtk.style_context.StyleContext context, double x, double y, double width, double height)

Creates a render node for the CSS background according to context, and appends it to the current node of snapshot, without changing the current node.

Parameters

contextthe style context that defines the background
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height