render_option


Description:

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

Renders an option mark (as in a radio button), the gtk_state_flag_checked state will determine whether the option is on or off, and gtk_state_flag_inconsistent whether it should be marked as undefined.

Typical option mark rendering:

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