focus method

focus

Gives keyboard focus to this element.

def focus(self):
    ...

See Also