Widget.setCanFocus

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

class Widget
void
setCanFocus
()

Parameters

canFocus int

whether or not widget can own the input focus.

Meta