Widget.setCanFocus

Specifies whether @widget can own the input focus. See gtk_widget_grab_focus() for actually setting the input focus on a widget.

class Widget
void
setCanFocus
()

Parameters

canFocus bool

whether or not @widget can own the input focus.

Meta

Since

2.18