render_expander


Description:

[ CCode ( cname = "gtk_render_expander" ) ]
public void render_expander (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_state_flag_checked determines whether the expander is collapsed or expanded.

Typical expander rendering:

![](expanders.png)

Parameters:

cr

a `cairo_t`

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

context

a `GtkStyleContext`




2022 vala-language.org