render_expander


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "StyleContext.render_expander" ) ]
public void render_expander (StyleContext context, Context cr, double x, double y, double width, double height)

Warning: render_expander is deprecated since "vala-0.16". Use Gtk.StyleContext.render_expander.

Renders an expander (as used in TreeView and Expander) in the area defined by x, y, width, height.

The state gtk_state_flag_checked determines whether the expander is collapsed or expanded.

Typical expander rendering:

![](expanders.png)

Parameters:

context

a StyleContext

cr

a Context

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height


Namespace: Gtk
Package: gtk+-3.0