render_check


Description:

[ CCode ( cname = "gtk_render_check" ) ]
public void render_check (Context cr, double x, double y, double width, double height)

Renders a checkmark (as in a `GtkCheckButton`).

The gtk_state_flag_checked state determines whether the check is on or off, and gtk_state_flag_inconsistent determines whether it should be marked as undefined.

Typical checkmark rendering:

![](checks.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