render_check


Description:

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

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

Renders a checkmark (as in a CheckButton).

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:

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