Widget.canFocus

returns true if widget is focusable and visible and enabled

class Widget
protected public @property
bool
canFocus
()

Meta