set_can_focus


Description:

[ Version ( since = "2.18" ) ]
public void set_can_focus (bool can_focus)

Specifies whether this can own the input focus.

See grab_focus for actually setting the input focus on a widget.

Parameters:

this

a Widget

can_focus

whether or not this can own the input focus.