render_focus


Description:

[ CCode ( cname = "gtk_render_focus" ) ]
public void render_focus (Context cr, double x, double y, double width, double height)

Renders a focus indicator on the rectangle determined by x, y, width, height.

Typical focus rendering:

![](focus.png)

Parameters:

cr

a `cairo_t`

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

context

a `GtkStyleContext`