renderOption

Renders an option mark (as in a radio button), 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
cr cairo.context.Context
x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height