Widget.canFocus

returns true if widget is focusable and visible and enabled

class Widget
@property
bool
canFocus
()

Meta