def METHOD_NAME():
    '''
    Return the Tk widget which has currently the focus.
    '''
    if 'pmg_qt.mimic_tk' in sys.modules:
        return None
    root = get_tk_root()
    focused = root.focus_get()
    if focused is None:
        return root.focus_lastfor()
    return focused