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 [gtk.tree_view.TreeView] and [gtk.expander.Expander]) 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 [gtk.style_context.StyleContext]
cra [cairo.context.Context]
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height