renderBackground

fnvoid renderBackground(gtk.style_context.StyleContext context, cairo.context.Context cr, double x, double y, double width, double height)

Renders the background of an element.

Typical background rendering, showing the effect of background-image, border-width and border-radius:

![](background.png)

Parameters

contexta #GtkStyleContext
cra #cairo_t
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height