render_check
Description:
[ CCode ( cname = "gtk_render_check" ) ]
[ Version ( since = "3.0" ) ]
public void render_check (Context cr, double x, double y, double width, double height)
[ Version ( since = "3.0" ) ]
public void render_check (Context cr, double x, double y, double width, double height)
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:
cr |
a Context |
x |
X origin of the rectangle |
y |
Y origin of the rectangle |
width |
rectangle width |
height |
rectangle height |
context |