paintFocus
fn
void 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
style | a #GtkStyle |
cr | a #cairo_t |
stateType | a state |
widget | the widget |
detail | a style detail |
x | the x origin of the rectangle around which to draw a focus indicator |
y | the y origin of the rectangle around which to draw a focus indicator |
width | the width of the rectangle around which to draw a focus indicator |
height | the height of the rectangle around which to draw a focus indicator |
Deprecated
Use [gtk.global.renderFocus] instead