'Return the widget which has currently the focus on the
display where this widget is located.
Return None if the application does not have the focus.'

def focus_displayof(self):

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