paintExpander

fnvoid paintExpander(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.widget.Widget widget, string detail, int x, int y, gtk.types.ExpanderStyle expanderStyle)

Draws an expander as used in #GtkTreeView. x and y specify the center the expander. The size of the expander is determined by the “expander-size” style property of widget. (If widget is not specified or doesn’t have an “expander-size” property, an unspecified default size will be used, since the caller doesn't have sufficient information to position the expander, this is likely not useful.) The expander is expander_size pixels tall in the collapsed position and expander_size pixels wide in the expanded position.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
widgetthe widget
detaila style detail
xthe x position to draw the expander at
ythe y position to draw the expander at
expanderStylethe style to draw the expander in; determines whether the expander is collapsed, expanded, or in an intermediate state.

Deprecated

Use [gtk.global.renderExpander] instead