renderOption

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:

void
renderOption

Parameters

context gtk.style_context.StyleContext

a #GtkStyleContext

cr cairo.context.Context

a #cairo_t

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height