renderOption

fnvoid renderOption(gtk.style_context.StyleContext context, cairo.context.Context cr, double x, double y, double width, double height)

Renders an option mark (as in a #GtkRadioButton), the [gtk.types.StateFlags.Checked] state will determine whether the option is on or off, and [gtk.types.StateFlags.Inconsistent] whether it should be marked as undefined.

Typical option mark rendering:

![](options.png)

Parameters

contexta #GtkStyleContext
cra #cairo_t
xX origin of the rectangle
yY origin of the rectangle
widthrectangle width
heightrectangle height