Widget.setCanFocus
void setCanFocus(bool canFocus)Specifies whether widget can own the input focus. See [gtk.widget.Widget.grabFocus] for actually setting the input focus on a widget.
Parameters
canFocus | whether or not widget can own the input focus. |