render_focus


Description:

[ CCode ( cname = "gtk_render_focus" ) ]
[ Version ( since = "3.0" ) ]
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 Context

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

context

a StyleContext




2022 vala-language.org