paintFlatBox

fnvoid paintFlatBox(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.types.ShadowType shadowType, gtk.widget.Widget widget, string detail, int x, int y, int width, int height)

Draws a flat box on cr with the given parameters.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
shadowTypethe type of shadow to draw
widgetthe widget
detaila style detail
xx origin of the box
yy origin of the box
widththe width of the box
heightthe height of the box

Deprecated

Use [gtk.global.renderFrame] and [gtk.global.renderBackground] instead