(self)
return self._nametowidget(name)
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.
Return the widget which has currently the focus in the
        application.
Return the widget which has currently the focus in the application .
def focus_get(self):
        """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."""
        name = self.tk.call('focus')
        if name == 'none' or not name: return None
        return self._nametowidget(name)
def focus_get ( self ) : name = self . tk . call ( 'focus' ) if name == 'none' or not name : return None return self . _nametowidget ( name )