paintOption

fnvoid paintOption(gtk.style.Style style, cairo.context.Context cr, gtk.types.StateType stateType, gtk.types.ShadowType shadowType, gtk.widget.Widget widget, string detail, int x, int y, int width, int height)

Draws a radio button indicator in the given rectangle on cr with the given parameters.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
shadowTypethe type of shadow to draw
widgetthe widget
detaila style detail
xx origin of the rectangle to draw the option in
yy origin of the rectangle to draw the option in
widththe width of the rectangle to draw the option in
heightthe height of the rectangle to draw the option in

Deprecated

Use [gtk.global.renderOption] instead