Widget.getCanFocus

bool getCanFocus()

Determines whether widget can own the input focus. See [gtk.widget.Widget.setCanFocus].

Returns

true if widget can own the input focus, false otherwise