renderExpander

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

Renders an expander (as used in #GtkTreeView and #GtkExpander) in the area defined by x, y, width, height. The state [gtk.types.StateFlags.Checked] determines whether the expander is collapsed or expanded.

Typical expander rendering:

![](expanders.png)

Parameters

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