'Return the widget which has currently the focus in the
application.
Use focus_displayof to allow working with several
displays. Return None if application does not have
the focus.'

def focus_get(self):

    name = self.tk.call('focus')
    if ((name == 'none') or (not name)):
        return None
    return self._nametowidget(name)
