render_focus

function render_focus(context:Gtk.StyleContext, cr:cairo.Context, x:Number, y:Number, width:Number, height:Number):void {
    // Gjs wrapper for gtk_render_focus()
}

Renders a focus indicator on the rectangle determined by x, y, width, height. <example> <title>Typical focus rendering</title> <inlinegraphic fileref="focus.png" format="PNG"/> </example>

Since 3.0

context

a Gtk.StyleContext

cr

a #cairo_t

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height