paintFocus

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

Draws a focus indicator around the given rectangle on cr using the given style.

Parameters

stylea #GtkStyle
cra #cairo_t
stateTypea state
widgetthe widget
detaila style detail
xthe x origin of the rectangle around which to draw a focus indicator
ythe y origin of the rectangle around which to draw a focus indicator
widththe width of the rectangle around which to draw a focus indicator
heightthe height of the rectangle around which to draw a focus indicator

Deprecated

Use [gtk.global.renderFocus] instead